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:
-
Singleton class
-
PHP Data Validation
-
New PHP
-
Page Controller Pt.2
-
Formula E bakal dianjurkan di Kuching?
-
PHP timezone handling
-
Page Controller
-
Cloudflare & phpBB3
-
session_regenerate_id() old data not copied to new session ID
-
PHP Hooks System
Filed under Pelbagai with tags Github, Idea, Nudity filter, PHP
Leave a Reply