Ask Your Question

Revision history [back]

How to set Aruco DetectorParameters (markerBorderBits)

Hi Folks,

I'm trying to detect some custom markers with a custom dictionary I wrote. That works fine with markers with a border width of 1 pixel.

I call the "aruco_test"-programm per command line:

aruco_test live -d /usr/share/aruco/custom.dict

Unfortunately, I have to detect my custom markers with a border width of 2 pixels and I don't know where to make this setting. I found this DetectorParameters attributes, gut have no idea how to use them: https://docs.opencv.org/3.2.0/d1/dcd/structcv_1_1aruco_1_1DetectorParameters.html#details

OS is an up-to-date Linux Manjaro, openCV installed via official repository, Aruco module installed via AUR.

Thank you for any hints!

With best regards

Andreas