unprint things
This commit is contained in:
parent
bc1cd9ee7c
commit
f7bd069198
@ -45,8 +45,8 @@ def detect():
|
|||||||
"""
|
"""
|
||||||
buf = request.files["image_file"]
|
buf = request.files["image_file"]
|
||||||
boxes, orientation = detect_objects_on_image(buf.stream)
|
boxes, orientation = detect_objects_on_image(buf.stream)
|
||||||
print(boxes)
|
#print(boxes)
|
||||||
print(orientation)
|
#print(orientation)
|
||||||
return jsonify(boxes)
|
return jsonify(boxes)
|
||||||
|
|
||||||
def detect_objects_on_image(buf):
|
def detect_objects_on_image(buf):
|
||||||
|
Loading…
Reference in New Issue
Block a user