page.title=Rotation Vector CV Crosscheck @jd:body
Test pattern thumbnail

Figure 1. Thumbnail of test pattern. Download the full-resolution image linked above.

This page provides the steps to properly test the compatibility of your rotation vector sensor implementation. This test should be run when the device declares the TYPE_ROTATION_VECTOR composite sensor feature.

  1. Install OpenCV Manager on the Android device being tested. You may choose one the following options:
  2. Print out the linked test pattern, 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.

  3. Place the pattern on a horizontal surface.
  4. 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.
    Test initiation

    Figure 2. Initiating the test.

  5. 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.
    Test pattern placement

    Figure 3. Placing the test pattern.

  6. 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.
    Device movement

    Figure 4. Manipulating the device under test.

  7. 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.
    Test completion

    Figure 5. Finishing the test.

  8. Click next to proceed to the pass/fail screen and review the result.
    Test success

    Figure 6. Passing the test.

  9. Follow these tips for best results:
    1. Since this is a manual test with complexity, you may want to try it a few times for the best results.
    2. Accelerometer, gyroscope, and magnetometer should be calibrated before testing for good results.
    3. See this video tutorial for additional details.