In deepstream-dewarper-test, in config_dewarper.txt, set only [surface0] section, remove [surface1/2/3] groups. Set [surface0] parameters as per the need. Also disable aisle-calibration-file=csv_files/nvaisle_2M.csv and spot-calibration-file=csv_files/nvspot_2M.csv from config file as these are for 4 surfaces
In addition, please try to use the latest DS5.1 version if possible.
@bcao Can you provide some more in-depth explanation of the parameters? I was able to dewarp the image with trial-and-error but I can’t fix the orientation. Now I would like to rotate it to get panaromic image.
Yes. I also checked the dewarp-test example pdf but it had no information about top-angle, bottom-angle, pitch, yaw, roll. After playing around with this parameters, I am still not sure what exactly these parameters indicate and how to set so that my resulting image is oriented horizontally.
I had issues too with the examples. It’s a little lacking in detail to understand the different ways dewarping can be use and applied. Would love to see more!
Hi @bcao ! I wonder if it is possible to do it using pad probe. I tried it with no success. My probe function and its resulting image is appended below. I would expect 1000x2000 → 500x2000 crop, rotate and scale to 1200x300 image output but I still get 1000x2000.
It seems the updated library is only supported for x86 for now. When it supports Jetson devices, it would definitely help me a lot. Thank you for the update!