File size: 238 Bytes
e724e19
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import base64
from handler import EndpointHandler

my_handler = EndpointHandler(path=".")
image = base64.b64encode(open("./car.png", "rb").read())

input = {"image": image, "points": [[450, 600]]}
result = my_handler(input)
print(result)