1 Star 0 Fork 1

如果未来有可能/ 人脸识别 Face recognition

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
savecsv.py 506 Bytes
一键复制 编辑 原始数据 按行查看 历史
Submitk 提交于 2021-04-21 22:57 . commit
import os
import csv
def create_csv(path):
with open(path, "w+", newline='') as file:
csv_file = csv.writer(file)
head = ["student_ID","time"]
csv_file.writerow(head)
def append_csv(path,datas):
with open(path, "a+", newline='') as file:
csv_file = csv.writer(file)
# datas = [["hoojjack3", "boy3"]]
csv_file.writerows(datas)
# if not os.path.exists('facetime.csv'):
# create_csv('facetime.csv')
# append_csv('facetime.csv',[["213","2020-04-21 17:43:23"]])
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/li12247060li/face-recognition.git
git@gitee.com:li12247060li/face-recognition.git
li12247060li
face-recognition
人脸识别 Face recognition
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385