Skip to content

(SArucoTracker): doesn't display marker if image components < 4

What does this MR do?

Test the number of components of the input image before doing OpenCV conversion.

With this modification we can now handle both 3 and 4 components images.

How to test it?

Test with and without the modification in ExVideoTracking for example with opencv Grabber.

You can also test the TutoSimpleAR to confirm.

Data

Download a sample or AR data with an Aruco Marker here if needed.

Additional tests to run

(If you need some specific test e.g Windows compilation...)

  • windows
  • linux

Associated Issues/Merge Requests

Closes #453 (closed)

Edited by Bénédicte MALGARINI

Merge request reports