Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) : Jetson Nano • DeepStream Version: 6.0 • JetPack Version (valid for Jetson only): 4.6 • TensorRT Version: 8.2 • NVIDIA GPU Driver Version (valid for GPU only): • Issue Type( questions, new requirements, bugs): question • How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
Hi,
I’m trying deepstream application with video file as input source. I want to reconstruct the pipeline which takes CSI input camera(Raspberry pi v2 camera module i’m using) as input. I couldn’t find any reference in deepstream sample python app github repo
I have modified my code according to usb cam sample, i’m getting below error
Error:
Traceback (most recent call last):
File "demo_app_csi_live.py", line 285, in <module>
sys.exit(main(sys.argv))
File "demo_app_csi_live.py", line 207, in main
caps_nvvidsrc.set_property('caps', Gst.Caps.from_string("video/x-raw(memory:NVMM)"))
TypeError: object of type `GstVideoConvert' does not have property `caps'
Code: demo_app_csi_live.py (10.3 KB)
I’m using tao trained encrypted model, exported with fp16 precision
Camera input check: COMMAND: v4l2-ctl --list-devices
Output:
I can able to do detection with USB camera with reference of usb-cam input code.
But you said the pipeline is same for both USB & CSI camera module(I understand both are v4l2 source only).
I tried fro CSI cam input but still getting the same above mentioned error.
SAMPLE:
0:00:05.525435017 8851 0xfc276f0 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2004> [UID = 1]: Use deserialized engine model: /fp16/yolov3_resnet18_epoch_010.etlt_b1_gpu0_fp16.engine
0:00:05.875603469 8851 0xfc276f0 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:fp16/nvinfer_config.txt sucessfully
Warning: converting ROIs to RGBA for VIC mode
Error: gst-stream-error-quark: Internal data stream error. (1): gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:csi-cam-source:
streaming stopped, reason not-negotiated (-4)
Hi, @soundarrajan .
Could the camera work well now?
About the log print format, you can open a new topic about it. And attach the picture of the log format you wanted, the env you are using now. Thanks