This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-TDA4VM: Increase the Range Resolution In TDA4VM

Part Number: SK-TDA4VM


Hi Expert,

I am working on the edge-ai-gst demo application provided in the PSDK. while using IMX219 camera as input source for the demo application (object detection) with 1920x1080 30fps, the demo is working fine and able to view the camera image in the full HD monitor.

I am Not able to view the camera capture image with Camera's Highest resolution of 8MPix 15fps mode which supports in my driver.

I have shared the configuration used for changing 4k capture below,

title: "Object Detection"
log_level: 2
inputs:
input0:
source: /dev/video-rpi-cam0
format: rggb
width: 3280
height: 2464
framerate: 15

models:
model0:
model_path: /opt/model_zoo/TVM-OD-5120-ssdLite-mobDet-DSP-coco-320x320
viz_threshold: 0.6
model1:
model_path: /opt/model_zoo/TFL-OD-2020-ssdLite-mobDet-DSP-coco-320x320
viz_threshold: 0.6
model2:
model_path: /opt/model_zoo/ONR-OD-8200-yolox-nano-lite-mmdet-coco-416x416
viz_threshold: 0.6
model3:
model_path: /opt/model_zoo/ONR-OD-8420-yolox-s-lite-mmdet-widerface-640x640
viz_threshold: 0.6
outputs:
output0:
sink: kmssink
width: 1920
height: 1080
overlay-perf-type: graph

flows:
flow0: [input0,model2,output0,[0,0,1920,1080]]

or 

Is there any way to increase the range resolution in IMX219-H136 Camera. As of now able to detect the larger object like (car and truck) with 40 meters of range detection and small object like (person and bicycle) with 15 meters of range detection. Is there any way to increase the range detction for smaller object to 40 meters?

Kindly help to set 4K resolution in SK-TDA4VM 

or 

please help me to increase the range of the imx219 camera to 40 meters 

  • Hello Chaithra,

    To change the resolution of a sensor, you must define it in the GStreamer pipeline or, in this case, the .yaml config file. You must also define the camera resolution in the following script: /opt/edgeai-gst-apps/scripts/setup_cameras.sh

    For IMX219, 4K (3280x2464) resolution, make the following change to setup_imx219():

    #IMX219_CAM_FMT='[fmt:SRGGB10_1X10/1640x1232]'
     IMX219_CAM_FMT='[fmt:SRGGB8_1X8/3280x2464]'

    Run the script after making this change and run the app again.

    Thank you,

    Fabiana Jaimes