64fe9fcad0
created setup, build and install scripts to make it easier and convenient to compile and install the application from source. no plans distribute pre-compiled binaries because it's just so much easier to guarantee the application will actually work in the target machine when compiled by the target machine.
14 lines
278 B
Bash
14 lines
278 B
Bash
#!/bin/sh
|
|
|
|
apt update
|
|
apt install -y cmake g++ wget unzip git ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev
|
|
cd ./src
|
|
git clone https://github.com/opencv/opencv.git
|
|
cd ..
|
|
mkdir -p ./.build-opencv
|
|
cd ./.build-opencv
|
|
cmake ../src/opencv
|
|
make -j4
|
|
make install
|
|
|