Typo in var name...
This commit is contained in:
parent
65f163dd70
commit
25c69b1208
@ -110,7 +110,7 @@ def analyze_image(request: Request, image: UploadFile):
|
|||||||
print ("writing " + str(buffer_size) + " bytes")
|
print ("writing " + str(buffer_size) + " bytes")
|
||||||
f.write(chunk)
|
f.write(chunk)
|
||||||
chunk = image.file.read(buffer_size)
|
chunk = image.file.read(buffer_size)
|
||||||
dectect_result = detector.detect_objects(
|
detect_result = detector.detect_objects(
|
||||||
infile,
|
infile,
|
||||||
detection_timeout,
|
detection_timeout,
|
||||||
str(outgoing_dir / (file_hash.hexdigest() + ".png")))
|
str(outgoing_dir / (file_hash.hexdigest() + ".png")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user