| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
11年前发布

图片或视频人脸检测的jQuery插件:jQuery Face Detection Plugin

这个jQuery/Zepto能够检测图像,视频和画布的人脸,然后取得它们的坐标。

<script>      $('#picture').faceDetection({          complete: function (faces) {              console.log(faces);          }      });  </script> 

返回找到的人脸组成的数组对象:

  • x — Y coord of the face in the picture
  • y — Y coord of the face in the picture
  • width — Width of the face
  • height — Height of the face
  • positionX — X position relative to the document
  • positionY — Y position relative to the document
  • offsetX — X position relative to the offset parent
  • offsetY — Y position relative to the offset parent
  • scaleX — Ratio between original image width and displayed width
  • scaleY — Ratio between original image height and displayed height
  • confidence — Level of confidence

项目主页:http://www.open-open.com/lib/view/home/1416705504242

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1416705504242.html
图形/图像处理 jQuery Face Detection Plugin