SpexAI / calibpy

0 stars 0 forks source link

opencv 4.8 regression #2

Open rurban opened 7 months ago

rurban commented 7 months ago

https://github.com/artificialpixels/calibpy/issues/3 interpolateCornersCharuco does not detect the markers anymore. investigate in C++, adding the testcases from here to opencv_contrib.

Something in opencv_contrib git log -p 4.9.0 -- modules/aruco/src/charuco.cpp broke it. my prime suspect is https://github.com/opencv/opencv_contrib/commit/1f713fb417f621064742da753bb21f16d8fb4800

cv2.aruco.detectMarkers() works fine. 4.7.0 also works fine, confirmed as working with the very same test.

docker run -it -v.:/opt/build/calibpy hdgigante/python-opencv:4.7.0-ubuntu bash --login -i
apt install libgl1
cd calibpy
pip install -r requirements.txt --break-system-packages.
PYTHONPATH=. python3 tests/test_workflows.yml
rurban commented 7 months ago

In fact all the opencv_contrib aruco testcases do not work anymore. Fix them and add ours to get a better coverage: