MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleYOLO / __init__

Method __init__

deploy/python/preprocess.py:199–209  ·  view source on GitHub ↗

Resize image to target size, convert normalized xywh to pixel xyxy format ([x_center, y_center, width, height] -> [x0, y0, x1, y1]). Args: target_size (int|list): image target size.

(self, target_size)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected