homebridge-camera-rpi icon indicating copy to clipboard operation
homebridge-camera-rpi copied to clipboard

Support for pseudo motion detection?

Open fr3nch13 opened this issue 6 years ago • 2 comments

So, I forked this to see if I could include a motion detection accessory in this package without any extra hardware (like the ir sensor).

I was thinking of doing it like so:

  • Take a snapshot every second and save it to the hd like current.jpg.
  • Take a snapshot 1 second later, move the current.jpg to past.jpg, and save this one to current.jpg
  • Use ssdeep (fuzzy hashing) to hash both the current and past files.
  • Use ssdeep to compare the hashes.
  • If the files are more than config['sensative_setting'] different, than mark the motion sensor as triggered?

Would anyone be interested in this?

fr3nch13 avatar Oct 06 '18 03:10 fr3nch13

Yes, I would. Because then the motion trigger could activate lights or other actions.

jonerikandersen avatar Jul 30 '19 20:07 jonerikandersen

Yes, I’d be interested!

mig-ns avatar Sep 19 '19 05:09 mig-ns