I never thought there'd be anything like out there on PHP but man of the day makes it happen, Bakr Alsharif of Egypt has created a PHP Class that checks if the uploaded image consists of Nude content or safe by checking Image Pixels. I never thought about Developers living in Egypt !!
Well with little reference of Srinivasan of 9lessons as I don't have anything to Upload here, going to share some codes and File to Download:
Read Complete Codes for Creating Ajax Image Upload and Detection for Adult Image with PHP on 9lessons.org
Download complete code for PHP Adult Image Check.