How can I know the frame start of camera?

Hi. I have currently connected a camera and I am preparing for an experiment.

I want to trigger some kind of interrupt or event at the start of each camera frame, in order to perform certain actions in the code before the frame ends.
How can I determine when the camera frame starts?

The important thing is that the action needs to be performed at the timing of the frame start and before it ends from a hardware perspective.

Thanks.

Current the capturing sensor data is implement in the RCE firmware.
That tell there’s no any way to know the FS by current public release drivers.

Thanks