MCPcopy Create free account
hub / github.com/HongwenZhang/PyMAF / process_image

Function process_image

demo.py:54–72  ·  view source on GitHub ↗

Read image, do preprocessing and possibly crop it according to the bounding box. If there are bounding box annotations, use them to crop the image. If no bounding box is specified but openpose detections are available, use them to get the bounding box.

(img_file, input_res=224)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

run_image_demoFunction · 0.85

Calls 1

cropFunction · 0.90

Tested by

no test coverage detected