面对Android中使用OpenCV的认可? [英] Face recognition using OpenCV in android?

查看:219
本文介绍了面对Android中使用OpenCV的认可?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够检测到使用开放CV的面孔,但我不知道如何处理面部识别。

I am able to detect faces using open cv but I don't know how to process face recognition.

我GOOGLE了很多,但我没有找到任何文章或博客,可以指导我。

I googled a lot but I didn't find any articles or blogs that can guide me.

有人可以帮助我开发的人脸识别应用程序在Android的?

Can someone help me to develop face recognition App in android?

推荐答案

可以使用百达J​​avaCV那是一种包装为本地OpenCV的功能:

You can allways use JavaCV that is a kind of wrapper for the native OpenCV functions:

请参阅:

人脸识别在Android

为了使一切工作正常,你必须extrat项目一些.so文件到您的libs文件夹:

In order to get everything working you have to extrat some .so files to your libs folder in project:

按照此页上的说明:<一href="http://blog.drndos.sk/2013/04/how-to-run-javacv-with-sample-face-recognition-on-android-arm-device-netbeans-and-nbandroid/" rel="nofollow">http://blog.drndos.sk/2013/04/how-to-run-javacv-with-sample-face-recognition-on-android-arm-device-netbeans-and-nbandroid/

1.Go文件>新建>文件夹,选择您的项目作为父文件夹,输入库/ armeabi作为文件夹名称,并单击Finish。 2.复制javacpp.jar和javacv.jar到新创建的库文件夹中。 3.Extract所有* .so文件从javacv-的Andr​​oid arm.jar,OpenCV的-2.4.6.1 - Android的arm.jar和的ffmpeg-2.0.1-的Andr​​oid arm.jar直接到新创建的库/ armeabi文件夹中,而不会产生任何的JAR文件中找到的子目录。 5.Navigate到项目>属性> Java构建路径>库,然后单击添加JAR文件...。 6.选择既javacpp.jar和javacv.jar新设立的库文件夹中。

1.Go to File > New > Folder, select your project as parent folder, type "libs/armeabi" as Folder name, and click Finish. 2. Copy javacpp.jar and javacv.jar into the newly created "libs" folder. 3.Extract all the *.so files from javacv-android-arm.jar, opencv-2.4.6.1-android-arm.jar, and ffmpeg-2.0.1-android-arm.jar directly into the newly created "libs/armeabi" folder, without creating any of the subdirectories found in the JAR files. 5.Navigate to Project > Properties > Java Build Path > Libraries and click "Add JARs...". 6.select both javacpp.jar and javacv.jar from the newly created "libs" folder.

来源:的https://$c$c.google.com/p/javacv /

在你的libs文件夹中包含javacpp和javacv // code。 google.com/p/javacv/ ​​

Include javacpp and javacv in your libs folder: https://code.google.com/p/javacv/

查找javacpp需要的jar dowlnoad后,提取所需的SO文件(是的,你可以打开用WinRAR罐子)

Find the required jars in javacpp after dowlnoad and extract the required SO files (yes, you can open the jar with winrar)

编译并生成code在人脸识别在Android

Compile and build the code experimented in Face Recognition on Android

在这里,你走吧!它为我工作,所以我敢肯定,这将工作表你!

And here you go! It worked for me, so I'm sure it will work form you!

祝商祺!

这篇关于面对Android中使用OpenCV的认可?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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