如何在照片中为人像脱光 [英] how to bald a human image in photo

查看:316
本文介绍了如何在照片中为人像脱光的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一张包含任何人的实时图像的图片,我想让他秃顶,就像我希望在运行时只要按一下按钮就可以将他的头发从头上移开,我应该怎么做在c#中?

i have a picture that contain a real time image of any human and i want to make make him bald like i want that his hairs should be get removed from his head at run time on any button click , how shoud i do that in c# ?

推荐答案

Asma,这不是一个小任务,您要问的问题对于该论坛来说还不够具体.

您可以使用诸如 AForge.net [
但是,如果您这样做的话,请找到Imaging.HumanFaceManipulation库,让我知道!

当您开始深入研究问题的深层部分时,如果遇到任何特定的问题,请不要犹豫,将其发布在此处.

干杯.
Asma, this is no small task and the question you''re asking isn''t really specific enough for this forum.

You can make use of libraries such as AForge.net[^] which will have you on your way down this kind of development, but you''ll have to do the heavy lifting on your own.

Facial recognition components might also help: you would be able to get bearings on where the face is in the picture. This might allow you to "extract" the face, then you could perhaps use that in combination with AForge to make your magic.

If you do, however, find a Imaging.HumanFaceManipulation library let me know!

When you start plowing through the deeper parts of the problem, and if you run into any specific questions, please do not hesitate to post them here.

Cheers.


我们要认真一点:是关于编程还是艺术?形式上,关于人头的部分信息被头发遮盖了. .从只有照片的人的角度来看,此信息不存在.您只能幻想人头的形状,颜色和其他特征,并以某种方式绘制它.这就是所谓的艺术.几乎没有技术或科学.这样,该论坛就无法解决问题了.

—SA
Let''s be serious: is it about programming or art? Formally, part of information about person''s head is hidden by the hair. From the stand point of a person having just a photograph, this information does not exist. You can only fantasize about the shape, color and other characteristics of the persons head and draw it somehow. This is called art. Nothing or very little of technology or science. In this way, the problem is off-topic for this forum.

—SA


这篇关于如何在照片中为人像脱光的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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