Capturing dummy frames
I am trying to build a system to scan objects.
I was wondering if it is necessary to capture "dummy" frames in order to "heat up" the camera.
I think I saw it being used in one of the examples but I cannot find it.
Just to be clear, what I mean in "dummy' frames is to capture several frames, and "throw" them away, and use the frames after that to the needed procedure (The idea behind it is to let the camera "heat up" before considering frames as valid frames).
Thanks in advance for any help.
-
Hi Amitelle1337 Yes, if you are creating your own application and you have auto-exposure enabled, it is good practice to skip the first several frames in order to give the auto-exposure time to "settle down".
If you are using manually set exposure values though then you should not have to skip frames.
Dorodnic the RealSense SDK Manager offers advice about this in the link below.
https://github.com/IntelRealSense/librealsense/issues/2269#issuecomment-414211209
-
The stereo depth functions and the RGB have their own separate auto-exposure. So I woud say yes, skip the first several frames for depth too.
In the OpenCV starter programming tutorial that I referenced in my earlier link, Intel's sample code demonstrates the skipping of frames in both the color and the infrared / depth example scripts.
-
I wouldn't say it was related to stereo depth particularly but rather the time that it takes for auto-exposure to adjust to the environmental conditions when the stream activates. So I would recommend using the skipping of the first several frames for all models where you are using auto-exposure.
Please sign in to leave a comment.
Comments
7 comments