#1013903 Fails to build with new opencv 4.6.0

Package:
src:sight
Source:
sight
Submitter:
Jochen Sprickerhof
Date:
2022-07-02 10:45:03 UTC
Severity:
serious
Tags:
#1013903#5
Date:
2022-06-27 05:43:59 UTC
From:
To:
Dear Maintainer,

I'm currently preparing for the transition of opencv version 4.6.0. The
new version is available in experimental.

Unfortunately sight does not build with the new library. Build log
attached. The problem is that the API of detectMarkers changed to no
longer call undistortPoints here:

https://github.com/opencv/opencv_contrib/pull/3186

I guess you can adopt by doing the undistortion before calling
detectMarkers, if needed.

Once the transition becomes live, the severity of this bug will become RC.
Note that the new opencv is needed for the ffmpeg 5.0 transition already
happening now: #1004718. So would be great if you could provide a fix.

Cheers Jochen