How to get a single entity from an image?

后端 未结 3 1723
灰色年华
灰色年华 2020-12-12 02:31

I am using this image. I would like to have only the human part from this image. I don\'t want the background of this image.

3条回答
  •  失恋的感觉
    2020-12-12 02:59

    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

提交回复
热议问题