Running detectnet on AGX Xavier and can’t read video file.
The command is
./detectnet --input_URI=file:///opt/nvidia/deepstream/deepstream-5.0/samples/streams/IMG_5715.MOV --model=/home/xavier/Desktop/jetson-inference/platerecg/models/numplate_resnet_18_fp32.etlt_b1_gpu0_fp16.engine --labels=/home/xavier/Desktop/jetson-inference/platerecg/labels/labels.txt --input-blob=input_1 --output-bbox=output_bbox/BiasAdd --output-cvg=output_cov/Sigmoid --batch-size=1 --threshold=0.5 --overlay='box' --input-width=1920 --input-height=1080 --input-flip=none
Log infos are
xavier@xavier-desktop:~/Desktop/jetson-inference/build/aarch64/bin$ ./detectnet --input_URI=file:///opt/nvidia/deepstream/deepstream-5.0/samples/streams/central3.mp4 --model=/home/xavier/Desktop/jetson-inference/platerecg/models/numplate_resnet_18_fp32.etlt_b1_gpu0_fp16.engine --labels=/home/xavier/Desktop/jetson-inference/platerecg/labels/labels.txt --input-blob=input_1 --output-bbox=output_bbox/BiasAdd --output-cvg=output_cov/Sigmoid --batch-size=1 --threshold=0.5 --overlay='box' --input-width=1920 --input-height=1080 --input-codec=mpeg4
[gstreamer] initialized gstreamer, version 1.14.5.0
[gstreamer] gstCamera -- attempting to create device csi://0
[gstreamer] gstCamera pipeline string:
[gstreamer] nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=30/1, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw ! appsink name=mysink
[gstreamer] gstCamera successfully created device csi://0
[video] created gstCamera from csi://0
------------------------------------------------
gstCamera video options:
------------------------------------------------
-- URI: csi://0
- protocol: csi
- location: 0
-- deviceType: csi
-- ioType: input
-- codec: raw
-- width: 1920
-- height: 1080
-- frameRate: 30.000000
-- bitRate: 0
-- numBuffers: 4
-- zeroCopy: true
-- flipMethod: rotate-180
-- loop: 0
------------------------------------------------
[OpenGL] glDisplay -- X screen 0 resolution: 1920x1080
[OpenGL] glDisplay -- X window resolution: 1920x1080
[OpenGL] glDisplay -- display device initialized (1920x1080)
Even though --input_URI=file:///opt/nvidia/deepstream/deepstream-5.0/samples/streams/IMG_5715.MOV is set, loginfo shows that – URI: csi://0 and it is reading from device.