如何从图像中获取单个实体? [英] How to get a single entity from an image?

查看:114
本文介绍了如何从图像中获取单个实体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用此图片。我想只有这个图像的人体部分。我不想要这张图片的背景。

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.

如何做到这一点?任何逻辑,链接或最简单的方法?

How to do this? Any logic, links or the best and simple way?

这是我想要的东西链接但我想在目标c

here is the thing i want Link but i want this in objective c

推荐答案

没有简单快捷的方法来满足您的要求。首先,您可以学习如何检测OpenCV中的对象

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

在此之后,您可以从OpenCV源检查 haarcascade_fullbody.xml 。此级联用于检测实体,在文本编辑器中打开它,标题中还有其他信息。
无论如何,我不确定现有的级联是否过于准确,无法满足您的需求。

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.

这篇关于如何从图像中获取单个实体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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