Rotation Vector CV Crosscheck
This page provides the steps to properly test the compatibility of your implementation. This test should be run when the device declares the TYPE_ROTATION_VECTOR composite sensor feature.
-
- Install OpenCV Manager on the Android device being tested. You may choose one the following options:
- Install from ; search for OpenCV Manager in Google Play if this link is outdated.
- Install from OpenCV SDK from . Please choose OpenCV for Android with version 3.0.0. You will find the APK from the
apk
folder inside the downloaded archive. Please consult for the command to load APKs onto the Android device from computer.
- Print out the linked , disabling any scaling options when printing. The pattern should fit US Letter paper in landscape or anything bigger.
Note: The inline picture above is low resolution and just for illustration. Please do not directly print it as your pattern.
- Place the pattern on a horizontal surface.
- Start the Rotation Vector CV Crosscheck in the CTS Verifier app. Follow the guide to turn on airplane mode, turn off auto rotate, and adjust adaptive brightness and location if these changes have not been made.
Figure 2. Initiating the test.
- When the video preview appears, place the phone three feet (or one meter) over the pattern so the main camera is facing the pattern with yellow marker on the screen and yellow marker on the pattern aligned at the same corner.
Figure 3. Placing the test pattern.
- While keeping the pattern entirely in the camera view, rotate the Android device under test (DUT) around the pattern in three different directions, one by one (1, 2 and then 3 illustrated in picture below) as prompted by the rotation range indicator. Keep movement smooth and steady for the best result.
Figure 4. Manipulating the device under test.
- After the capture, the camera preview will disappear and the analysis process will start. Wait patiently for analysis to finish; it usually takes one to five minutes depending on the phone performance. The phone will sound and vibrate at analysis completion. A numerical result will be presented on screen if the analysis is successful.
Figure 5. Finishing the test.
- Click next to proceed to the pass/fail screen and review the result.
Figure 6. Passing the test.
- Follow these tips for best results:
- Since this is a manual test with complexity, you may want to try it a few times for the best results.
- Accelerometer, gyroscope, and magnetometer should be calibrated before testing for good results.
- See this for additional details.
- Install OpenCV Manager on the Android device being tested. You may choose one the following options: