Hello, mentors and community!
I am a second year student at Peter the Great St.Petersburg Polytechnic University ( St.Petersburg, Russia). I am really interested in becoming a part of this project because I faced with problem of fakes and clickbaits everyday.
Am I right that if we think about Fake News then after this GSoC we would have a Google Chrome extension that I’ll be able to use because currently I can’t install it (from link on GitHub gists).
And is it possible to work on such problems during this GSoC: 1. Create a backend side of Google Chrome extension (Fake News API), 2. Support multilingual sites (Fake News API)?
Change the link to the API hosted on AWS: http://220.127.116.11:7001/
@us241098 Newer versions of chrome block all resources which fail to load over https. Therefore the click-bait API call gets blocked on all social media and news sites
how do you plan to integrate it in extension?
I added a function 'executensfw' in the content script of the extension. The function works on all the HTML elements with 'img' tag, it extracts the image source from the 'img' element and makes a synchronous call with the image source as formdata in a POST request to the NSFW API. A synchronous call is used so as to process one image completely before moving to a different html image element. I used a POST request as the image source is usually a base64 encoded string and is very large in size therefore it couldnot be passed encoded in the url with a GET request throwing a 413 request too large error. The NSFW API, which is hosted on AWS lambda and API gateway,s3 with tensorflow-lite, pillow, flask,cors returns the predictions for that image to the function. Based on the prediction returned the function checks if the image classifies as NSFW and in such a case blurs out that image. For blurring the image I used a css blur filter of 10 pixels. I decided the threshold for the image to be classified as NSFW by having tested the results of a large number of NSFW and SFW images with the NSFW Inceptionv3 model. The NSFW functionality works for all JPG/JPEG images on all sites.
hey ! i m just an another open source newbie ! can u guys help me in contributing
Check out the repos, SSS (https://gitlab.com/aossie/social-street-smart) and SSS-API (https://gitlab.com/aossie/social-street-smart-api) on gitlab.