-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set roi for auto_exposure #5308
Comments
@zheningy hello, if (sensor->is<roi_sensor>())
{
sensor->as<roi_sensor>().set_region_of_interest(.... See the implementation given in realsense-viewer. |
Is there a way to set the ROI in preset JSON file? |
The ROI is not part of the JSON loader. |
After I used pdb, I found that the realsense will start four threads to start devices. Thus it is necessary to set a flag to avoid setting region of interest four times. Below is my code, could be useful.
|
@dorodnic
Hi, I met a problem that the auto exposure would over-expose center region while recording in dark environment.
Thus I want to use roi auto-exposure to get normal brightness on this region like this example.
However, the program would crash after using set_region_of_interest() with:
Below is my code snippet.
It's appreciated if you could provide more examples about roi auto exposure!
The text was updated successfully, but these errors were encountered: