RealOrangeOne / zoloto

A fiducial marker system powered by OpenCV - Supports ArUco and April
https://zoloto.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
13 stars 7 forks source link

Limit marker types #284

Closed RealOrangeOne closed 2 years ago

RealOrangeOne commented 2 years ago

The aruco types had a suffix based on how many markers they would capture. Whilst OpenCV has these, we really don't need to expose them. Simply exposing the max allowed covers the bases, and will reduce confusion.

This also adds some properties onto the marker type to get its dictionary size, number of pixels, max id etc.

Tests have been improved slightly. Rather than randomly using a max id, we use the smallest max_id that a marker allows, to fully test as much as possible.