I am using gstream to read the rtsp link using python in jetson nano
the src is like this - rtspsrc location=rtsp://xxx:ttt@192.168.1.8:554 latency=200 ! rtph265depay ! h265parse ! omxh265dec ! nvvidconv ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=BGR ! appsink drop=1 - this is working
Now, I am trying to add the exposure settings, I tried adding auto-exposure=1 exposure-time=.0005 in the src but that is not worked
Could you please tell me how to change the exposure settings
It is the IP camera I am trying to control the exposure,
I tried the videobalance with altering the brightness/contract/saturation, but that is not helpful
For eg, the glass door is exposured more than other area, in that area, there are small objects are placed on the glass door which is not visible, in the frames that area is in pure white colour. I tried using the multiple combination of videobalance parameter but the exposure stays same.
Through the camera settings we can control the exposure, but for my task, i cant do that because the same camera is using for surveillance. so, I have the only option to control the exposure through some programming.
Could you suggest is there a way to control the exposure through gstream or any programming technique
The problem with exposure is that it is something that needs to be control at a camera level, given that exposure is the amount of time that the sensor is expoed to light to capture the image.
There are some computer vision techniques you could use to improve the contrast on the image. For instance, I would suggest you try to use Histogram Equalization. Which you can implement through OpenCV or NVIDIA VPI.
Now, would it be possible for you to elaborate a bit more on what is the specific reason why you cannot use the exposure control through the camera settings ? Is it because you need to use a separate app or interface to configure it ? Or is it because of a different reason?
May I know which camera are you using?
regards,
Andrew
Embedded Software Engineer at ProventusNova