Tested on Nucleo F411RE Based on OV7670 without FIFO, SCCB protocol rewritten. View on TFT ILI9341, possible capture picture on sd Around 3 frames per second Basic image treatment: zoom, rotation, etc Very basic pattern recognition, pattern being stored on SD, after camera capture, or from .bmp file (rgb 565, 120x160 max)
Dependencies: FastPWM SDFileSystem SPI_TFT_ILI9341 TFT_fonts imagetrlib mbed ov7670s
Revision 5:761794587e4e, committed 2016-03-14
- Comitter:
- sylvainkritter
- Date:
- Mon Mar 14 17:49:40 2016 +0000
- Parent:
- 4:3fc38eeb3674
- Commit message:
- Change default in main to display image
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3fc38eeb3674 -r 761794587e4e main.cpp --- a/main.cpp Wed Feb 17 16:54:52 2016 +0000 +++ b/main.cpp Mon Mar 14 17:49:40 2016 +0000 @@ -657,14 +657,14 @@ pc.printf("Hello World !\r\n"); ////////////////////////////////////////////////////////// // to view camera -/* + my_button.fall(&pressed); while (1) { capturecycle("/sd/picture.txt"); } } -*/ + ////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////// // to create a target from a .bmp to sd @@ -680,14 +680,14 @@ */ ////////////////////////////////////////////////////////// // to recognise a target from bmp and target on sd - +/* epatternmatch("/sd/manchodou.bmp","/sd/manchodou.txt"); while (1) { viewf(); searchp(filename); } } - + */ ////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////// // to recognise a target from bmp and target on sd, on edge