V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
livevilwt
V2EX  ›  Python

用 Python 的 Opencv 模块如何做出人脸拼接的效果?

  •  
  •   livevilwt · 2015-03-01 11:30:02 +08:00 · 4102 次点击
    这是一个创建于 3342 天前的主题,其中的信息可能已经有所发展或是发生改变。
    例如有三张图片,分别对应人的正脸和左右侧脸,现在要把它们拼接在一起,形成一个类似展开的面,请问这要怎样做到呢?

    就是类似有点下面这图的感觉:
    http://7sbqim.com1.z0.glb.clouddn.com/20100326094856071012.jpg
    nower
        1
    nower  
       2015-03-01 13:48:30 +08:00
    取正脸、侧脸,拼接后滤波?
    bfti
        2
    bfti  
       2015-03-01 19:45:57 +08:00
    好吧,我邪恶了,这是拼的哪个地方啊?
    楼主明示吧:)
    joyee
        3
    joyee  
       2015-03-01 20:13:30 +08:00
    探测出人脸边缘->模糊边缘->边缘有一定重叠的拼接(比如区间取在两条边缘相隔最远距离加一个bias) 这样吧……?

    (话说这个效果好像 doctor who 里那个全宇宙最后一个地球人……)
    canautumn
        4
    canautumn  
       2015-03-02 06:55:35 +08:00
    这不就是3D建模里的UV texture map吗,任何一个3D软件都能做。要写份通用代码恐怕没那么容易
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5284 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 08:13 · PVG 16:13 · LAX 01:13 · JFK 04:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.