新增 function 上傳 南側門進出資料
This commit is contained in:
parent
e13ee1284a
commit
0fe01e5508
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -493,6 +493,7 @@ class Camera(mp.Process):
|
||||||
self.licence_check(cars_data)
|
self.licence_check(cars_data)
|
||||||
self.IO_control()
|
self.IO_control()
|
||||||
# self.all_open()
|
# self.all_open()
|
||||||
|
self.state_check()
|
||||||
|
|
||||||
img = self.img.copy()
|
img = self.img.copy()
|
||||||
self.show_img(car_img)
|
self.show_img(car_img)
|
||||||
|
@ -610,6 +611,10 @@ class Camera(mp.Process):
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
self.IO.IO.break_1_clicked()
|
self.IO.IO.break_1_clicked()
|
||||||
|
|
||||||
|
# 判斷狀態並上傳到API
|
||||||
|
def state_check(self):
|
||||||
|
pass
|
||||||
|
|
||||||
## 將指定時間影片儲存
|
## 將指定時間影片儲存
|
||||||
def save_video(self):
|
def save_video(self):
|
||||||
day_7_date = (datetime.datetime.now() + datetime.timedelta(days=-7)).strftime("%Y%m%d")
|
day_7_date = (datetime.datetime.now() + datetime.timedelta(days=-7)).strftime("%Y%m%d")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user