Skip to content

akira4O4/opencv-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV Builder

Intro

Here's an OpenCV automated build script that includes dependency download and code compilation/install features. You only need to fill in a few parameters to complete the automation process.


Usage

Step.0:

Download opencv and contrib source code

mkdir opencv_<4.x>
cd opencv_<4.x>
git clone https://github.com/opencv/opencv.git
git clone https://github.com/opencv/opencv_contrib.git

Tree:

opencv_<4.x>/
├── opencv
└── opencv_contrib

Step.1:

Download opencv dependency libs

git clone https://github.com/akira4O4/opencv-builder
cd opencv-build
sudo ./download_dependency.sh

Step.2:

Write your parameters

version             =   <4.x>
root                =   <your/path/opencv_4.x>
install_prefix      =   </opt/opencv_4.x/build>
python_interpreter  =   <python_interpreter_path>(maybe you don`t need that)
num_of_cpu          =   <cpu_thread_numbers>
sudo ./build.sh #auto cmake、make and install

About

支持Linux、MacOS、Jetson的OpenCV构建脚本

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages