Is VisionKit / Data Scanner available in AR?
Using data scanner via VisionKit is possible using ARKit. ARKit provides the captured image on the ARFrame
. One can inject the ARFrame
's captured image into data scanner and obtain information about text.
However, the result will be two-dimensional. If the use-case is to bring the detected text into the AR world in three dimensions one needs to estimate a transform for the 2D text. ARKit does not support this natively but does support custom anchoring.