minto5050 / NSFW-detection

Trained tensorflow model for detecting nudity in images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python 3 update?

opened this issue · comments

I am wondering if this will be compatible with Python 3 code, or if it will otherwise be ported with such compatibility in mind. I do believe this is one of the most effective pieces of software I've come across for this purpose. I tried using something like openNSFW by Yahoo!, but that needed Python 2.7 to work.

I took the liberty of updating this code to python 3 - and will now submit a PR.

Thank you, the code works fine.

My PC is busted now, I will merge the PR once I get it set up with Tensorflow

Instead of passing image as an argument, I want to pass the directory contains 500 images for checking if it is NSFW or SFW. How can I do it?. I am beginner to pyhton