使用EmguCv进行右侧人脸检测 [英] Right side Face detection with EmguCv
问题描述
大家好,
我在C#中使用EmguCv进行人脸检测和识别项目,所以我已经执行了一些步骤:
-检测正面和左侧
-识别人脸
Hello everybody, I works on a face detection and recognizing project with EmguCv in C#, so i already do some steps: -detect front face and left face -recognize faces
但是问题当我要检测人脸的右侧时它没用,因为分类器轮廓人脸.xml只能在左侧使用,我发现了一些做镜子的想法,但是我不知道该怎么做。
but the problem it when i want to detect right side of face it didn't work because the classifier profileface.xml just work for left side, i found some ideas for do a mirror but i have no idea how to do it.
所以请大家帮忙。要做到这一点,我会非常高兴。
so plz plz if some one have any idea to do it i will be very happy.
穆罕默德·哈萨尔(Mohammed Hassar)。
Mohammed Hassar.
推荐答案
有一个flip()函数:
there's a flip() function for this:
< a href = http://opencv.willowgarage.com/documentation/cpp/core_operations_on_arrays.html#flip rel = nofollow> http://opencv.willowgarage.com/documentation/cpp/core_operations_on_arrays.html#flip
这篇关于使用EmguCv进行右侧人脸检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!