摘要: 1 import cv2 2 3 camera = cv2.VideoCapture(0) 4 5 frame_width = int(camera.get(3)) 6 frame_height = int(camera.get(4)) 7 8 # 训练好的模型 9 face_cascade = c 阅读全文
posted @ 2024-09-17 03:10 ZeroZN 阅读(103) 评论(0) 推荐(0)
摘要: 本人小白一枚 1 #/usr/bin/env python 2 #-*- coding:utf-8 -*- 3 # @Time : 2020/7/25 0:11 4 # @Author : Zero, 纷飞的花火丶 5 # @File : 学生管理系统.py 6 # @Software: PyCha 阅读全文
posted @ 2020-09-15 09:39 ZeroZN 阅读(1367) 评论(0) 推荐(0)
摘要: 本人小白一枚 先把所需要的东西安装上 第三方库: opencv-python; opencv-contrib-python; PIL; numpy然后就是人脸的模型:https://github.com/lucas8264/opencv/tree/master/data↓训练模型的代码(需要在程序根 阅读全文
posted @ 2020-09-15 09:36 ZeroZN 阅读(246) 评论(0) 推荐(0)
摘要: 1. 运行python代码。 在d盘下创建一个t1.py文件内容是: print('hello world') 打开windows命令行输入cmd,确定后 写入代码python d:t1.py 您已经运行了第一个python程序, 即:终端 >cmd > python 文件路径。 回车搞定~ 2. 阅读全文
posted @ 2020-07-23 20:49 ZeroZN 阅读(172) 评论(0) 推荐(0)
摘要: Bin(二进制)Oct(八进制)Dec(十进制)Hex(十六进制)缩写/字符解释 0000 0000 0 0 00 NUL(null) 空字符 0000 0001 1 1 01 SOH(start of headline) 标题开始 0000 0010 2 2 02 STX (start of te 阅读全文
posted @ 2020-07-19 15:25 ZeroZN 阅读(287) 评论(0) 推荐(0)