From 0fe01e5508d16e2000d2a324a38afd8bb3d071b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A8=81=E5=8B=9D=20=E5=BC=B5?= Date: Mon, 29 Apr 2024 13:54:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20function=20=E4=B8=8A?= =?UTF-8?q?=E5=82=B3=20=E5=8D=97=E5=81=B4=E9=96=80=E9=80=B2=E5=87=BA?= =?UTF-8?q?=E8=B3=87=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/vcs.xml | 6 ++++++ Yuntech_NET_Stable_0429/South_side/test_1115_main.py | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Yuntech_NET_Stable_0429/South_side/test_1115_main.py b/Yuntech_NET_Stable_0429/South_side/test_1115_main.py index 205edb8..5cd955c 100644 --- a/Yuntech_NET_Stable_0429/South_side/test_1115_main.py +++ b/Yuntech_NET_Stable_0429/South_side/test_1115_main.py @@ -493,6 +493,7 @@ class Camera(mp.Process): self.licence_check(cars_data) self.IO_control() # self.all_open() + self.state_check() img = self.img.copy() self.show_img(car_img) @@ -610,6 +611,10 @@ class Camera(mp.Process): time.sleep(0.5) self.IO.IO.break_1_clicked() + # 判斷狀態並上傳到API + def state_check(self): + pass + ## 將指定時間影片儲存 def save_video(self): day_7_date = (datetime.datetime.now() + datetime.timedelta(days=-7)).strftime("%Y%m%d")