Error (unsupported camera resolution)

Hi,

I deployed yolo2 detector to jetson nano and when I run the elf file from terminal I got the following error

(Unsupported camera resolution)

i am using raspberry camera v2.1 . I tested the camera by this command (ls/dev/video0) and i got (dev/video0) in yellow which means camera detected

Kindly looking for support of this issue

Best,

Hi,

Is the issue of topic 1071982 fixed?
https://devtalk.nvidia.com/default/topic/1071982

Have you executed the v4l2-ctl command?
Could you share the output log with us?

Thanks.

Hi

Thanks for your reply

yes the camera that i am installing now is raspi v2.1 and i tried testing it and it is working with this command

$ gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink

when i use the command $ v4l2-ctl --all i got driver info and other information such as :-

jetsonnano3@jetsonnano3-desktop:~$ v4l2-ctl --all
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, imx219 6-0010
Bus info : platform:54080000.vi:0
Driver version: 4.9.140
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 0: no power)
Format Video Capture:
Width/Height : 3264/2464
Pixel Format : ‘RG10’
Field : None
Bytes per Line : 6528
Size Image : 16084992
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Full Range)
Flags :

Camera Controls

                 group_hold 0x009a2003 (bool)   : default=0 value=0 flags=execute-on-write
                sensor_mode 0x009a2008 (int64)  : min=0 max=0 step=0 default=0 value=0 flags=slider
                       gain 0x009a2009 (int64)  : min=0 max=0 step=0 default=0 value=16 flags=slider
                   exposure 0x009a200a (int64)  : min=0 max=0 step=0 default=0 value=13 flags=slider
                 frame_rate 0x009a200b (int64)  : min=0 max=0 step=0 default=0 value=2000000 flags=slider
                bypass_mode 0x009a2064 (intmenu): min=0 max=1 default=0 value=0
            override_enable 0x009a2065 (intmenu): min=0 max=1 default=0 value=0
               height_align 0x009a2066 (int)    : min=1 max=16 step=1 default=1 value=1
                 size_align 0x009a2067 (intmenu): min=0 max=2 default=0 value=0
           write_isp_format 0x009a2068 (bool)   : default=0 value=0
   sensor_signal_properties 0x009a2069 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
    sensor_image_properties 0x009a206a (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
  sensor_control_properties 0x009a206b (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
          sensor_dv_timings 0x009a206c (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
           low_latency_mode 0x009a206d (bool)   : default=0 value=0
               sensor_modes 0x009a2082 (int)    : min=0 max=30 step=1 default=30 value=5 flags=read-only

and i am still getting error when i run elf file in terminal with this error

(Unsupported camera resolution)

Thanks for the log.

Let me check this internally and update more information with you later.

Hi,

Raspberry pi is an CSI camera so you will need to change the input component into nvarguscamerasrc.

Are you using DeepstreamSDK?
If yes, you can update the source component for CSI camera with following.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%2520Development%2520Guide%2Fdeepstream_app_config.3.2.html%23wwpID0E0QB0HA

[source0]
type=5
...

Thanks.

Dear sir,

Thanks for your reply

Kindly if i can get step by step for doing this process since I am new in nvidia and using jetson nano

Best,

Hi,

Do you use Deepstream?
If yes, you can try this sample directly:

$ cd /opt/nvidia/deepstream/deepstream-4.0/samples/configs/deepstream-app
$ deepstream-app -c source1_csi_dec_infer_resnet_int8.txt

Thanks.