瑞芯微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,系統固件為Debian12。其配套核心板,40.5×40.5mm極致小尺寸郵票孔,支持LPDDR4或LPDDR5高速內存,率先適配開源鴻蒙OpenHarmony5.0國產操作系統,100%全國產,支持最高-40~85℃工業級環境。

軟硬件系統框架解析
- 硬件連接框架
觸覺智能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輸入)
畫面預覽命令:
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攝像頭(4×720P@30FPS+4×1080P@30FPS輸入)
畫面預覽命令:
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 &
8路AHD攝像頭(8×1080P@30FPS輸入)
畫面預覽命令:
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 &
如需停止預覽,輸入以下命令:
killall gst-launch-1.0
實測數據
觸覺智能RK3576開發板得益于其強悍配置,多路AHD高清攝像頭輸入實現了畫面毫秒級延遲!

1路攝像頭1080P@30FPS輸入畫面延遲,實測為89毫秒,實拍圖:

4路攝像頭1080P@30FPS輸入畫面延遲,實測僅146毫秒,實拍圖:

8路攝像頭1080P@30FPS輸入畫面延遲,實測僅233毫秒,實拍圖:

內存CPU的占用率:
-
攝像頭
+關注
關注
61文章
5091瀏覽量
103108 -
開發板
+關注
關注
26文章
6289瀏覽量
118040 -
核心板
+關注
關注
6文章
1397瀏覽量
31995 -
ahd
+關注
關注
0文章
9瀏覽量
5702 -
rk3576
+關注
關注
1文章
265瀏覽量
1546
發布評論請先 登錄
??瑞芯微RK3576多路AHD攝像頭實測演示,觸覺智能配套AHD硬件方案
評論