View my account

D457 Autoexposure leading to overexposed frames

Comments

2 comments

  • MartyX Grover

    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()
    0
    Comment actions Permalink
  • Suyash Nigam

    Thanks for the response. Perhaps I wasn't clear in my original post. I have a fleet with these sensors, and in atleast one of the sensors I am seeing an issue wherein the sensor only captures overexposed frames. Is it possible to manually set the autoexposure brightness stp? 

    0
    Comment actions Permalink

Please sign in to leave a comment.