-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[opencv] update to 4.9 #38928
[opencv] update to 4.9 #38928
Conversation
…nto dev/cenit/opencv49
We are experimenting with a new internal review process. We were using This PR lgtm, but I'd prefer that @Neumann-A's review comments be addressed. I'm placing the PR in draft for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need a response to Neumann-A's review
I tried to answer all points and I applied a modification for what concerns the python3[extensions] clause. |
assuming the approval as a generic go for all open points, i resolved all of them and marked pr as ready |
@cenit I'd like to express my gratitude for you for putting in all the work on this PR and sticking with it for all the needed changes and fixes. I was watching it regularly and seeing you going through so many reference updates, issues with dependencies and extremely long CI runs and I just wanted to say thank you. You did a great job for all of us! |
@cenit thank you very much! |
I'm happy to see opencv 4.9 merged. However:
|
openvino is a dependency of opencv, so if opencv can be a dependency of openvino (i don't know it very well) that might create a circular dependency that vcpkg has many times failed to serve properly (it would require building base opencv, then openvino, then again opencv with openvino). Creating openvino forcing it without opencv might be the best solution if we cannot solve the circular problem above. opencv4 has no tesseract feature. Which fail do you notice? I tried many combinations and all were working. I found that with opencv 4.10 I had to change something in opencv4[core,contrib], which has a dependency on tesseract. Is it what you meant? I didn't find this problem with OpenCV 4.9 when i tested it in the same test matrix i run... which patches have no relevant changes here? i will try my best to help you find any regression that might have been lost, even before the #41985 gets interesting |
It is a requirement. Implemented in #42017.
Yes. #42015.
To clarify: no relevant changes wrt to the patch for 4.8. Such as ports/opencv4/0006-fix-uwp.patch. |
FTR I really don't expect every port and feature configuration to work immediately after a major update, given the complexity fo the ports. |
About #42015, strange that i didn't notice it in the test matrix and it appeared for the 4.10... sorry for that. It's not a config set we use very much, thanks for the PR About the relevant change... this is the relevant one: the new line to which apply the fix. Some configs are very strict about patch application, if the line does not match exactly they fail, and I prefer to be compliant with those requirements. |
FTR the openvino failure is quite interesting:
The only scenario where this should happen is with |
i was constantly getting this regression with openvino on android in this pr if you remember. I wrote also about it along the thread. Then it disappeared |
Hm, I find the old posts now, but I have no memories. That's remarkable, given https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9709. But that was triggered from changes in CURL. So with the next CMake version in vcpkg, this particular error will no longer occur... |
OpenCV is used only in testing / sampler by OpenVINO, so it's not a produce level dependency. |
Fixes #41418
Fixes #41250
Fixes #41094
Fixes #41038
Fixes #40680
Fixes #40568
Fixes #40393
Fixes #40406
Fixes #39884
Fixes #39835
Fixes #39651
Fixes #39454
Fixes #39224
Fixes #38321
Fixes #36771
Fixes #36093
Fixes #36009
Fixes #35937
Fixes #34559
Fixes #34279
Fixes #33742
Fixes #32228
Fixes #17850
Fixes #13120
Fixes #4937
Depending on #39703 (need to remove ffmpeg from ci.baseline here after that PR acceptance)./vcpkg x-add-version --all
and committing the result.