摘要: 一、打开摄像头 import cv2 import numpy as np def video_demo(): capture = cv2.VideoCapture(0)#0为电脑内置摄像头 while(True): ret, frame = capture.read()#摄像头读取,ret为是否成 阅读全文
posted @ 2020-09-27 16:46 山丘i 阅读(6197) 评论(0) 推荐(0) 编辑
摘要: pip install pymysql -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 一、数据库连接及创表 #encoding: utf-8 import pymysql # 配置基本信息 db = pymysql. 阅读全文
posted @ 2020-09-27 15:54 山丘i 阅读(176) 评论(0) 推荐(0) 编辑