首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >​​瑞芯微RK3576多路AHD摄像头实测演示,触觉智能配套AHD硬件方案

​​瑞芯微RK3576多路AHD摄像头实测演示,触觉智能配套AHD硬件方案

原创
作者头像
Industio_触觉智能
修改2025-09-18 17:37:57
修改2025-09-18 17:37:57
2700
代码可运行
举报
文章被收录于专栏:Linux嵌入式Linux嵌入式
运行总次数:0
代码可运行

瑞芯微RK3576芯片平台实现多路AHD高清摄像头输入演示,基于触觉智能RK3576开发板Purple Pi OH2演示。参数资料可以在我的社区主页查看。

AHD简介

  • AHD简介

AHD全称为Analog High Definition,是一种基于模拟传输的高清视频技术。其核心优势在于通过同轴电缆实现500米无压缩高清信号传输,支持1080P分辨率,并采用亮色分离、模拟滤波及3D降噪技术提升图像质量。

  • 应用场景

触觉智能RK3576核心板作为一款高性能AIoT模组,凭借其8核CPU+16M ISP+6Tops算力NPU的强大性能,在与AHD高清摄像头组合,可应用于以下领域:机器人(如智能割草机)、车载NVR(行车记录/监控系统)、新零售智能终端(无人售货柜、智能零售亭、广告机)、电梯楼宇对讲与门禁系统、农机平板等。

演示设备为触觉智能RK3576开发板Purple Pi OH2

软硬件系统框架解析

  • 硬件连接框架

触觉智能RK3576系列产品(核心板/开发板/行业主板)采用的AHD摄像头连接方案为分层结构设计,整个硬件连接框架分为摄像头层、转换层、处理层和显示层4层连接:

(1)摄像头层由多路AHD摄像头组成,这些摄像头布置在不同位置,从多个角度采集视频数据。

(2)转换层由AHD转接板实现,负责将模拟信号转换为数字信号。

(3)处理层以触觉智能RK3576系列产品(核心板/开发板/行业主板)为核心,负责对视频流进行编解码、分析和合成。

(4)显示层则通过多种显示接口实现视频输出,如HDMI、DP或MIPI-DSI接口。

图片
图片
  • 软件架构

以Linux系统为例,利用GStreamer框架实现视频采集、处理和推送。软件架构主要包括设备驱动层、中间件层和应用层。设备驱动层负责管理硬件设备,如AHD转接板、显示接口等;中间件层提供视频处理、编码解码、AI分析等功能;应用层则实现具体的业务逻辑,如视频监控、行为分析、人脸识别等。

图片
图片

对于AI视觉应用,软件架构还可以利用RK3576强大的6Tops算力NPU为基础,集成AI推理框架,如RKNN(Rockchip Neural Network SDK)。RKNN是瑞芯微推出的神经网络推理框架,支持多种深度学习框架的模型转换和优化并高效运行。通过RKNN,开发者可以实现人脸识别、车辆检测、行为分析等AI功能,并将这些功能集成到GStreamer管道中,实现对视频流的实时分析。

图片
图片

测试方法&实测演示

  • 4路AHD摄像头(4×1080P@30FPS输入)

画面预览命令:

代码语言:javascript
代码运行次数:0
运行
复制
gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<960,540,960,540>" sync=false &gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<0,0,960,540>" sync=false &sleep 2gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<960,0,960,540>" sync=false &sleep 2gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<0,540,960,540>" sync=false &sleep 2
  • 8路AHD摄像头(4×720P@30FPS+4×1080P@30FPS输入)

画面预览命令:

代码语言:javascript
代码运行次数:0
运行
复制
gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<960,540,960,540>" sync=false &
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<0,0,960,540>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<960,0,960,540>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<0,540,960,540>" sync=false &
sleep 2
  • 8路AHD摄像头(8×1080P@30FPS输入)

画面预览命令:

代码语言:javascript
代码运行次数:0
运行
复制
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<0,0,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<480,0,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<960,0,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<1440,0,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video11 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<0,400,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video12 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<480,400,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video13 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<960,400,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video14 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<1440,400,480,360>" sync=false &

如需停止预览,输入以下命令:

代码语言:javascript
代码运行次数:0
运行
复制
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<0,0,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<480,0,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<960,0,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<1440,0,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video11 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<0,400,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video12 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<480,400,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video13 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<960,400,480,360>" sync=false &
sleep 2
gst-launch-1.0 v4l2src device=/dev/video14 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! xvimagesink render-rectangle="<1440,400,480,360>" sync=false &
  • 实测数据

触觉智能RK3576开发板得益于其强悍配置,多路AHD高清摄像头输入实现了画面毫秒级延迟

图片
图片

1路摄像头1080P@30FPS输入画面延迟,实测为89毫秒,实拍图:

图片
图片

4路摄像头1080P@30FPS输入画面延迟,实测仅146毫秒,实拍图:

图片
图片

8路摄像头1080P@30FPS输入画面延迟,实测仅233毫秒,实拍图:

图片
图片

内存CPU的占用率:

图片
图片

如需了解更多,可以关注深圳触觉智能腾讯开发者社区或公众号

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档