Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obscuring faces in videos #148

Open
Phoenix616 opened this issue Jan 29, 2024 · 5 comments
Open

Obscuring faces in videos #148

Phoenix616 opened this issue Jan 29, 2024 · 5 comments

Comments

@Phoenix616
Copy link

Phoenix616 commented Jan 29, 2024

Currently (5.0.0 beta 1) the face detection and manual obscuring seems to only work on static images, videos seem to all fully pixalete without the ability to only obscure parts of it the same way as static images.

When reading that it can "obscure image and video" I kinda expected that both worked the same way, would be really interesting if this could be added. (Didn't find any open source app that can do this :/)

@n8fr8
Copy link
Member

n8fr8 commented Jan 30, 2024

We used to do exactly that on video, with multiple moving resizeable boxes of obfuscation or redaction in video. However, it was quite slow to process and render, and unstable on many devices.

@n8fr8
Copy link
Member

n8fr8 commented Jan 30, 2024

All of the infrastructure is in the app via the ffmpeg library to do this again, and even some of the old UI code, but it would require a few weeks/months of work to get it all modernized.

@Phoenix616
Copy link
Author

Interesting. Thanks for letting me know, maybe I'll take a stab at it. Seeing as there seem to exist some other, proprietary apps which allow this in a pretty fast way (probably because of the speed of modern devices) I bet it could be usable now.

@n8fr8
Copy link
Member

n8fr8 commented Jan 30, 2024

There are new hardware accelerated options built on the MediaCodec API but not sure which ones have the ability for the kind of dynamic pixel based filtering we need. Some examples:

https://github.com/natario1/Transcoder
https://github.com/MasayukiSuda/GPUVideo-android

We have also thought of some generative AI approaches to this, but nothing tangible there yet.

@hjek
Copy link

hjek commented Sep 12, 2024

If there's no face detection / anonymization on video, please consider correcting the description on F-Droid and the website. As it is now, it's promising more than it does, which I found confusing:

ObscuraCam automatically detects faces in both photos and videos, so you can quickly and easily anonymize a crowd or a long video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants