如何绘制脸部周围矩形图像,同时捕捉照片 [英] how to draw rectangle around face in Image while capturing photo

查看:223
本文介绍了如何绘制脸部周围矩形图像,同时捕捉照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我目前的应用程序,我想周围绘制面部矩形,而使用Android设备摄像头捕获,也仅希望保存脸部区域内的矩形SD卡上。

in my current application I want to draw rectangle around face while capturing using Android device camera, and also want to save only face area inside rectangle on SD card.

我经历很多环节消失了一样。

I gone through lot of links like

LINK1

链接2

LINK3

但无法找到妥善的解决办法。

but unable to find proper solution.

能否有人已经为此工作。

Can anyone has worked on this.

任何帮助将是AP preciated。

Any help would be appreciated.

推荐答案

有关人脸检测和人眼检测有许多可用的教程google.For,您可以为您的OpenCV库或Android默认的人脸检测为进口是that.Here的链接可以帮助你。

For Face Detection and eye detection there are many tutorial available on google.For that you can you OpenCV library or android default Face detection importing for that.Here is the link that can help you

http://romanhosek.cz/android-eye-detection -and跟踪与 - OpenCV的/

如果你使用的是日食,那么你还需要NDK与Eclipse使用上面链接code集成

And if you are using eclipse then you also need to integrate ndk with eclipse to use above linked code

这篇关于如何绘制脸部周围矩形图像,同时捕捉照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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