MCPcopy Create free account
hub / github.com/Hironsan/BossSensor / read_image

Function read_image

boss_input.py:54–58  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

52
53
54def read_image(file_path):
55 image = cv2.imread(file_path)
56 image = resize_with_pad(image, IMAGE_SIZE, IMAGE_SIZE)
57
58 return image
59
60
61def extract_data(path):

Callers 1

traverse_dirFunction · 0.85

Calls 1

resize_with_padFunction · 0.85

Tested by

no test coverage detected