https://github.com/akira4o4/opencv-builder
支持Linux、MacOS、Jetson的OpenCV构建脚本
https://github.com/akira4o4/opencv-builder
linux opencv shell
Last synced: 11 months ago
JSON representation
支持Linux、MacOS、Jetson的OpenCV构建脚本
- Host: GitHub
- URL: https://github.com/akira4o4/opencv-builder
- Owner: akira4O4
- License: gpl-3.0
- Created: 2022-03-23T16:47:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T06:58:12.000Z (almost 2 years ago)
- Last Synced: 2025-04-13T21:45:15.740Z (about 1 year ago)
- Topics: linux, opencv, shell
- Language: Shell
- Homepage:
- Size: 89.8 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
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:
```bash
opencv_<4.x>/
├── opencv
└── opencv_contrib
```
### Step.1:
Download opencv dependency libs
```bash
git clone https://github.com/akira4O4/opencv-builder
cd opencv-build
sudo ./download_dependency.sh
```
### Step.2:
Write your parameters
```bash
version = <4.x>
root =
install_prefix =
python_interpreter = (maybe you don`t need that)
num_of_cpu =
```
```bash
sudo ./build.sh #auto cmake、make and install
```