MCPcopy Create free account
hub / github.com/ProjectMitosisOS/mitosis-core / image_processing

Function image_processing

exp/fork-functions/image/function.py:85–94  ·  view source on GitHub ↗
(file_name, image_path)

Source from the content-addressed store, hash-verified

83 return [path]
84
85def image_processing(file_name, image_path):
86 path_list = []
87 start = time()
88 with Image.open(image_path) as image:
89 tmp = image
90 # path_list += flip(image, file_name)
91 path_list += rotate(image, file_name)
92
93 latency = time() - start
94 return latency, path_list
95
96@tick_execution_time
97def handler():

Callers 1

handlerFunction · 0.70

Calls 2

rotateFunction · 0.70
openMethod · 0.45

Tested by

no test coverage detected