From 0895256dc443fbc36898503d68fedba9acdd8e7b Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Thu, 24 Apr 2025 10:58:21 +0200 Subject: [PATCH] fix: converting ndarray to list --- secure_pixelation/get_bounding_boxes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secure_pixelation/get_bounding_boxes.py b/secure_pixelation/get_bounding_boxes.py index 64e1553..89e493f 100644 --- a/secure_pixelation/get_bounding_boxes.py +++ b/secure_pixelation/get_bounding_boxes.py @@ -18,5 +18,5 @@ def select_bounding_boxes(to_detect: str): fromCenter=False ) - raw_image.bounding_boxes.extend(bounding_boxes) + raw_image.bounding_boxes.extend(bounding_boxes.tolist()) raw_image.write_meta()