Filter nudity with PHP
On 8 September 2011 in Pelbagainude.js is JS based nudity scanner using HTML5 Canvas and Webworker. The algorithm is based on this research paper http://www.math.admu.edu.ph/~raf/pcsc05/proceedings/AI4.pdf.
I’ve been working on to port the script to PHP and using GD library. So, here’s the result: php-nudity-filter. It’s a direct porting of the nude.js script to PHP, where I maintain the data structure, functions and algorithm, therefore its performance is not very optimized for PHP. Scanning a 500×500 image will take around 8-10 seconds.
But overall it’s working as expected, it can detect nude picture at rate similar to nude.js. There are several steps that still not complete (esp. the bounding polygon) and optimization. Fork it at Github, improve it and make internet a better place.
Related posts:
-
PHP Data Validation
-
phpBB SEO Ultimate URL backslash in URL
-
Singleton class
-
Page Controller
-
Macam betul-betuuul
-
New PHP
-
Formula E bakal dianjurkan di Kuching?
-
Singleton pattern
-
PHP Templating
-
PHP timezone handling
Filed under Pelbagai with tags Github, Idea, Nudity filter, PHP
Leave a Reply