Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to block upload adult or nude image? [closed]

Tags:

jquery

php

I have a problem to uploading the image.I have to validate the image in which adult or nude image is not upload.

like image 434
Manish kumar Avatar asked Jan 15 '14 09:01

Manish kumar


3 Answers

You can use online services like the WebPurify Image Moderation Service. or try nudity detection service at Github or use Googles' Nudity detection service.

like image 185
Kiran RS Avatar answered Nov 16 '22 12:11

Kiran RS


At this point in history the task of reviewing images needs to be done by humans, as photos are infinitely variable in content (and software is not that smart).

Depending on your website, you are better off with a peer-review system. That way you offload the small amount of work, per-image, onto your users.

Basically do not display new images until they have been reviewed by another user and offer some form of minor reward for reviewing images (fictional point systems, like SO, seem to work well) :)

You will also want to keep a reliability score for reviewers, so that if they pass invalid images, that are later reported as violations, they lose the ability to confirm more images.

like image 3
Gone Coding Avatar answered Nov 16 '22 14:11

Gone Coding


You can use this one for nude:

PORNsweeper

http://www.dansdata.com/pornsweeper.htm

like image 1
gilix Avatar answered Nov 16 '22 13:11

gilix