ARKit does not currently support such a thing. You can really capture a plane detected as an image, and if you are able to match this with the main ML in real time, I’m sure many people will be interested!
You must:
- get the three-dimensional position of the corners of the plane
- find your 2D position in the frame using
sceneView.projectPoint - extract frame from
currentFrame.capturedImage - make an affine transformation on the image that you want to leave with your plane, redraw it on a rectangle
- do some ML / image processing to find a match
Keep in mind that finding an ARKit rectangle is often not well aligned and can only have part of the full plane.
, , , ARKit, , - , , Apple , .