Rotation Vector CV Crosscheck

Rotation Vector CV Crosscheck

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:
      • Install from Google Play; search for OpenCV Manager in Google Play if this link is outdated.
      • Install from OpenCV SDK from OpenCV.org. 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 installing an application for the command to load APKs onto the Android device from computer.
    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.
      Rotation Vector CV Crosscheck_第1张图片

      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.
      Rotation Vector CV Crosscheck_第2张图片

      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.
      Rotation Vector CV Crosscheck_第3张图片

      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.
      Rotation Vector CV Crosscheck_第4张图片

      Figure 5. Finishing the test.

    8. Click next to proceed to the pass/fail screen and review the result.
      Rotation Vector CV Crosscheck_第5张图片

      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.

你可能感兴趣的:(sensor)