https://github.com/code2k13/rpipico_digit_classification
Identification of handwritten digit from images taken by a OV7670 camera module connected to a Raspberry Pi Pico and a 120x160 TFT LCD display. The Pi Pico running CircuitPython handles everything from image acquisition to post-processing and inference. This code is somewhat experimental, but it is fun to play with. For more information, please visit the project's webpage.
https://github.com/code2k13/rpipico_digit_classification
artificial-intelligence camera circuitpython edge-computing edge-machine-learning image-recognition machine-learning ov7670 python raspberry-pi-pico rp2040 scikitlearn-machine-learning st7735r tft-display
Last synced: 5 months ago
JSON representation
Identification of handwritten digit from images taken by a OV7670 camera module connected to a Raspberry Pi Pico and a 120x160 TFT LCD display. The Pi Pico running CircuitPython handles everything from image acquisition to post-processing and inference. This code is somewhat experimental, but it is fun to play with. For more information, please visit the project's webpage.
- Host: GitHub
- URL: https://github.com/code2k13/rpipico_digit_classification
- Owner: code2k13
- License: mit
- Created: 2022-09-03T17:09:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-22T15:53:46.000Z (over 2 years ago)
- Last Synced: 2025-05-06T18:46:29.155Z (9 months ago)
- Topics: artificial-intelligence, camera, circuitpython, edge-computing, edge-machine-learning, image-recognition, machine-learning, ov7670, python, raspberry-pi-pico, rp2040, scikitlearn-machine-learning, st7735r, tft-display
- Language: Python
- Homepage: https://ashishware.com/2022/09/03/pipico_digit_classification/
- Size: 7.05 MB
- Stars: 21
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Handwritten digit classification using Raspberry Pi Pico and ML

A project using Raspberry Pi Pico, an OV7670 camera module, a 120x160 TFT LCD display and machine learning to build a portable handwritten digit classification system. This code is highly experimental. Even after you follow all the recommended steps in this article, some tinkering will still be necessary to get it to work.
Link to video demo of project: https://youtu.be/beKvz8K6b_4
## To run the code
You will need following files on your CircuitPython board:
- code.py
- svm_min.py
- Required libraries in *lib* folder. List of all library files you need for the project is present lib_folder_contents.txt
- You will also need the [Helvetica-Bold-16.bdf](https://raw.githubusercontent.com/adafruit/Adafruit_Learning_System_Guides/master/PyPortal_Astronauts/fonts/Helvetica-Bold-16.bdf) font file for running the code.
## To setup hardware and wiring
For details about setting up the hardware and wiring, please visit:
https://ashishware.com/2022/09/03/pipico_digit_classification/