Back to top

jQuery Face detection (面部识别)

由于原demo网站http://facedetection.jaysalvat.com在中国无法浏览,我修改了原demo代码,做了一下页面。照片来自与2010年纽约的一次Drupaler聚会。有谁认识这四个Drupaler呢?

支持版本Chrome, Firefox 3-8, IE 9

想实现这个功能,有了这些库文件以后,只要执行一行代码
var coords = $('#myPicture').faceDetection();

TRY IT NOW (点击尝试)!

评论

In front page node listing issue

Comment: 

i have added 3 image fields in a same content type. In manage display tab i have selected display format as image for first and last image field, face_detect for second image field. The face detection should be applied for second image field. But In node page face detection is proper it is applied for second image field. In front page node publishing, the face detection is applied to the first image field, which is not correct one. please test this issue.

添加新评论