mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
OpenMV固件源码
The old code did not actually implement the errode anhd dilate kernels correctly. However, it migh have been a little faster because it avoided the boundary problem. In the future we can optimize all the kernel code to have different loops for doing the edges of image versus the center. But, for now, this is good enough. QVGA color tracking with kernels will be slow, but, the speed can be improved with QQVGA resolution. Using a 3x3 kernel is plenty fast. Larger ones are slower. I also added the ability for you to set the threshold for erode and dialte. This lets you make the kenrel a little bit smarter so that it won't errode or dilate a pixel unless the threshold is met. Meaning, you'll be able to use erode to erode an image down to 1 pixel wide lines. |
||
|---|---|---|
| design | ||
| eagle | ||
| firmware | ||
| imgs | ||
| scad | ||
| src | ||
| udev | ||
| usr | ||
| util | ||
| .gitignore | ||
| .gitmodules | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
###OpenMV (Open Machine Vision Module)
OpenMV is an open-source tiny machine vision module based on the STM32F4xx ARM Cortex-M4 MCU and the OV2640 JPEG sensor.
OpenMV is programmable in Python3 (MicroPython) and capable of doing face detection and tracking, keypoint extraction, color tracking and more..The board has USB, a uSD connector and an expansion header (USART/SPI/I2C).
A Python IDE with syntax highlighting is available for the camera, it can run/upload scripts to the camera, view the framebuffer and update the firmware.