alganzory / HaramBlur

A Browser extension that enables you to navigate the web with respect for your Islamic values, protect your privacy and reduce browsing distractions by auto detecting and blurring "Haram" content.
https://haramblur.com
GNU Affero General Public License v3.0
404 stars 30 forks source link

Video blur performance improvements #11

Closed man2machine closed 10 months ago

man2machine commented 10 months ago

Assalamu alaikum,

Here is a suggestion for the video blurring: When you take the video frames and process it in the detector, if it needs to be blurred, set it to blur for at least 2 seconds. This will avoid any scenarios where the video flickers in and out when sometimes there are false negatives and improve the performance in shaa Allah. That means after it blurs the video, even if in a subsequent frame it detects nothing to blur, it will still continue to have the video blurred as it is within the 2 seconds. Hope this makes sense!

Jazak Allahu Khair.

alganzory commented 10 months ago

Walaikum Assalam,

I have considered doing this but the issue with this delay is the false positives, in the version 0.0.2 I am trying another model for the face detection that should hopefully reduce the flickering false negatives, I will also experiment with this idea but maybe with something less than 2 seconds.

I appreciate your continuous feedback and suggestions, Jazak Allahu Khairan

Thank you for your continous feedback and suggestions,