Fix typo: dectection -> detection
This commit is contained in:
parent
686cfefc06
commit
a0af563334
|
@ -89,8 +89,8 @@ def detection_to_dict(d):
|
|||
|
||||
def result_to_dict(res, base_url):
|
||||
return {
|
||||
"labels": [detection.label for detection in res.dectections],
|
||||
"detections": [detection_to_dict(dectection) for detection in res.detections],
|
||||
"labels": [detection.label for detection in res.detections],
|
||||
"detections": [detection_to_dict(detection) for detection in res.detections],
|
||||
"output": base_url + basename(res.outfile),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue