/openpose_bodyCrop

Crop images with Open Pose

Primary LanguagePython

Open Pose Crop Body

Description

Crop a person based on Open Pose points.

Deps Install

The precompiled binaries are for Python 3.7 . Only use Python 3.7 or this won't work.

Request Struct

 {
        "input":"media/Lady_04.jpg",
        "output":"media/Lady_04_out.jpg",
        "targetPoints": ["head", "hip"],
        "leftPadding": [80, 100],
        "topPadding": [80, 110],
    }

Response

{
    "media":[
    {"media": "base64", "type": "image/png"}
    
    ]
    }