Update setup_opencv.sh

libdc1394-22-dev has been orphaned and removed from debian. You can reference this. https://bugs.debian.org/963924
This commit is contained in:
Abdulrahman Khengari 2023-05-29 07:53:39 +02:00 committed by GitHub
parent 759e9fd56e
commit 2258ee9397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ if [ -z "$1" ]
echo "Installing OpenCV from source" echo "Installing OpenCV from source"
if [[ -x "$(command -v apt)" ]]; then if [[ -x "$(command -v apt)" ]]; then
sudo apt update && sudo apt install build-essential git sudo apt update && sudo apt install build-essential git
sudo apt install cmake ffmpeg libavformat-dev libdc1394-22-dev libgtk2.0-dev \ sudo apt install cmake ffmpeg libavformat-dev libdc1394-dev libgtk2.0-dev \
libjpeg-dev libpng-dev libswscale-dev libtbb2 libtbb-dev \ libjpeg-dev libpng-dev libswscale-dev libtbb2 libtbb-dev \
libtiff-dev libtiff-dev
elif [[ -x "$(command -v dnf)" ]]; then elif [[ -x "$(command -v dnf)" ]]; then