deepstream 雜記

1、deepstream: 建pipeline-->source--> h264parser,decoder(hardware) --> 
streammux -->¥¥¥¥ pgie(nvinfer) --> nvvidconv(nv12 to RGBA) --> 
nvosd(draw) ¥¥¥¥--> transform -->  sink(render)

python--->讀取攝像頭--解碼--推理--顯示,



deepstream 更快,多路顯示,                    最後接qt5
python寫的程序  市面上模型一般都是python寫的,好弄。pyqt5

2、ONNX---算法和模型在不同框架之間遷移
1、RTSP---實時流傳輸協議,是TCP/IP協議體系中的一個應用層協議,該協議定義了一對多應用程序如何通過IP網絡傳送多媒體數據
2、H.264 數字視頻壓縮格式
3、deepstream的核心插件--Gstreamer+cuda
4、muxer是指合併文件,即將視頻文件、音頻文件和字幕文件合併爲某一個視頻格式

1、多路攝像頭

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=3
uri=rtsp://admin:[email protected]:333

[source1]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=3
uri=rtsp://admin:[email protected]:222
...

2、替換模型

[primary-gie]
enable=1
model-engine-file=yolov3_tiny.engine
labelfile-path=labels_head.txt

config-file=config_yoloV3_head.txt
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章