rk3568安装opencv-python
时间: 2023-11-11 20:06:22 浏览: 244
RK3588 RK3568 RK3566 Linux QT Opencv NPU YoloV5 摄像头实时检测
4星 · 用户满意度95%
要在rk3568上安装opencv-python,可以按照以下步骤进行:
1. 安装依赖项:
```
sudo apt-get update
sudo apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
```
2. 下载opencv源代码:
```
git clone https://github.com/opencv/opencv.git
cd opencv
git checkout 4.5.3
```
3. 编译并安装opencv:
```
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j4
sudo make install
```
4. 安装python包:
```
pip install opencv-python
```
阅读全文