bkeevil/esp32-cam

Support for IR motion sensor

Opened this issue · 3 comments

Hi!
Will there also be support for an IR motion sensor?

Its a possibility. Not a lot of free memory on these devices so all additional features should be something users enable in firmware via make menuconfig.

g8ecj commented

I'd be interested in motion detection (no need for IR) with the following main loop:

  • sleep for 500ms
  • grab frame (& decimate down to reasonable pixel count)
  • compare to last frame
  • if large differences then fire up wifi, stream a few seconds worth at a server
  • shut down wifi (power save)
  • save last frame of burst for next sleep/compare cycle
    The idea for this is low average power to run from a single 18650 Lion cell + solar panel (0.5 to 1w panel)

You could check out https://github.com/alanesq/CameraWifiMotion
Maybe this has some of the features you are looking for.. I think it is not optimized for power save though..