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

Remove explicit OpenCV dependency #280

Closed RealOrangeOne closed 2 years ago

RealOrangeOne commented 3 years ago

Obviously, this still uses OpenCV, and that's not going anywhere.

However, removing the python dependency on opencv-contrib-python-headless allows the package to be used with a system version of OpenCV, which likely has better compiler optimisations for the hardware.

It would also mean viewer.py could be removed, and replaced with the native OpenCV implementation, which would be nice.

I think we should move the python OpenCV bindings to extras, such that zoloto[opencv] andzoloto[opencv-headless]` work.

For ease of use, we'd likely need to revert (and modify the implementation of) 940d26a10ed8f9743cc10c64774c8ab8e43c4c34 to defend certain implementations.