diff --git a/src/objectifier.py b/src/objectifier.py index 4e5003a..d435b2f 100644 --- a/src/objectifier.py +++ b/src/objectifier.py @@ -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), }