OV7670摄像头的CircuitPython驱动程序
项目描述
简介
OV7670摄像头的CircuitPython驱动程序
依赖项
此驱动程序依赖于
请确保所有依赖项都在CircuitPython文件系统中可用。这可以通过下载Adafruit库和驱动程序包或使用circup安装单个库来实现。
使用示例
在Adafruit Metro M4 Grand Central上,将40x30图像捕获到缓冲区
import board
from adafruit_ov7670 import OV7670
cam = OV7670(
bus,
data_pins=[board.PCC_D0, board.PCC_D1, board.PCC_D2, board.PCC_D3, board.PCC_D4, board.PCC_D5, board.PCC_D6, board.PCC_D7],
clock=board.PCC_CLK,
vsync=board.PCC_DEN1,
href=board.PCC_DEN2,
mclk=board.D29,
shutdown=board.D39,
reset=board.D38,
)
cam.size = OV7670_SIZE_DIV16
buf = bytearray(2 * cam.width * cam.height)
cam.capture(buf)
文档
此库的API文档可在Read the Docs上找到。
有关构建库文档的信息,请参阅本指南。
贡献
欢迎贡献!在贡献之前,请阅读我们的行为准则,以帮助本项目保持友好。
项目详情
关闭
散列 用于 adafruit_circuitpython_ov7670-1.1.1-py3-none-any.whl
算法 | 散列摘要 | |
---|---|---|
SHA256 | 46288b01f7bd56266643a9073aae1fd98b9e59ac87b3151b0a586982f49ccbc5 |
|
MD5 | d176fd7773c4042037d61a2a945cf4e6 |
|
BLAKE2b-256 | 44aadb5f468a27393cda1983da7261f7cd68f73f89421201aa769e5bda47e7b8 |