測試環境為 ORIN公版
這網址 介紹 Camera Software Development Solution
https://docs.nvidia.com/jetson/archives/r35.1/DeveloperGuide/text/SD/CameraDevelopment/CameraSoftwareDevelopmentSolution.html
輸入是 Bayer 才能使用 nvarguscamerasrc .. 可以使用內部ISP
Applications Using GStreamer with the nvarguscamerasrc Plugin
JetsonTX2/NVIDIA Jetson ISP Control
https://developer.ridgerun.com/wiki/index.php?title=JetsonTX2/NVIDIA_Jetson_ISP_Control#Shade_mode
輸入是 YUV 則使用 v4l2src , 不會經過NV內部ISP
不過NV有參數 nvvidconv 可以帶入做些影像處理 , 詳細內容可以
gst-inspect-1.0 nvvidconv 去查
如: nvvidconv flip-method=4
flip-method : video flip methods
flags: readable, writable, controllable
Enum "GstNvVideoFlipMethod" Default: 0, "none"
(0): none - Identity (no rotation)
(1): counterclockwise - Rotate counter-clockwise 90 degrees
(2): rotate-180 - Rotate 180 degrees
(3): clockwise - Rotate clockwise 90 degrees
(4): horizontal-flip - Flip horizontally
(5): upper-right-diagonal - Flip across upper right/lower left diagonal
(6): vertical-flip - Flip vertically
(7): upper-left-diagonal - Flip across upper left/lower right diagonal
https://stackoverflow.com/questions/75487447/use-nvvidconv-to-flip-frame-in-2-direction-at-the-same-time-with-python-opencv-o
若沒有實際影像輸入 可以用 videotestsrc 做測試
gst-launch-1.0 videotestsrc ! videobalance hue=1.0 saturation=0.0 contrast=1.5 brightness=-0.3 ! videoconvert ! ximagesink
gst-launch-1.0 videotestsrc ! videoflip method=clockwise ! videoconvert ! ximagesink
留言列表