Introduction
CircuitPython driver for OV7670 cameras
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle or individual libraries can be installed using circup.
Usage Example
On an Adafruit Metro M4 Grand Central, capture a 40x30 image into a buffer:
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)
Documentation
API documentation for this library can be found on Read the Docs.
For information on building library documentation, please check out this guide.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Metadata
Release files for adafruit-circuitpython-ov7670 1.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adafruit_circuitpython_ov7670-1.1.9.tar.gz | 31.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adafruit_circuitpython_ov7670-1.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.8 kB
Release files / adafruit_circuitpython_ov7670-1.1.9.tar.gz
| Download URL | adafruit_circuitpython_ov7670-1.1.9.tar.gz |
|---|---|
| Size | 31.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5440c69a668ed1719d3452a947621c641de48e344ad874625caff30bea372750
|
|
BLAKE2b-256 checksum How to use checksums |
4c1fee1a9259e820ee080fe90cea97f45e9e113aff97e48eaa0a4dfbea76c34f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / adafruit_circuitpython_ov7670-1.1.9-py3-none-any.whl
| Download URL | adafruit_circuitpython_ov7670-1.1.9-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff0a28a7841c312a0afb385ef709b11e98d9185a696fe5d0ae43cbfb80d42cbb
|
|
BLAKE2b-256 checksum How to use checksums |
f7e8802e0715c8ecde3677b8d5ce7d78fb6730dc814985c522fa16e9a209d64a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|