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
longchisihai
V2EX  ›  Python

怎么识别图片中是否有人像?求思路

  •  
  •   longchisihai · 2017-03-03 15:02:29 +08:00 · 4332 次点击
    这是一个创建于 2617 天前的主题,其中的信息可能已经有所发展或是发生改变。
    求各位大佬给点思路,有很多张图片,全部都是风景照,和人的自拍照,有什么方法可以把里面把人的自拍照片筛选出来吗?
    20 条回复    2017-03-04 14:00:24 +08:00
    leejanfin
        1
    leejanfin  
       2017-03-03 15:08:02 +08:00 via iPhone
    这个应该有很多现成的库或者 API 可以做吧...
    LeeSeoung
        2
    LeeSeoung  
       2017-03-03 15:09:43 +08:00
    很多图像识别库都有现成的例子吧。。
    miaoever
        3
    miaoever  
       2017-03-03 15:10:28 +08:00 via iPhone
    Keyword: 人脸检测
    mooczz
        4
    mooczz  
       2017-03-03 15:13:12 +08:00
    iOS 的 Core Image 就包含人脸检测功能,第三方开源库有 Dlib , Open CV
    mooczz
        5
    mooczz  
       2017-03-03 15:14:06 +08:00
    最近在看 DLib ,有 python API
    popbones
        6
    popbones  
       2017-03-03 15:41:01 +08:00
    cs202
        7
    cs202  
       2017-03-03 15:43:19 +08:00
    https://aws.amazon.com/rekognition/

    Amazon Rekognition is a service that makes it easy to add image analysis to your applications. With Rekognition, you can detect objects, scenes, and faces in images. You can also search and compare faces. Rekognition ’ s API enables you to quickly add sophisticated deep learning-based visual search and image classification to your applications.
    ETiV
        8
    ETiV  
       2017-03-03 15:45:44 +08:00
    不知道 LZ 说的人像是不是人脸。

    opencv 就能用,自带的。无需训练,开箱即用。

    如果找得到人脸的话,会返回人脸、眼睛、鼻子、嘴的矩形。
    upygad
        9
    upygad  
       2017-03-03 16:22:22 +08:00
    又拍云的人脸识别功能,能够通过 URL 访问图片时,对图片进行识别。任务以同步的方式处理,处理完成后,响应信息中返回人脸识别的信息。
    具体了解可以看下:http://docs.upyun.com/cloud/face_detect/#_7
    R18
        10
    R18  
       2017-03-03 16:24:29 +08:00
    resulycheng
        11
    resulycheng  
       2017-03-03 16:48:15 +08:00
    全部上传 Google Photo 然后搜索 people
    upygad
        12
    upygad  
       2017-03-03 16:50:26 +08:00
    spike774
        13
    spike774  
       2017-03-03 16:56:05 +08:00
    同 8 楼 opencv 可以做这个事而且有训练好的模型,也有 py 包,教程详见
    http://docs.opencv.org/trunk/d7/d8b/tutorial_py_face_detection.html
    leavic
        14
    leavic  
       2017-03-03 17:55:55 +08:00 via iPhone
    dlib 的误判率比 opencv 好,几行代码就可以搞定了
    lunaticus7
        15
    lunaticus7  
       2017-03-03 18:02:49 +08:00   ❤️ 1
    https://github.com/seetaface/SeetaFaceEngine

    中科院山世光老师开源的 Seetaface
    开源库里的一股清流,我司最近刚用这个替换了旧有算法,国人骄傲,效果很好。
    jininij
        16
    jininij  
       2017-03-03 18:25:29 +08:00 via Android
    face++
    jijiwaiwai
        17
    jijiwaiwai  
       2017-03-03 18:28:44 +08:00
    深度学习库 keras ,分分钟写一个
    lk1ngaa7
        18
    lk1ngaa7  
       2017-03-03 21:14:56 +08:00
    aleen42
        19
    aleen42  
       2017-03-03 23:40:35 +08:00
    若楼主使用 c/c++ 可以参考一下这篇文章: http://www.learnopencv.com/facial-landmark-detection/
    hellocy
        20
    hellocy  
       2017-03-04 14:00:24 +08:00
    16 楼说的 face++ 挺好用的 人脸识别
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2290 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 03:40 · PVG 11:40 · LAX 20:40 · JFK 23:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.