自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 学习日志4

人脸识别:如果识别到了人脸舵机转动import sensor, time, imagefrom pyb import Servos1 = Servo(1)sensor.reset()sensor.set_contrast(3)sensor.set_gainceiling(16)sensor.set_framesize(sensor.HQVGA)sensor.set_pixformat(sensor.GRAYSCALE)face_cascade = image.HaarCasca

2020-07-27 09:44:24 85

原创 学习日志3

#当检测出是红色时亮红灯或者绿色时亮绿灯或者蓝色时亮蓝灯。# Single Color RGB565 Blob Tracking Example## This example shows off single color RGB565 tracking using the OpenMV Cam.import sensor, image, time, mathfrom pyb import LEDred=LED(1)green=LED(2)bule=LED(3)threshold_in

2020-07-26 09:33:08 121

原创 学习日志2

#认识并学会读这些代码import sensor, image, timefrom pid import PIDfrom pyb import Servopan_servo=Servo(1)tilt_servo=Servo(2)red_threshold = (13, 49, 18, 61, 6, 47)pan_pid = PID(p=0.07, i=0, imax=90) #脱机运行或者禁用图像传输,使用这个PIDtilt_pid = PID(p=0.05, i=0, imax=

2020-07-25 07:44:17 86

原创 学习日志

学习日志#作业mark=[]def markreg(student,ask): mark.append(student) print("当前打卡人数为:",len(mark)) for ask in mark: if ask==student: flag=1 else: flag=0 markstudent=""while markstudent!="打卡完毕": markstudent=input("今天你打卡了吗?你是谁?")

2020-07-24 09:04:47 99

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除