evision
evision copied to clipboard
Build with OpenCV 5.x
Probably an upstream fix is needed as the Python script cannot correctly parse some C++ files in the OpenCV's 5.x branch.
Tested on 2c2d7774.
@cocoa-xu do you plan to release a version of Evision with OpenCV 4.7 support? I'm interested in that version since it supports FFMPEG 5.x which OpenCV 4.6 does not (fatal build errors).
Hi @kipcole9, my plan is to wait for this https://github.com/opencv/opencv/pull/23112 to be merged; otherwise, either
- the DNN module on AVX-only machines will crash the BEAM.
- users with an AVX-only CPU will have to explicitly disable Winograd when using DNN modules.
Another thing to note is that I didn't have any luck with FFMPEG 5.x yet...
Understood, and definitely not a high priority for me either now that I have a working ffmpeg 4.x config running.
Hi @kipcole9, I tested building evision with FFmpeg 5.x (5.1.2 to be specific) on macOS and Linux, and both worked fine. d71e2b0f. I'll do a pre-release of v0.1.26-rc2 today, which supports both FFmpeg 4.x and 5.x.
However, there is an issue, #163 (although not confirmed yet as I cannot reproduce it either locally or in GitHub workflow), related to building evision with ffmpeg 5.x on macOS. The mystery in it is that something is trying to link with /usr/local/Cellar/gcc/12.2.0/lib/gcc/12/libquadmath.0.dylib.