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

Function decode_image

deploy/python/preprocess.py:20–39  ·  view source on GitHub ↗

read rgb image Args: im_file (str|np.ndarray): input can be image path or np.ndarray im_info (dict): info of image Returns: im (np.ndarray): processed image (np.ndarray) im_info (dict): info of processed image

(im_file, im_info)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

preprocessFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected