- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Intel Support Team,
I want to get the exposure value when Auto Exposure is on, so I tried to call rs2_get_frame_metadata() with testing for attribute support :
if ( rs2_supports_frame_metadata(.., attribute,...) ){
val = rs2_get_frame_metadata(.., attribute,...)
}
However, It seems that there are only 3 attributes are supported :
"RS2_FRAME_METADATA_TIME_OF_ARRIVAL" ,
"RS2_FRAME_METADATA_BACKEND_TIMESTAMP",
"RS2_FRAME_METADATA_ACTUAL_FPS"
Will other attributes such as exposure value be supported in the future?
Is there any other way?
Regards,
JY
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Instead of using frame metadata, you can get the exposure value with get_option, as described in the discussion linked to below, which suggests printing out exposure to a log with the instruction:
print(sensor.get_option(rs.option.exposure)
https://github.com/IntelRealSense/librealsense/issues/1624 auto_exposure problem · Issue # 1624 · IntelRealSense/librealsense · GitHub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MartyG,
In fact, I want to get the actual exposure value rather than the manual exposure value. (Just like what is mentioned in the discussion you offered)
Therefore, I enabled auto_exposure first waiting the camera to adjust to the proper exposure value, then I switched off auto_exposure and try to get the adjusted exposure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MartyG,
Thanks for your help.
It seems that the actual exposure attribute is not supported in D415 so I cannot query it.
I really hope more metadata attributes would be supported in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can file a request for a particular feature to be added on the RealSense GitHub by going to the link below and clicking the 'New Issue' button to post a message.
https://github.com/IntelRealSense/librealsense/issues Issues · IntelRealSense/librealsense · GitHub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using firmware version 5.10.3 I was successfully able to query my D415 (using the Python API, but you can re-derive the C++ one):
frames = pipeline.wait_for_frames()
depth_frame = frames.get_depth_frame()
actual_exposure = depth_frame.get_frame_metadata(rs.frame_metadata_value.actual_exposure)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your help, mprat.
After some additional steps that are specified in thehttps://github.com/IntelRealSense/librealsense/blob/master/doc/installation_windows.md installation guide, I can get the frame metadata of RGB & depth sensor !
However, according to issue https://github.com/IntelRealSense/librealsense/issues/2218 # 2218, the actual exposure metadata attribute for RGB sensor updates only with the "Auto-exposure" flag is "Off" and this is a HW limitation.
Therefore, it seems that the current actual exposure value of RGB sensor cannot be get.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page