D457 Autoexposure leading to overexposed frames
Inconsistently I am seeing frames getting overexposed while capturing data with autoexposure enabled [image attached]. I do not have brightness, max values for gain and exposure time configured. 
-
Hi Suyash Nigam The first several frames captured can have incorrect exposure when auto-exposure is enabled because the auto-exposure requires time during those initial frames to settle down.
If you cannot use manual exposure then a way to avoid 'bad' frames at start-up is to skip the first several frames by wrapping the wait_for_frames() instruction within a 'for int' instruction so that the first frame is a frame with good exposure. The links below have examples of implementing this frame skip in C++ and Python.
C++
for (int i = 0; i < 5; i++)
{
rs2::frameset frames = wait_for_frames();
}Python
for _ in range(5):
pipe.wait_for_frames()
for i in range(num_frames - 5):
print(i)
frameset = pipe.wait_for_frames()
Please sign in to leave a comment.
Comments
1 comment