• Jon Zhao

3步设置一个最高性价比的深度学习树莓派摄像头

#树莓派#树莓派摄像头#最高性价比#深度学习#快速开发

#深度学习摄像头#AI摄像头


Some people use Intel ncs2 and raspberry PI camera module to build their own edge computing system, but such a combination is difficult to deploy effectively in the final product stage.

1. Raspberry PI can select a few fixed camera modules. It can not effectively meet the different requirements of various resolutions, field of view angle, low illumination, night vision and high frame

2. The form of Intel NCS2 is not conducive to product integration, and the mechanical design will be very complex

Openncc is a form of combining Intel NCS2 and camera module. It completes AI inference while imaging. The system has high integration and low comprehensive power consumption. It is easy to integrate an edge AI camera system with raspberry PI through USB interface.


Connecting openncc and raspberry pi

  • Power raspberry PI and install the OS

  • Connect raspberry PI 4 Model B and openncc with USB. USB3.0 is recommended.



Configuring the raspberry PI

The following commands are operated on the board of Raspberry PI. You need to connect raspberry with a monitor, mouse and keyboard.

  • Install libusb,opencv and ffmpeg on Raspberry Pi

$ sudo apt-get install libopencv-dev -y

$ sudo apt-get install libusb-dev -y

$sudo apt-get install libusb-1.0.0-dev -y

$ sudo apt-get install ffmpeg -y

  • If you want to use python

$ sudo apt-get install python3-opencv -y

  • Clone OpenNCC repo

$ git clone https://github.com/EyecloudAi/openncc.git

  • Enter your openncc sdk installed path,then run the script

$ cd opennncc/Platform/Raspberry

$ ./pi.sh

Deploy the model and extract inference results

You could deploy the model via OpenNCC View, a QT based tool. And also could deploy a model using OpenCV. Either way, used the same Openncc API interface.

Enter 'your openncc installed path'/Platform/Raspberry/Example/How_to/Load_a_model,and follow the Readme.md under the directory of the demo to build and run it. Now we're done deploying a model.

> You could also refer to How to deploy an Intel Openvino zoo model on OpenNCC

12 次查看0 則留言