guardianproject / haven

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors
https://guardianproject.github.io/haven/
GNU General Public License v3.0
6.62k stars 728 forks source link

improved cameraview #361

Closed n8fr8 closed 5 years ago

n8fr8 commented 5 years ago

using: https://github.com/natario1/CameraView

this should help address issues like #360 #355 and others

n8fr8 commented 5 years ago

Thanks for the review and feedback. Yeah, still need to overall the way video works. I think we are going to switch to recording video in 30 second chunks as the default, and then just extracting preview frames as it is recording, to detect motion. If there is motion, then the current clip is saved, otherwise it is thrown out. we can also saved the matched frames as stills.

this will be on another dev branch / PR.