Original address: opencv for iOS Study Notes (10)-mark detection Summary
If you keep following our tutorial, you can run the program as follows:
Even if we do not use a three-dimensional rendering engine for visualization, we have obtained all the necessary data. Let's sum up what we get:
1. One frame from the bgra format of the camera
2. Correctly used as the pivot projection matrix for Ar Scene Rendering
3. Detected flag posture list
You can easily apply the data to your ar application.
As you can see, the pipelines and pivot points of the gradient fill are accurately placed on the mark. This is the key to augmented reality applications-seamless integration of real images and virtual objects!
Summary
So far, we have learned how to create an augmented reality application running on the iPhone/iPad, and how to use opencv in xcode. Opencv enables your applications to perform complex image processing on mobile devices in real time.