How to Install OpenCV on a Raspberry Pi

How to Install OpenCV on a Raspberry Pi

Sam Westby Tech

2 года назад

107,609 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Pradeep Varma
Pradeep Varma - 02.11.2023 19:47

what is the meaning of PEP 517

Ответить
VioletGiraffe
VioletGiraffe - 27.10.2023 14:49

Stupid Python again? The title is misleading. I wish someone would show how to install the actual OpenCV library, the C++ one.

Ответить
Ed Van Liew
Ed Van Liew - 19.10.2023 21:57

Hi Sam, Great video, very easy to follow and the installation was “successful” at the conclusion of the second hour. Upon ‘import cv2’, however, I’m getting a message saying the package requires ‘numpy’ and goes on to say it could be a set up issue. I tried to install ‘numpy’ per the error message and I get the message “numpy requirements already satisfied”. What am I doing wrong? Thanks, Ed

Ответить
Shane Francis Javier
Shane Francis Javier - 14.10.2023 18:50

I've run the pip install opencv-contrib-python and after 2 hours or so, the line at the end of the ... in building wheel for opencv-contrib-python (pep 517) stopped turning

Ответить
Ajeet Bhadoriya
Ajeet Bhadoriya - 14.10.2023 07:28

Please provide me the installation of webcam not picam.

Ответить
O bey
O bey - 18.09.2023 11:51

I want to code in C++. Does it work with this installation?

Ответить
Rolonoa D Zoro
Rolonoa D Zoro - 17.09.2023 17:07

Dose it not work on 32bit os?

Ответить
Patrick Bateman
Patrick Bateman - 15.09.2023 15:26

I'm trying the pip install opencv-contrib-python and it keeps saying "collecting opencv-contrib-python killed" then jt just stops

Ответить
K2
K2 - 11.09.2023 20:10

This is the best I have seen.

Ответить
Jean-Pierre Wolf
Jean-Pierre Wolf - 23.08.2023 15:54

Hello, that's a great tutorial. Is it mandatory to use a virtual environment ?

Ответить
Aditya Kora
Aditya Kora - 07.07.2023 10:23

if i run this command virtualenv env i am getting virtualenv: command not found can someone help me with this problem

Ответить
June
June - 05.07.2023 08:35

i spent an entire day staring at command prompt trying to get this working tysm

Ответить
Hoàng Nguyễn
Hoàng Nguyễn - 02.06.2023 20:50

HELP ME !!!!!!
sudo apt install y build-essential cmake pkg-config libjpeg-dev libtiff5-dev libpng-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore dev libx264-dev libfontconfig1-dev libcairo2-dev libgdk-pixbuf2.0-dev libpango1.0-dev libgtk2.0-dev libgtk-3-dev libatlas-base-dev gfortran libhdf5-dev libhdf5-serial-dev libhdf5-103 libqt5gui5 libqt5webkit5 libqt5test5 python3-pyqt5 python3-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libhdf5-dev' instead of 'libhdf5-serial-dev'
E: Unable to locate package libxvidcore
E: Unable to locate package dev

Ответить
Eslam Hamdy
Eslam Hamdy - 07.05.2023 23:53

downloading opencv litreally took 1min not 2hours, does that makes any problem?

Ответить
ungetoastetetoastbrote
ungetoastetetoastbrote - 25.04.2023 15:01

If you are stuck on "building wheel". Try to use the 64-bit OS instead of the 32-bit Version (the recommended one)
I tried to get it working for around one week before i tried this. After i changed the OS Version to 64-bit it worked on the first try.

Ответить
yashashvi jadaun
yashashvi jadaun - 19.04.2023 15:16

you said it will take 2 hrs mine took 10 minutes

Ответить
Machiro FunZ
Machiro FunZ - 10.04.2023 12:10

you save my life again and so many time

Ответить
Unknown User
Unknown User - 05.04.2023 20:48

I have installed open cv but when I try on VScode it cannot find cv2. How to solve it

Ответить
דניאל רפאל
דניאל רפאל - 04.04.2023 17:22

Hi, I installed opencv according to your guide.
I don't understand how I can use this and integrate it into the script.

Ответить