Error with installing OpenCV on Raspberry Pi

5 views (last 30 days)
Peng
Peng on 7 Jan 2025
Commented: Yi Huang on 7 Mar 2025
Hi!
I am setting up my Raspberry Pi (model 4B) for deep learning deployment. I am following the set up steps of the Support Package for Raspberry Pi. The Pi has been flashed with the image "mathworks_raspbian_DL_R22.2.0.img".
When I tried to install the OpenCV library by executing "./installOpenCVLib", I encountered some errors, as shown in the attached screenshot. Apparently the file "opencv_raspberrypi_10.zip" could not be downloaded, although the 3 packages seems to be succesfully installed. Indeed, when I tried to connect to the link to the Mathworks site on my computer, the link was not accessible.
Can you please suggest any alternative ways to install opencv?
Thank you for your help!

Answers (1)

Gayathri
Gayathri on 8 Jan 2025
Hi @Peng,
OpenCV integrates with MATLAB and Simulink for collaborative development, simulation, testing, and implementation of image processing and computer vision based systems. Through interfaces, MATLAB and Simulink support integration with OpenCV.
Please go through the below links to get an idea about how to use OpenCV within MATLAB.
Hope you find this information helpful!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!