Skip to content

opencv_video loading error #15

@Rylern

Description

@Rylern

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions