pub async fn get_next_image(
    reconstructor: &mut Reconstructor,
    thread_pool: &ThreadPool,
    with_events: bool
) -> Result<Option<IterVal>, ReconstructionError>
Expand description

Get the next APS image from the video source. Returns a tuple of the image, the timestamp of the image, the timestamp of the end of the frame, and the events occurring during the interval.

Arguments

  • with_events - Whether to return events along with the image
  • thread_pool - The thread pool to use for parallelization

Errors

  • ReconstructionError - Some error in davis-edi-rs