Dewarper application with two camera sources

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Xavier
• DeepStream Version
6.0
• JetPack Version (valid for Jetson only)
4.6
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
10.2
I have two cameras. One is 360 camera and another one is 180 fisheye camera.
I need to create a config file for both cameras.
The command to run the application is

./deepstream-dewarper-app rtsp://admin:xxxx@xxx.xxx.xx.x:554/Streaming/Channels/1/ 1 rtsp://admin:xxxx@xxx.xxx.xx.x:554/Streaming/Channels/1/ 2

The configuration file has surface0-3 for 360 camera with id 1 and surface 4 for 180 camera with id 2. Surface4 has Perspective projection.
Now has some issues.
(1)How can I make config file for both cameras?
(2)How to display dewrap images in tiler with 2 rows, 3 cols format.
Now is all images from camera1 are in row 0, col0 and image form camera2 is row0, col1.

My configuration file is

[property]
#dewarp-dump-frames=10

# aisle-calibration-file property is getting used in case of deepstream-360d-app,
# if set below properties under group [surfaceX] will be ignored
#aisle-calibration-file=csv_files/nvaisle_2M.csv
# spot-calibration-file property is getting used in case of deepstream-360d-app,
# if set below properties under group [surfaceX] will be ignored
#spot-calibration-file=csv_files/nvspot_2M.csv

#########################################
# Note - Max 4 surfaces are supported
#########################################

[surface0]
# 1=PushBroom, 2=VertRadCyl
projection-type=1
surface-index=0
#dewarped surface parameters
width=1920
height=1500
top-angle=0
bottom-angle=-35
pitch=90
yaw=0
roll=0
focal-length=437

[surface1]
# 1=PushBroom, 2=VertRadCyl
projection-type=1
surface-index=1
#dewarped surface parameters
width=1920
height=1500
top-angle=0
bottom-angle=-35
pitch=-90
yaw=0
roll=180
focal-length=437

[surface2]
# 1=PushBroom, 2=VertRadCyl
projection-type=2
surface-index=0
#dewarped surface parameters
width=1902
height=1500
top-angle=90
bottom-angle=0
pitch=20
yaw=0
roll=278
focal-length=437

[surface3]
# 1=PushBroom, 2=VertRadCyl
projection-type=2
surface-index=1
#dewarped surface parameters
width=1902
height=1500
top-angle=90
bottom-angle=0
pitch=0
yaw=0
roll=98
focal-length=437


[surface4]
# 1=PushBroom, 2=VertRadCyl, 3=PerspectivePerspective
projection-type=3
width=3680
height=2428
focal-length=1721.592
#src-fov=180
#top-angle=30
#bottom-angle=-30
distortion=-0.09787;0.00574;-0.00013;0;0
src-x0=1861.88
src-y0=1216.04
# 0=cudaAddressModeClamp, 1=cudaAddressModeBorder
#cuda-address-mode=0

please refer to deepstream sample deepstream-dewarper-app, and here are some references: Gst-nvdewarper — DeepStream 6.1 Release documentation

There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.