当前位置:网站首页>How to use the oak camera on raspberry pie?
How to use the oak camera on raspberry pie?
2022-06-29 18:27:00 【Oak China_ official】
edit :OAK China
First episode :oakchina.cn
Like it , Please do more ️
▌ Preface
Hello, Hello everyone , Here is OAK China , I'm your assistant .
There was a zero based user who wanted to use raspberry pie OAK The camera , Ask me how to get started . Today we will share this content , The content comes from the official website Use the tutorial .
▌ Hardware connection
Whether you use raspberry pie 3, Or raspberry pie 4, We recommend that you will OAK Camera connected to USB3.0 On the mouth of .
▌ Enable USB equipment
because OAK yes USB equipment , So in order to use udev Communicate with the tool on its system , You need to add udev Rules to make devices accessible .
The following command will add a new... To your system udev The rules :
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
sudo udevadm control --reload-rules && sudo udevadm trigger
▌ install depthai
There are two installation methods , Choose one of them .( We recommend 1)
Foreign users have made two video tutorials :
- 【Augmented Startups】 How to use it on raspberry pie OAK The camera ?
- 【That Project】 OAK-D-Lite In raspberry pie Zero 2 W Using the tutorial on
You can also choose one of them , Heel Dress depthai, All very simple. .
1. Download Image installation
download OAK Raspberry pie mirror image :
| Baidu SkyDrive | password :surj |
|---|---|
| sourceforge | Address |
(PS: If Baidu network disk downloads slowly , Recommend from sourceforge download .)
We have prepared an installation OAK The image of the raspberry pie . After burning, insert raspberry pie and start it .
Download the official raspberry pie burning tool 
Open software , Choose our oak Raspberry pie image and memory card you want to burn into , You can start burning .

After successful startup , Open the command line and execute the following command to run oak:
cd depthai
python3 depthai_demo.py
2. git Pulling installation
depthai
git clone https://gitee.com/oakchina/depthai.git
depthai-python
git clone https://gitee.com/oakchina/depthai-python.git
depthai-experiments
git clone https://gitee.com/oakchina/depthai-experiments.git
Installation dependency :
python3 -m pip install -r depthai/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
Execute the following command :
python3 depthai/depthai_demo.py
▌ Examples of use
Now you can view depthai-examples Example in , Pick the examples you're interested in and run through them .
▌ Common mistakes
On raspberry pie , function sudo upgrade after , In the import cv2 When it's possible realloc(): invalid pointern Aborted error . We have the same problem , And found a solution :
- By running
sudo apt install -y --allow-downgrades libc6=2.28-10+rpi1Command to make libc6 Downgrade . - By running
sudo curl -fL http://docs.luxonis.com/_static/install_dependencies.sh | bashCommand reinstall depthai rely on .
▌ Reference material
https://docs.oakchina.cn/en/latest/
https://www.oakchina.cn/selection-guide/
OAK China
| OpenCV AI Kit Official agents and technical service providers in China
| track AI New developments in technology and products
stamp 「+ Focus on 」 Get the latest information
边栏推荐
- jdbc_相关代码
- Xiaomai technology x hologres: high availability of real-time data warehouse construction of ten billion level advertising
- 报错[warning] Neural network inference was performed on socket ‘RGB’, depth frame is aligned to socket
- Codeworks 5 questions per day (1700 for each) - the next day
- Us judge ruled that the former security director of Uber accused of covering up hacking must face fraud charges
- kubekey2.2.1 kubernetes1.23.7离线包制作+harbor部暑并上传镜像
- Shell basic syntax -- process control
- VMware installation esxi
- /usr/bin/ld: warning: **libmysqlclient. so. 20**, needed by //usr/
- Anaconda安装并配置jupyter notebook远程
猜你喜欢

行程卡“摘星”热搜第一!刺激旅游产品搜索量齐上涨

garbage collector

Proxmox VE Install 7.2

Codeworks 5 questions per day (1700 for each) - the next day

Markdown knowledge comes gently

Software testing - you may not understand the basic theoretical knowledge

Adobe Premiere foundation - opacity (mixed mode) (XII)
MySql存储过程循环的使用分析详解

JDBC knowledge

Adobe Premiere Basics - common video effects (corner positioning, mosaic, blur, sharpen, handwriting tools, effect control hierarchy) (16)
随机推荐
Spingmvc requests and responses
3H proficient in opencv (VI) - image stacking
MySql存储过程循环的使用分析详解
软件测试——基础理论知识你都不一定看得懂
Adobe Premiere foundation - sound adjustment (volume correction, noise reduction, telephone tone, pitch shifter, parameter equalizer) (XVIII)
牛客小Bai月赛52 D 环上食虫(尺取+st表)
[target tracking] |stark configuration win OTB
2022.6.29-----leetcode.535
SD6.23集训总结
【TcaplusDB知识库】TcaplusDB系统用户组介绍
面试题 10.10. 数字流的秩
Adobe Premiere基础-不透明度(蒙版)(十一)
Weibo comments on high-performance and high availability architecture design (module 5 of architecture practice camp)
数据分析基础--预测模型
Programmer Resource Recommendation Guide
Workflow module jar package startup error: liquibase – waiting for changelog lock
Adobe Premiere Basics - common video effects (cropping, black and white, clip speed, mirroring, lens halo) (XV)
JWT登录验证
Request header field xxxx is not allowed by Access-Control-Allow-Headers in preflight response问题
Adobe Premiere基础-常用的视频特效(裁剪,黑白,剪辑速度,镜像,镜头光晕)(十五)