canadabeeau Posted August 9, 2010 Share Posted August 9, 2010 Hi I want to do facial detection (http://corpocrat.com/2009/08/18/automatic-face-detection-with-php-in-linux/), any ways to do it without installing extra stuff (directly, going to try the php.ini add from a php.index) into PHP, as my web host does not allow that. Link to comment https://forums.phpfreaks.com/topic/210175-facial-detection/ Share on other sites More sharing options...
JonnoTheDev Posted August 9, 2010 Share Posted August 9, 2010 No. You require openCV. PHP's graphics libraries are not enough. Link to comment https://forums.phpfreaks.com/topic/210175-facial-detection/#findComment-1096969 Share on other sites More sharing options...
Wolphie Posted August 9, 2010 Share Posted August 9, 2010 No. You require openCV. PHP's graphics libraries are not enough. Not necessarily. Although I haven't tried this out myself, this may be useful: http://svay.com/blog/index/post/2009/06/19/Face-detection-in-pure-PHP-(without-OpenCV) Link to comment https://forums.phpfreaks.com/topic/210175-facial-detection/#findComment-1096982 Share on other sites More sharing options...
JonnoTheDev Posted August 9, 2010 Share Posted August 9, 2010 This script is a huge memory hog! I would not use it, took over 30 seconds to process a 12k image. Link to comment https://forums.phpfreaks.com/topic/210175-facial-detection/#findComment-1096987 Share on other sites More sharing options...
canadabeeau Posted August 10, 2010 Author Share Posted August 10, 2010 can I "install" OpenCV using php.ini set from index.php (not directly editing php.ini)?? How can I set it up on my web host? Link to comment https://forums.phpfreaks.com/topic/210175-facial-detection/#findComment-1097268 Share on other sites More sharing options...
JonnoTheDev Posted August 10, 2010 Share Posted August 10, 2010 It has nothing to do with your php.ini It is an application. Have you read the install instructions? You will require shell access to the server. A shared host will probably not allow you to install applications. You need a VPS at least. Link to comment https://forums.phpfreaks.com/topic/210175-facial-detection/#findComment-1097440 Share on other sites More sharing options...
JeremyCanada26 Posted June 29, 2011 Share Posted June 29, 2011 I'd like to know if there is a way to detect a head instead of the more specifc face. Maybe cut out the rest and be left with a transparent .png of just the head, that would be cool if it's possible. Link to comment https://forums.phpfreaks.com/topic/210175-facial-detection/#findComment-1236115 Share on other sites More sharing options...
Alex Posted June 29, 2011 Share Posted June 29, 2011 Don't bump threads this old. Instead, make a new thread, in the miscellaneous forum in your case. Link to comment https://forums.phpfreaks.com/topic/210175-facial-detection/#findComment-1236117 Share on other sites More sharing options...
Recommended Posts