From 6ba4353eb6db5d6277ba4576bbdfcd13bb20bd1b Mon Sep 17 00:00:00 2001 From: Zhiyong Wu Date: Mon, 17 Oct 2022 14:40:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yolov5_flask.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yolov5_flask.py b/yolov5_flask.py index 009f407..d5c273d 100644 --- a/yolov5_flask.py +++ b/yolov5_flask.py @@ -108,4 +108,5 @@ class Camera(BaseCamera): plot_one_box(xyxy, im0, label=label, color=colors[int(cls)], line_thickness=3) print('%sDone. (%.3fs)' % (s, t2 - t1)) - yield cv2.imencode('.jpg', im0)[1].tobytes() \ No newline at end of file + yield cv2.imencode('.jpg', im0)[1].tobytes() +