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
387 stars 30 forks source link

Adding way to allow user feedback #47

Open owghanem opened 7 months ago

owghanem commented 7 months ago

Al slam aalaykum,

Since the detection is sometimes not accurate, why not give the user a way to blur undetected content and unblur falsely blurred content. (And maybe use that input to improve the AI model)

alganzory commented 7 months ago

Walaikum Assalm,

Thank you for the suggestion, it's surely a useful feature. How do you suggest the user experience look like? I am thinking maybe right context menu option (right click), do you have other ideas in mind?

owghanem commented 7 months ago

Well, I am not really sure what is possible, ideally something like the 3 dots menu on YouTube is very user-friendly, but I am not really sure if that is possible, and it would be too complicated.

On the other hand, the context menu is something I see often utilized on other extensions.

One other way it could be done is element detection, like what adblockers use.

Something else I have seen is that some extensions create a bubble or something like that above and element, which could appear when one hovers over the blurred subject and from there is a drop-down menu or even without a dropdown just toggle on click.

If my description is not clear, I could share screenshots of some examples.

I am a novice dev, if we could break down the task and maybe get some instructions I would be very happy to contribute.

ALWISHARIFF commented 7 months ago

Assalamu alaykum warahmatullahy wabarakatuh I propose to look at the sponsorblock extension this extension allows users to vote segments where there is a sponsor advert and automatically skips such parts we can do something similar getting the video data and timestamp of the video that was not detected and then get the frames at the timestamp and add that to our dataset and tweak the model we just need the user to click a button that would mark the part of the video by recording timestamps and sending them to an online server BarakaAllah feekum

arhvnn commented 6 months ago

It would be great if users could give feedback for the models to develop, I suggest to add a Mouse click while pressing some key for false blur and for moments where it should be blurred and it's not

alganzory commented 6 months ago

Thank you all for the input, I surely wanna implement this, however, I am not sure everyone agrees on what's considered Haram. I have had some feedback that says "why does it blur professionally looking women" so some people still mistake it for a nudity only fiter. I (or someone with a similar definition of gaze-lowering) need to go through the users reports and verify them one by one. But, I will consider this if I find a way around this, it's not impossible but surely challenging

arhvnn commented 6 months ago

Hello, you’re right, I haven’t thought of that, we cannot trust anonymous people to decide which are haram pictures. I study AI and we haven’t advanced yet in our studies, when we do I will try to come up with better ideas in training the model well. Thank you for your hard work

On Sat, 30 Dec 2023 at 11:59 Mohamed Alganzory @.***> wrote:

Thank you all for the input, I surely wanna implement this, however, I am not sure everyone agrees on what's considered Haram. I have had some feedback that says "why does it blur professionally looking women" so some people still mistake it for a nudity only fiter. I (or someone with a similar definition of gaze-lowering) need to go through the users reports and verify them one by one. But, I will consider this if I find a way around this, it's not impossible but surely challenging

— Reply to this email directly, view it on GitHub https://github.com/alganzory/HaramBlur/issues/47#issuecomment-1872505054, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6GA2BVQJ4YSUNL5ZFLVDF3YL7X2JAVCNFSM6AAAAABAYF7OIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGUYDKMBVGQ . You are receiving this because you commented.Message ID: @.***>

LinuxJava7 commented 6 months ago

We should at least implement a "right click to blur" feature, would be very helpful in my opinion.

noor-ahmad-haral commented 5 months ago

Assalamualaikum I am also a ML Engineer and I am in updating the model for better accuracy. I genuinely loved this project 🙂😍. Maybe soon i will start work on making mobile app of it... I must say you re all the gems of Islam. More powers to everyone...

ALWISHARIFF commented 5 months ago

Waaleikum salaam warahmatullahy wabarakatuh

Mohamad-Haikal commented 5 months ago

We should at least implement a "right click to blur" feature, would be very helpful in my opinion.

Yes it's the perfect solution that prevents people mistakes about haram feedback.

arhvnn commented 5 months ago

I thought about the idea that some people would give false input based on what they think is haram. What you can do is let the feedback be as choosing between what describes the picture such as

And then you can build on that what should be blurred and what shouldn't