OpenMV人脸识别
来源:互联网 发布:空手道数据集 编辑:程序博客网 时间:2024/06/09 20:56
实验结果:
程序代码:
import sensor, time, image, pyb
led = pyb.LED(3)
sensor.reset()
sensor.set_contrast(1)
sensor.set_gainceiling(16)
sensor.set_framesize(sensor.HQVGA)
sensor.set_pixformat(sensor.GRAYSCALE)
face_cascade = image.HaarCascade("frontalface", stages=25)
print(face_cascade)
clock = time.clock()
while (True):
clock.tick()
img = sensor.snapshot()
objects = img.find_features(face_cascade, threshold=0.75, scale_factor=1.25)
for r in objects:
img.draw_rectangle(r)
led.on() #亮灯
time.sleep(150) #延时150ms
led.off() #暗灯
time.sleep(100)
print(clock.fps())
阅读全文
1 1
- OpenMV人脸识别
- OpenMV 简介
- openmv学习
- OpenMV简介
- 语音识别&人脸识别
- OpenMV中文教程
- OpenMV时间操作
- openmv 飞机巡线
- OpenMV源码获取
- OpenMV使用初步
- OpenMV物品清单
- OpenMV参数标定
- OpenMV固件升级
- 【人脸识别】初识人脸识别
- 【人脸识别】初识人脸识别
- OpenCV的行人识别&人脸识别
- 图片识别之人脸识别API
- OpenCV的行人识别&人脸识别
- Caffe: 贾扬清2015年讲座
- Java IO知识点总结一(File类)
- atexit函数 exit 和_exit 的区别
- 利用RandomAccessFile对文件进行切割存储
- 机器学习-监督学习
- OpenMV人脸识别
- java Map 学习笔记
- Mybatis集成Spring MVC,使用Spring test进行测试
- NOIP2017模拟赛(14) 总结
- 数组排序
- sflowtrend 简单查看 二层口子里面的流量
- Spring 官网下载jar包
- Git
- mysql5.5 for linux 安装