EloquentEsp32cam icon indicating copy to clipboard operation
EloquentEsp32cam copied to clipboard

Nice to have feature: Option to stop or pause the motion detection daemon

Open jksemple opened this issue 9 months ago • 1 comments

The Daemon that runs motion detection as a separate RTOS task cannot be stopped after calling .start(). It would be good to provide .stop() and .pause() methods that would allow the task to delete itself or to be paused.

In my application I want to use motion detection at low resolution and then switch to taking a few high resolution pics once triggered and reverting back to low-res motion detection later. I will adapt your Your Motion_Detection_Higher_Resolution example for now but ultimately it would be better to run the motion detection as a separate task using your Daemon feature and to be able to pause motion detection temporarily while taking a set of high-res pics to ensure the detected object is properly captured at least once.

jksemple avatar May 05 '24 12:05 jksemple

Looks good, will add this.

eloquentarduino avatar Jun 18 '24 13:06 eloquentarduino