Create an example subclassing LockedCamera and/or VideoReader using get_camera_image as a callback within the main processing function, for processing which doesn't lend itself to being split in two, and/or variable processing times that can predict vaguely when it will finish and can more accurately try to have grabbing return precisely when processing completes.