From 921cbc81e17d1e3039a6463a5d488a46de6809aa Mon Sep 17 00:00:00 2001 From: Zhiyong Wu Date: Mon, 17 Oct 2022 14:40:39 +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 --- track.py | 3 ++- yolov5_flask.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/track.py b/track.py index a94f5a0..703559a 100644 --- a/track.py +++ b/track.py @@ -274,4 +274,5 @@ if __name__ == '__main__': with torch.no_grad(): - detect(args) \ No newline at end of file + detect(args) + diff --git a/yolov5_flask.py b/yolov5_flask.py index 009f407..bdd6398 100644 --- a/yolov5_flask.py +++ b/yolov5_flask.py @@ -15,6 +15,7 @@ from utils.datasets import * from utils.utils import * + class Camera(BaseCamera): video_source = 'people.mp4'