当前位置:网站首页>mv-lcd初始化
mv-lcd初始化
2022-08-06 13:59:00 【ooolmf】
# LCD Example
#
# Note: To run this example you will need a LCD Shield for your OpenMV Cam.
#
# The LCD Shield allows you to view your OpenMV Cam's frame buffer on the go.
import sensor, image, lcd
sensor.reset() # Initialize the camera sensor.
sensor.set_pixformat(sensor.RGB565) # or sensor.GRAYSCALE
sensor.set_framesize(sensor.QQVGA2) # Special 128x160 framesize for LCD Shield.
#lcd.init(1,128,160,framesize=lcd.FWVGA,60) # Initialize the lcd screen.
lcd.init(1, 128, height=160, framesize=0, refresh=30, triple_buffer=False, bgr=False)
while(True):
lcd.display(sensor.snapshot()) # Take a picture and display the image.
边栏推荐
- 解决创建虚拟机时No DEFAULT or UI configuration directive found问题
- LeetCode刷题日记:135. 分发糖果
- 报错:C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\cuda\Indexing.cu:699: block: [9,0,0],
- R语言ggplot2可视化:可视化多分类变量箱图(Box Plot)、自定义箱图箱体的填充色、添加主标题、副标题、题注信息
- SparkStreaming 案例实操 完整使用 (第十七章)
- [Blue Bridge Cup Training 100 Questions] Scratch ticket change, Blue Bridge Cup scratch competition special prediction programming questions, training simulation practice questions No. 23
- gcc安装问题总结
- burst!Ni Xingjun served as the chairman of Alipay China. He was born in technology and wrote the first line of "Alipay" code......
- 【ASM】字节码操作 MethodVisitor 案例实战 init 方法生成
- MODBUS转PROFINET网关将电力智能监控仪表接入PROFINET网络案例
猜你喜欢

leetcode链表系列(环形链表篇)

运筹说 第71期|论文速读之时间背包问题

LeetCode 热题 HOT 100(2.两数相加)

MODBUS转PROFINET网关将电力智能监控仪表接入PROFINET网络案例
![[TypeScript] In-depth study of TypeScript decorators](/img/c9/5246411eafe6acf84aa2cc8b3b0157.png)
[TypeScript] In-depth study of TypeScript decorators

如何使用 Kubernetes Hooks 跟踪容器生命周期

Talking about Tree Arrays

Swift如何更灵活的使用switch...case操作符

LeetCode高频题78. 子集,返回该数组所有可能的子集(幂集),生成所有的子序列

Total Software Deployment为您的企业网络管理软件部署
随机推荐
3 d format conversion tool HOOPS Exchange using guide, beginners will look
R language ggplot2 visualization: Visualize multi-category variable box plot (Box Plot), customize the fill color of box plot box, add main title, subtitle, caption information
LeetCode刷题日记:全排列
MODBUS to PROFINET gateway to connect power intelligent monitoring instrument to PROFINET network case
我终于逃离了互联网,却陷入了迷茫
巴比特 | 元宇宙每日必读:什么是中国特色的元宇宙之路?边界和机会在哪里?...
博学谷学习记录】超强总结,用心分享 | mongodb基础用法
Talking about Tree Arrays
1. 什么是微服务 ?
解决spacedesk卸载/重装软件时显示 指定的账户已存在
MySQL存储引擎
接口的安全设计三要素:ticket,签名,时间戳
select、poll和epoll的优势和缺陷
TensorRT详细入门指南
Learn more TypeScript 】 【 TypeScript namespace
[TypeScript] In-depth study of TypeScript decorators
redis data types and common commands
MODBUS to PROFINET gateway to connect power intelligent monitoring instrument to PROFINET network case
mosquitto使用的基本流程以及一些遇见的问题
【ASM】字节码操作 MethodVisitor 案例实战 init 方法生成