TensorFlow-Object-Detection-on-the-Raspberry-Pi icon indicating copy to clipboard operation
TensorFlow-Object-Detection-on-the-Raspberry-Pi copied to clipboard

Trying to install OpenCV, but sudo apt-get update doesn't help.

Open gabriel-bronfman opened this issue 4 years ago • 2 comments
trafficstars

Hi,

Really want this tutorial to work. I am unable to install OpenCV. When running sudo apt-get install qt4-dev-tools libatlas-base-dev and sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev, I get an error where I am unable to fetch some archives. It tells me to do the sudo apt-get update, but it doesn't help.

What do I do?

gabriel-bronfman avatar Nov 20 '21 21:11 gabriel-bronfman

If your Raspberry Pi runs Debian 11 (bullseye), you might need to add the old Raspbian repository in /etc/apt/sources.list:

deb http://archive.raspbian.org/raspbian stretch main contrib non-free

Then do a sudo apt-get update afterwards before installing the packages again.

starkfire avatar Apr 07 '23 16:04 starkfire

try do this command "pip install mediapipe" - it works for me.

drelvenkee avatar Nov 04 '23 02:11 drelvenkee