depthai icon indicating copy to clipboard operation
depthai copied to clipboard

[Feature-Request] Add capture timer/countdown to calibration

Open diablodale opened this issue 2 years ago • 3 comments

Start with the why:

I need the capture of images during calibration to be "hands-off". I am working alone and 2 meters away from the keyboard holding a 80x60cm aluminum calibration target that requires two hands.

Move to the what:

Request an automated timer or countdown for all image captures that is enabled with a parameter. For example [-t timerseconds] When this param is given, a timer is started and the image capture is triggered after the given number of seconds. Errors/retries continue to require keyboard input.

Move to the how:

I hacked a fixed 10 seconds with 8 lines https://github.com/diablodale/depthai/commit/445479f9d9b3b2b7f2316913f8bed534e5619876 Should be easy to add param support. And if you want to be fancy...even overlay countdown text on top of the images.

diablodale avatar Mar 23 '22 14:03 diablodale

Good idea. Actually it makes me think of using @geaxgx body-prefocusing or similar to just allow some sort of gesture as a trigger to capture. Hands are taken, so it makes me think of those smile-cameras. "Smile to capture".

Doing a timer as you propose is best though at least to start as it's so simple. CC: @saching13 .

Luxonis-Brandon avatar Mar 23 '22 20:03 Luxonis-Brandon

IMHO: for accessibility and for those that are other-abled, tracking a body part or facial expressions could introduce barriers. Yes... I get the demo-tie-in of tech... though I would prefer a trigger that everyone can universally use on a utility like this (versus a demo/example).

diablodale avatar Mar 23 '22 21:03 diablodale

Sounds good. @daxoft When you get back on this task let's add this feature too on the new window. Lets add the capture button along with a timer slider next to it. Which can be modified from 1-30 seconds.

saching13 avatar Mar 23 '22 21:03 saching13

Added here: https://github.com/luxonis/depthai/commit/3463d38d557921b6f6f05f4cd8f559d5ec1598ea

Erol444 avatar Sep 12 '22 13:09 Erol444