From 55a3e52965296c4d0220e3b045488c05d7626da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mil=C3=A1n=20Figueredo?= Date: Fri, 1 Nov 2024 21:42:50 +0100 Subject: [PATCH] Added numpy and imutils imports to remote_detect() --- hook/zm_detect.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hook/zm_detect.py b/hook/zm_detect.py index ef3fc4d..11eef2b 100755 --- a/hook/zm_detect.py +++ b/hook/zm_detect.py @@ -29,6 +29,8 @@ def remote_detect(stream=None, options=None, api=None, args=None): import cv2 import json import time + import numpy as np + import imutils bbox = [] label = []