Page MenuHomeSolus

Update opencv to 4.5.2

Authored by YakoYakoYokuYoku on Mar 19 2021, 1:24 PM.



Link to Changelog here.

Package updates:

  • Add the the OpenCV Contrib extra modules (that includes the Face Recognition module).
  • Enable Vulkan backend for DNN.
  • Enable libgphoto2.
  • Add OpenBLAS for BLAS/LAPACK backend.
  • Support for Protobuf.
  • Change Jasper to OpenJPEG.

Depends on D10550.

Signed-off-by: Martin Reboredo <>

Test Plan

Run a Python object detection script, a face detection script and updated PyTorch against it.

Diff Detail

R2235 opencv
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

YakoYakoYokuYoku requested review of this revision.Mar 19 2021, 1:24 PM
algent added a subscriber: algent.EditedMar 19 2021, 2:55 PM

If we don't need python2 stuff we can disable it with -DBUILD_opencv_python2=OFF

These are the changes:

YakoYakoYokuYoku edited the summary of this revision. (Show Details)
YakoYakoYokuYoku edited the test plan for this revision. (Show Details)

Enable HDF5.

Disable python2.7 as @algent said.

Disambiguate tarballs using that GitHub secret URL scheme.

YakoYakoYokuYoku retitled this revision from Update opencv to 4.5.1 to Update opencv to 4.5.2.
YakoYakoYokuYoku edited the summary of this revision. (Show Details)

Update to 4.5.2.

JoshStrobl accepted this revision.Apr 25 2021, 3:33 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Apr 25 2021, 3:33 PM

Missing Qt5 rundep.

This revision was automatically updated to reflect the committed changes.