-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Since QuPath v0.6.0-rc4 that changed the OpenCV dependency from 4.9.0-1.5.10 to 4.10.0-1.5.11, the auto-alignment functions of the align extension don't work anymore on MacOS (but not Linux, and I didn't try Windows) because opencv_video cannot be loaded. This happens with every version of the align extension compatible with QuPath 0.5 or 0.6.
The issue is described on this GitHub issue: in short, in OpenCV 4.10.0 , opencv_video has by default a dependency on a third-party closed-source binary (libOrbbecSDK.1.9.dylib) that is used for some cameras. QuPath can't find this dependency, so an error is thrown.
This issue will be fixed in version 4.11.0 of OpenCV (see this PR), but it wasn't released yet. In the meantime, a dialog appears when the error occurs (see the TODO comment of the AlignWindow class). It should be removed as soon as the update to 4.11.0 is done.