I’m trying to create a mini app that detects movement and then plays a m4a sound. I already have the sound part figured out (I admit, that’s the easy thing :)).
Now I’m stuck on the Camera part. I’m able to launch it and takes photos on request. However I would like to receive a callback whenever the camera detects movement. Probably this is not available out of the box but can you guys think of an existing tool that could help with this?
E.g. use something like face detection, listen to some events when it’s trying to assess what passes by the camera? Or taking very low resolution pictures and comparing them, or …
Please help me in the easiest possible direction :)!
there’s no movement api on the camera right now. also we don’t have a canvas api so you can’t just do something like this: Motion Detection with JavaScript / Coder's Block (neat stuff). you might need to get creative to work within the constraints of the current expo api set