hhatto / nude.py

Nudity detection with Python
MIT License
924 stars 131 forks source link

False Negative #16

Open Ankur-Jat opened 8 years ago

Ankur-Jat commented 8 years ago

I was testing this script for some of my system use. When testing this code it gave me FALSE NEGATIVE on a full nude image. I can email you that image if you want to test, though I ca't upload it here because that is complete nude. Need help please have a look. Thanks for your time.

sigmonsays commented 8 years ago

Same problem for me. I sampled a few images from the web and the detection is quite poor. I'll grab some more and determine and report accuracy if anyone is interested.

SuperMeepBoy commented 6 years ago

Same problem with me. I was toying with it to see if it worked by curiosity. I sent a close-up on... well, nudity but it's really pornographic. And a NSFW photo of a girl completely naked. Both returned False.

deniszh commented 6 years ago

Hi @SuperMeepBoy @sigmonsays @Ankur-Jat , IMO you can use this naive implementation only as a toy. If you somewhat serious about playing with subject - you need to use machine learning, e.g. https://github.com/bakwc/PornDetector If you need already working code you can use https://github.com/yahoo/open_nsfw or https://github.com/mdietrichstein/tensorflow-open_nsfw For video, you can use Miles Deep - https://github.com/ryanjay0/miles-deep Just note that despite much higher accuracy even ML code is not ideal - you can easily alter port image to be undetectable or vice versa - https://github.com/tjwei/play_nsfw