爱意满满的作品展示区。
easternslope

Python 人脸拼接小脚本

  •  
  •   easternslope ·
    wangshub · Oct 29, 2018 · 2880 views
    This topic created in 2763 days ago, the information mentioned may be changed or developed.

    人脸拼接小工具

    为了向"大领导"可视化什么是夫妻相,利用 face_recognition 写了个人脸拼接小工具

    特性

    左右拼接

    上下拼接

    依赖

    使用

    • 左右拼接

      python3 face.py -l left.jpg -r right.jpg -o output.jpg

    • 上下拼接

      python3 face.py -l upside.jpg -r downside.jpg -o output.jpg

    • 详情 python3 face.py -h

      usage: face.py [-h] [-l LEFT] [-r RIGHT] [-u UPSIDE] [-d DOWNSIDE] [-o OUTPUT]
      
      face cut & concat tool
      
      optional arguments:
        -h, --help            show this help message and exit
        -l LEFT, --left LEFT  face on the left
        -r RIGHT, --right RIGHT
                              face on the right
        -u UPSIDE, --upside UPSIDE
                              face on the upside
        -d DOWNSIDE, --downside DOWNSIDE
                              face on the downside
        -o OUTPUT, --output OUTPUT
                              save concat image
      
      

    地址

    https://github.com/wangshub/face-concat

    License

    MIT @ github/wangshub

    2 replies    2018-10-29 16:35:59 +08:00
    dingyaguang117
        1
    dingyaguang117  
       Oct 29, 2018
    发际线不一样的,拼起来感人~
    easternslope
        2
    easternslope  
    OP
       Oct 29, 2018
    @dingyaguang117 令人头秃 😭
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2938 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 07:18 · PVG 15:18 · LAX 00:18 · JFK 03:18
    ♥ Do have faith in what you're doing.