Do you, like, really need the Android app to be doing the detection, or are you open to options like cloud service or PC software?
Let's be honest, if we're talking about smartphones, Android is not ideal platform for constantly running surveillance. It sounds unstable with all the overheating...