3 steps to setup a best cost performance deep learning powered raspberry pi camera with openncc

本文介绍了利用Intel NCS2和Raspberry PI摄像头模块构建边缘计算系统时遇到的问题,如NCS2不易于产品整合,而Raspberry PI的摄像头选择有限。OpenNCC作为一种解决方案,提供了高集成度和低功耗的AI推理与成像系统,通过USB接口轻松与Raspberry PI连接。配置过程中,需要安装必要的库和软件,并部署模型以进行推理。
摘要由CSDN通过智能技术生成

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值