Setup of OpenCV 4.5 with Docker on the Raspberry PI

Опубликовано: 03 Октябрь 2024
на канале: CODE MENTAL
4,081
26

I compile OpenCV 4.5 with Docker on the Raspberry PI. Watch this video so you don't repeat my mistakes.

SUPPORT THE CHANNEL or get mentoring :

  / codemental  

FOLLOW ME

Instagram:   / codemental  
Spltech Blog: https://spltech.co.uk/blog/

RESOURCES

Github Repository: https://github.com/armindocachada/ras...

Article from @AdrianRosebrock that saved my. day:
https://www.pyimagesearch.com/2018/09...

Timestamps:

0:00 Choosing version of OpenCV(4.5.0) to install
0:45 Creating Dockerfile to install OpenCV on the Raspberry PI
2:43 First attempt at building docker image with OpenCV
4:13 Mounting the Raspberry PI dependencies in the Docker container
6:29 Fixing error in cmake command
7:50 Adding missing parameters to OpenCV build(e.g. OPENCV_ENABLE_NONFREE)
8:48 Discussing the strict requirements of the ffmpeg license(LGPL v2.1+)
10:00 Adding more missing parameters to the OpenCV build
11:10 Adding OPENCV_VERSION variable to the Dockerfile
12:30 Running make -j4
13:08 Running make install
14:26 Looking for the OpenCV python library to link with Python
16:35 Adding missing python3-dev library