Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
def
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
61
def
extract_data(path):
Callers
1
traverse_dir
Function · 0.85
Calls
1
resize_with_pad
Function · 0.85
Tested by
no test coverage detected