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

Fail when constructing a `Camera` with an invalid source #289

Open RealOrangeOne opened 2 years ago

RealOrangeOne commented 2 years ago

When constructing any cameras, if the argument is known to be invalid, we should fail immediately, rather than waiting until the user tries to process the image.