How to get a single entity from an image?

人走茶凉 提交于 2019-11-28 14:19:33

There is no easy and fast way to satisfy your requirements. For the beginning you can learn how to detect objects in OpenCV.

After this you can check haarcascade_fullbody.xml from OpenCV sources. This cascade is for detecting bodies, open it in text editor, there is additional information in header. Anyway, I'm not sure that existing cascade is too accurate for your needs.

From iOS5 and above you can user face detection API. By using FaceDetection APi you can easily find the face of the person. For reference and sample code here is the link.

All the best !!!

lakesh

For ios5.1+, using a CIDetector and CIFaceFeature class can be easily face recognition.

Body recognition, is you will need to use opencv library. Not yet supported by apple.

Have a look at this: http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en

Cropping an image in iOS using OpenCV face detection

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!