Aarhus-University-MPE / BioDiscover

Species Recognition System, designed to capture and store images of insects as well as controll the SRS system.
2 stars 0 forks source link

Implement incremental img pairs for cameras #28

Open MadsR opened 2 years ago

MadsR commented 2 years ago

Description of the new feature / enhancement

Add incremental image numbers to camera feed to allow image pairs.

Cameras would have a unique ID (same number) for a given image capture. Once an object is detected images are saved with incremental numbers.

Example:

Cam1 (img id: 16871) - Doesn't detect object Cam2 (img id: 16871) - Doesn't detect object

Cam1 (img id: 16872) - Doesn't detect object Cam2 (img id: 16872) - Detects object -> Set id_0 to 16872 -> Save image as Cam2_img_000

Cam1 (img id: 16873) - Doesn't detect object Cam2 (img id: 16873) - Detects object -> Save image as Cam2_img_001

Cam1 (img id: 16874) - Detects object -> Save image as Cam1_img_002 Cam2 (img id: 16874) - Detects object -> Save image as Cam2_img_002

...

Scenario when this would be used?

Used to create image pairs to guarantee two individual images are synced.

Can also be used in velocity determination. Img_000, 001, 002, 004, 005, ... determine which images are missing in the sequency to correctly determine image timing from framerate.

Supporting information

No response

MadsR commented 1 year ago

Add uniqueID to image file name