How to obtain the ISP metadata of each camera image?

Hi there,

I’m currently working with the Genio 700 and 1200, and I can successfully capture ISP-processed frames through the V4L2 interface. My question is regarding per-frame metadata:

Is there a supported way to obtain metadata associated with each captured frame, such as:

  • Exposure time
  • Capture timestamp (SOF / EOF)
  • Analog / digital gain
  • 3A (AE / AWB / AF) statistics

If yes, is this exposed via a V4L2 metadata capture node (e.g. /dev/videoX with V4L2_CAP_META_CAPTURE), or through another interface?

Any pointers to sample code or documentation would be very helpful.

Thanks in advance!

Hi @andrew.hess,

In IoT Yocto, the camera implementation exposes only the video device (V4L2 video capture node) to userspace. As a result, only the ISP-processed image data is accessible through this interface.

Regarding per-frame metadata, most of the items you mentioned, such as exposure time, analog/digital gain, and 3A (AE/AWB/AF) statistics, are not exposed to userspace. There is currently no V4L2 metadata capture node available for retrieving this information.

The one exception is the capture timestamp. You can obtain it from the timestamp field returned with each dequeued V4L2 buffer (the timestamp field in struct v4l2_buffer), which is populated when the frame is captured.