面部检测javascript / html5 / flash [英] Face detection javascript/html5/flash

查看:178
本文介绍了面部检测javascript / html5 / flash的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



这是最常用的一个,实际上我需要的是检测脸部,捕捉一张脸。

我没有这方面的经验。

有没有可用的js解决方案?



你们的建议和意见是什么?

谢谢。

<朋友:我正在测试你所有的答案:我会回来的结果。

这里有一些可能性,这取决于你想用哪种目标语言来实现。其中一种可能性就是Flash,你可以使用一个Ohtsuka Masakazu脸部检测库移植到最初在 OpenCV 中实现的 AS3 >。



http:// www。 libspark.org/wiki/mash/Marilena



这由Mario Klingemann完善。你可以在这里找到这个项目: http://www.quasimondo.com/archives/000687.php ,其中包括源代码。

如果所需的平台是原生的web浏览器,没有任何专有的插件,那么新的 WebRTC W3倡议是其中一种选择。还有一个,稍后再讨论。你可以在这里找到实现: http://neave.com/webcam/html5/face/ b
$ b另一种解决方案是使用websockets与后端服务器进行前端通信,在后端服务器中进行沉重的图像检测分析。整个过程可以概括为几个步骤:



  • 我们使用 getUserMedia 函数,它是一个 HTML5 特定功能。


  • 然后,我们使用websocket将网络摄像头数据发送到服务器。

    这里我们分析接收到的数据,例如使用JavaCV / OpenCV来检测和标记任何被识别的人脸。


  • 我们使用websockets将数据发送回客户端。



我们可以在后端网站上使用几个选项:

Jetty :提供websockets和许多其他集成。



:具有各种图像处理算法的图书馆。我们使用他们对脸部识别的支持。

JavaCV :由计算机视觉领域的研究人员提供常用库的封装。使用这个Java包装,我们可以直接从Jetty收到的数据分析图像。



这里是一个很酷的
$ b $ / $ / $ content $ / $ / $ / $ / $ / $ / $ / $ / $ / $ / b

更新 /github.com/auduno/clmtrackrrel =nofollow> clmtrackr 这是一个将脸部模型拟合到视频或图像中的库。该技术的详细解释可以在这里找到: http://auduno.tumblr.com/post / 61888277175 / fitting-faces


What is the best way for face detection in a web page ?

Which is the most used one ,actually what i need is detect the faces ,capture one face.

i have no experience about this .

is there any js solution available ?

whats ur suggestions and opinions ?

Thank you.

Friends : I am testing all your answers : i will come back with result.

解决方案

You have a few possibilities here, it depends which is the target language you want to use for implementation. One of the possibilities would be Flash, where you can use a Ohtsuka Masakazu face detection library ported to AS3 originally implemented in OpenCV.

http://www.libspark.org/wiki/mash/Marilena

This was refined by Mario Klingemann. You can find the project here: http://www.quasimondo.com/archives/000687.php, which includes the source codes.

If the desired platform is the native web browser, without any proprietary plugins, then the new WebRTC W3 initiative is one of the alternatives. There is another one, which w'll discuss later. You can find the implementation here: http://neave.com/webcam/html5/face/.

The other solution would be to use websockets for front end communication with the back end server, where the heavy image detection analysis is happening. There whole process can be summarized in a few steps:

  • We access the webcam by using the getUserMedia function which is a HTML5 specific feature.
  • Then we send the webcam data to the server using websocket.
  • Here we analyze the received data, using for example JavaCV/OpenCV to detect and mark any face that is recognized.
  • We send back the data to the client using again websockets.

There are a few options we can use at the backend site:

Jetty: Provides websockets and many other integration.

OpenCV: Library that has all kind of algorithms for image manipulation. We use their support for face recognition.

JavaCV: Provides wrappers to commonly used libraries by researchers in the field of computer vision. Using this java wrapper we can analyze the images directly by data received from Jetty.

And here is a cool implementation of the description above.

UPDATE

At the moment the most impressive JS face recognition library is: clmtrackr which is a library for fitting facial models to faces in videos or images. A thorough explanation of the technology is found here: http://auduno.tumblr.com/post/61888277175/fitting-faces

这篇关于面部检测javascript / html5 / flash的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆