-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·24 lines (17 loc) · 900 Bytes
/
setup.sh
File metadata and controls
executable file
·24 lines (17 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
if [ -f /etc/friendlyelec-release ]; then
echo "OpenCV is not supported on this platform"
exit 0
fi
# Build tools:
apt-get install build-essential cmake make gcc g++ ccache yasm unzip wget
# Media I/O:
apt-get install zlib1g-dev libjpeg-dev libwebp-dev libpng-dev libtiff5-dev libjasper-dev libopenexr-dev libgdal-dev libgphoto2-dev
# Video I/O:
apt-get install libdc1394-22-dev libavcodec-dev libavformat-dev libavresample-dev libswscale-dev libtheora-dev libvorbis-dev libxvidcore-dev libx264-dev libopencore-amrnb-dev libopencore-amrwb-dev libv4l-dev
# Parallelism and linear algebra libraries:
apt-get install libtbb-dev libeigen3-dev liblapacke-dev libatlas-base-dev
# OCR and fonts support:
apt-get install tesseract-ocr tesseract-ocr-pol libtesseract-dev libharfbuzz-dev libfreetype6-dev
# Python interface:
apt-get install python-dev python-numpy python3-dev python3-numpy