TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Chrome, Firefox extension that blocks NSFW images using TensorFlow JS

150 pointsby bishalbalmost 5 years ago

21 comments

liabilityover 4 years ago
&gt; <i>All the images remain hidden until they are found to be NSFW or not</i><p>The demo screenshot&#x2F;page seems to only show NSFW images, so the demo doesn&#x27;t convey how quickly this classifier can operate. The demo page should have some non-NSFW images to show off how quickly SFW images are revealed, since the default is to block all images.
评论 #24257906 未加载
refresherover 4 years ago
I’ve jokingly &#x2F; seriously been waiting for things like this. I’m the type to go overboard with filtering and mute lists on twitter, but images are harder to deal with. I did have a 60,000 line pastebin that was used in conjunction with a Chrome extension to block Wojack and Pepe memes on 4chan using md5 hashes, but something not rely on specific hashes is obviously superior.<p>One day someone will release the ‘detect and block anything resembling kpop’ extension for Twitter and I’ll be happy.
评论 #24254741 未加载
评论 #24254971 未加载
评论 #24259584 未加载
评论 #24258226 未加载
评论 #24257567 未加载
评论 #24255992 未加载
评论 #24256462 未加载
m3kw9over 4 years ago
From experience 99.9% of the time unless I visit a porn site purposely or some warez site by accident, or questionable reddit channels, I see no NSFW. However I do see some benefits if this was for kids.
评论 #24253283 未加载
评论 #24256834 未加载
评论 #24255427 未加载
ndm000almost 5 years ago
Shameless plug - I&#x27;ve been working on something similiar, but with a different aim.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;nmurray1984&#x2F;porn-blocker-chrome-extension" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nmurray1984&#x2F;porn-blocker-chrome-extension</a><p>I found that the hardest problem to solve was the prevanlence of false positives. Even if you have a low false positive rate, it&#x27;s still very likely to have an image blocked regularly just due to volume.<p>For that reason, the focus of my plugin is - for users that are OK with it - contributing URLs that are not NSFW but have been blocked. The extension includes a right-click menu option to do so.
评论 #24252733 未加载
kmfrkalmost 5 years ago
This is great, except it&#x27;d be really, really great with some sort of placeholder image for the blocked images if possible.
评论 #24257914 未加载
solarkraftover 4 years ago
Why would I care about not seeing NSFW images?<p>What I really <i>do</i> care about is not seeing worthless clickbait. That makes me endlessly angry. Could you build a filter like that on top of this?
评论 #24254761 未加载
评论 #24255448 未加载
评论 #24254823 未加载
andrekorolover 4 years ago
This extension reminded me of that Black Mirror episode where a mother filtered what her daughter could see and hear.<p>Great work with TensorFlow by the way, can&#x27;t wait to see this technology maturing over the years.
zxcvbn4038over 4 years ago
Missed opportunity - where is the browser extension that makes all of the images NSFW?<p>You leave your laptop unlocked and suddenly it looks like the nude bomb went off (<a href="https:&#x2F;&#x2F;m.imdb.com&#x2F;title&#x2F;tt0081249&#x2F;" rel="nofollow">https:&#x2F;&#x2F;m.imdb.com&#x2F;title&#x2F;tt0081249&#x2F;</a>).
gftsantanaover 4 years ago
I&#x27;ve been wanting for something like this ever since we by accident looked at our 9 year old daughter&#x27;s screen. She likes to draw characters from her favorite cartoon and searches for images on the web. Apparently there&#x27;s a porn actress with the same name as one of the characters... DDG was set to &quot;strict&quot;, so no full nudity or any explicit act, but still <i>very</i> NSFW.
评论 #24254782 未加载
ameliusover 4 years ago
I want this but for ads.
评论 #24256377 未加载
nextaccounticalmost 5 years ago
Does the Tensorflow model run in JS? How fast is that?<p>Would it be feasible to run the model in wasm or in the GPU?
评论 #24251291 未加载
评论 #24253745 未加载
评论 #24252232 未加载
评论 #24257919 未加载
bullmanover 4 years ago
disappointed this is not called &quot;hotdog &#x2F; not hotdog&quot;
pledgalmost 5 years ago
This would be too late in my workplace, as they&#x27;d be logged that I downloaded the images. That I didn&#x27;t see them in my browser would be irrelevant.
评论 #24251366 未加载
评论 #24251422 未加载
评论 #24252089 未加载
评论 #24253891 未加载
评论 #24253265 未加载
e12eover 4 years ago
I was qurious about the classifier, and as expected it appears to be based on crawling to get the unsafe images - I doubt it&#x27;s quite in compliance with neither copyright or gdpr..<p>The classifier lib:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;alex000kim&#x2F;nsfw_data_scraper" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alex000kim&#x2F;nsfw_data_scraper</a><p>Announcement points to this data source (while the readme hints at a &quot;premium&quot; classifier):<p><a href="https:&#x2F;&#x2F;github.com&#x2F;infinitered&#x2F;nsfwjs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;infinitered&#x2F;nsfwjs</a>
Santosh83almost 5 years ago
Anyone know of a tool which can process videos (movies) and black&#x2F;blur out nude scenes and make the film &quot;family friendly&quot;? The processing doesn&#x27;t have to be realtime...<p>Just to expand: there are many excellent films which are not &quot;family friendly&quot; only because of 1 or 2 nude scenes which aren&#x27;t even germane to the overall plot in many cases. I often wished there was a tool or SaaS that could detect such scenes and cut or blur them out. Would save a lot of manual processing.
评论 #24251400 未加载
评论 #24251575 未加载
评论 #24251333 未加载
评论 #24251486 未加载
评论 #24252884 未加载
评论 #24251441 未加载
评论 #24253539 未加载
评论 #24254532 未加载
评论 #24254213 未加载
评论 #24251455 未加载
评论 #24252887 未加载
评论 #24255092 未加载
评论 #24251518 未加载
capablewebalmost 5 years ago
If you want to make videos family friendly, it&#x27;s probably better to aim for removing violence than nudity, as one is clearly worse for the psych than the other.<p>Expansion: how are nude scenes not family friendly? Not trying to start any flame wars here, just trying to understand how one or two scenes with nudity suddenly means the video is not family friendly? We all go through life seeing nudity, so should be fine. Violence however is something we both strive and should avoid as much as possible.
评论 #24251335 未加载
评论 #24251913 未加载
评论 #24251395 未加载
评论 #24251938 未加载
评论 #24251506 未加载
评论 #24254869 未加载
评论 #24254520 未加载
umviover 4 years ago
Now just make a version that whites-out NSFW text in e-books and market it to Utahns as a way to read PG-13 versions of Game of Thrones books and you&#x27;ll be rich.<p>However, you&#x27;ll probably also be sued into oblivion by angry authors&#x2F;publishers who don&#x27;t like people modifying what they read in any way.
评论 #24254402 未加载
aasasdover 4 years ago
I happen to not be afraid of boobs, so ever since my days on Reddit I wish for blocking of random gore instead. This is weirdly pertinent sometimes on DDG&#x27;s image search.<p>Edit: to clarify, I&#x27;m not afraid of some killing either, thanks to the pop culture of the past seventy years or so. Now, why eye-hurting images of bodily damage pop up on rather innocent searches—that&#x27;s a haunting mystery. On Reddit, the ‘NSFW’ label is used equally for a vaguely sexually suggestive shape or a close-up more suitable for a surgical journal. As if I didn&#x27;t get plenty of suggestiveness just from music videos anyway! So my long-standing wish was for an ‘NSFL’ filter instead.
评论 #24252337 未加载
评论 #24251835 未加载
zmixover 4 years ago
I&#x27;d rather have every news about the Trumpeteer blocked.
raisteralmost 5 years ago
My kid would just turn off the extension and keep his business going... :&#x27;(
评论 #24251360 未加载
评论 #24251299 未加载
评论 #24251974 未加载
olliejover 4 years ago
Has anyone confirmed it isnt tagging non-pornographic images? Breastfeeding, breast exam tutorials, sand dunes, etc<p>Has anyone tested to see if it correctly handles PoC? That demo site it points to almost exclusively light skinned folk.<p>These are the basic things I’d want confirmation of.