文件名称:ShakeForFood2
介绍说明--下载内容均来自于网络,请自行研究使用
里面所用的opencv全部开源…。例子是参考一个日本程序员弄的
使用此demo时 尽量不要戴眼睛或者侧面拍照,不然有可能识别不了!!!
请直接使用真机看效果…。
关于如何使用:
选择take photo wite camera,拍照完毕后选择face按钮进行识别就可以了…
如何在自己项目中加入此效果?
1.将此项目的libopencv_core.a,libopencv_imgproc.a,libopencv_objdetect.a拖入你的项目中
2.添加Accelerate。fr a mework
3.添加-lstdc++ and -lz to Other Linker Flags
4.设置OpenCV include OpenCV Lib 路径
有同学反应下载后文件丢失,请下载附件imgproc,解压后添加到opencv2文件夹中
有同学提问:如何获取识别是否成功的信息
答案:- (void)opencvFaceDetect:(UIImage *)overlayImage 方法中
if (faces->total <= 0 )
{
//…我擦 你失败了
}
else
{
//…给力 你成功了
}-The inside with opencv All open source ... The example is a reference to a Japanese programmer to get this demo, try not to wear the eyes or on the side of camera, or you may not recognize that! ! ! Please use a real machine to see the effect ... On how to use: take photo wite camera, camera finished face button to identify to join this effect ... how in their own projects? This project libopencv_core.a, libopencv_imgproc.a, libopencv_objdetect.a dragged into your project. Adding Accelerate. fr a mework 3. add-lstdc++ and-lz to Other Linker Flags 4. settings OpenCV include OpenCV Lib path classmates reaction download file is missing, download attachments imgproc, unpacked added to opencv2 folder classmates questions: How to Get to identify whether successful answer:- (void) opencvFaceDetect: (UIImage*) overlayImage method if (faces-> total < = 0) {//... I rub you failed} else {//... to force your success}
使用此demo时 尽量不要戴眼睛或者侧面拍照,不然有可能识别不了!!!
请直接使用真机看效果…。
关于如何使用:
选择take photo wite camera,拍照完毕后选择face按钮进行识别就可以了…
如何在自己项目中加入此效果?
1.将此项目的libopencv_core.a,libopencv_imgproc.a,libopencv_objdetect.a拖入你的项目中
2.添加Accelerate。fr a mework
3.添加-lstdc++ and -lz to Other Linker Flags
4.设置OpenCV include OpenCV Lib 路径
有同学反应下载后文件丢失,请下载附件imgproc,解压后添加到opencv2文件夹中
有同学提问:如何获取识别是否成功的信息
答案:- (void)opencvFaceDetect:(UIImage *)overlayImage 方法中
if (faces->total <= 0 )
{
//…我擦 你失败了
}
else
{
//…给力 你成功了
}-The inside with opencv All open source ... The example is a reference to a Japanese programmer to get this demo, try not to wear the eyes or on the side of camera, or you may not recognize that! ! ! Please use a real machine to see the effect ... On how to use: take photo wite camera, camera finished face button to identify to join this effect ... how in their own projects? This project libopencv_core.a, libopencv_imgproc.a, libopencv_objdetect.a dragged into your project. Adding Accelerate. fr a mework 3. add-lstdc++ and-lz to Other Linker Flags 4. settings OpenCV include OpenCV Lib path classmates reaction download file is missing, download attachments imgproc, unpacked added to opencv2 folder classmates questions: How to Get to identify whether successful answer:- (void) opencvFaceDetect: (UIImage*) overlayImage method if (faces-> total < = 0) {//... I rub you failed} else {//... to force your success}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ShakeForFood2
.............\.DS_Store
__MACOSX
........\ShakeForFood2
........\.............\._.DS_Store
ShakeForFood2\.git
.............\....\branches
__MACOSX\ShakeForFood2\.git
........\.............\....\._branches
ShakeForFood2\.git\COMMIT_EDITMSG
__MACOSX\ShakeForFood2\.git\._COMMIT_EDITMSG
ShakeForFood2\.git\config
__MACOSX\ShakeForFood2\.git\._config
ShakeForFood2\.git\description
__MACOSX\ShakeForFood2\.git\._description
ShakeForFood2\.git\HEAD
__MACOSX\ShakeForFood2\.git\._HEAD
ShakeForFood2\.git\hooks
.............\....\.....\applypatch-msg.sample
__MACOSX\ShakeForFood2\.git\hooks
........\.............\....\.....\._applypatch-msg.sample
ShakeForFood2\.git\hooks\commit-msg.sample
__MACOSX\ShakeForFood2\.git\hooks\._commit-msg.sample
ShakeForFood2\.git\hooks\post-update.sample
__MACOSX\ShakeForFood2\.git\hooks\._post-update.sample
ShakeForFood2\.git\hooks\pre-applypatch.sample
__MACOSX\ShakeForFood2\.git\hooks\._pre-applypatch.sample
ShakeForFood2\.git\hooks\pre-commit.sample
__MACOSX\ShakeForFood2\.git\hooks\._pre-commit.sample
ShakeForFood2\.git\hooks\pre-rebase.sample
__MACOSX\ShakeForFood2\.git\hooks\._pre-rebase.sample
ShakeForFood2\.git\hooks\prepare-commit-msg.sample
__MACOSX\ShakeForFood2\.git\hooks\._prepare-commit-msg.sample
ShakeForFood2\.git\hooks\update.sample
__MACOSX\ShakeForFood2\.git\hooks\._update.sample
........\.............\....\._hooks
ShakeForFood2\.git\index
__MACOSX\ShakeForFood2\.git\._index
ShakeForFood2\.git\info
.............\....\....\exclude
__MACOSX\ShakeForFood2\.git\info
........\.............\....\....\._exclude
........\.............\....\._info
ShakeForFood2\.git\logs
.............\....\....\HEAD
__MACOSX\ShakeForFood2\.git\logs
........\.............\....\....\._HEAD
ShakeForFood2\.git\logs\refs
.............\....\....\....\heads
.............\....\....\....\.....\master
__MACOSX\ShakeForFood2\.git\logs\refs
........\.............\....\....\....\heads
........\.............\....\....\....\.....\._master
........\.............\....\....\....\._heads
........\.............\....\....\._refs
........\.............\....\._logs
ShakeForFood2\.git\objects
.............\....\.......\00
.............\....\.......\..\251ccd4dd0a819ac128bbe6d857ace3c73e1fe
__MACOSX\ShakeForFood2\.git\objects
........\.............\....\.......\00
........\.............\....\.......\..\._251ccd4dd0a819ac128bbe6d857ace3c73e1fe
........\.............\....\.......\._00
ShakeForFood2\.git\objects\01
.............\....\.......\..\18d3e136bcd9719495b32b9fd1d1c2132df06c
__MACOSX\ShakeForFood2\.git\objects\01
........\.............\....\.......\..\._18d3e136bcd9719495b32b9fd1d1c2132df06c
ShakeForFood2\.git\objects\01\6a37970ecab4cf29a837439d581c0fb1bf7218
__MACOSX\ShakeForFood2\.git\objects\01\._6a37970ecab4cf29a837439d581c0fb1bf7218
ShakeForFood2\.git\objects\01\e763286af3bcb20ba5375715a8452df186c38b
__MACOSX\ShakeForFood2\.git\objects\01\._e763286af3bcb20ba5375715a8452df186c38b
ShakeForFood2\.git\objects\01\f1ac4b60e301a56209fe4af97815b9104bc0cd
__MACOSX\ShakeForFood2\.git\objects\01\._f1ac4b60e301a56209fe4af97815b9104bc0cd
........\.............\....\.......\._01
ShakeForFood2\.git\objects\02
.............\....\.......\..\99abbc3f134151760a3dc0e26a9c9d55c08020
__MACOSX\ShakeForFood2\.git\objects\02
........\.............\....\.......\..\._99abbc3f134151760a3dc0e26a9c9d55c08020
ShakeForFood2\.git\objects\02\ce349e0e118359c9c173cd67d084c9e867c791
__MACOSX\ShakeForFood2\.git\objects\02\._ce349e0e118359c9c173cd67d084c9e867c791
........\.............\....\.......\._02
ShakeForFood2\.git\objects\04
.............\....\.......\..\2f8c1b67841a9fa1991ccff3072f426381881f
__MACOSX\ShakeForFood2\.git\objects\04
........\.............\....\.......\..\._2f8c1b67841a9fa1991ccff3072f426381881f
ShakeForFood2\.git\objects\04\ce39410717a18676a69a677c6011b52ff4d661
__MACOSX\ShakeForFood2\.git\objects\04\._ce39410717a18676a69a677c6011b52ff4d661
........\.............\....\.......\._04
ShakeForFood2\.git\objects\05
.............\....\.......\..\1a954b4e88679999594efbd4416c31f3873243
__MACOSX\ShakeForFood2\.git\objects\05
....