Can I apply openCV filters on ARkit camera?

Basically I want to do corner detection in Arkit using opencv. I did find a way to do it in webcam but how can I get Arkit camera buffer ? can I access Arcamera Image buffer ? Any help will be appreciated.

Thanks