An open API service indexing awesome lists of open source software.

https://github.com/ernanej/segment7-esp32cam-rpi

Project to integrate an ESP32-CAM with a Raspberry Pi for reading and interpreting a 7-segment digital display with the possibility of monitoring and notifications.
https://github.com/ernanej/segment7-esp32cam-rpi

cloud esp32 esp32-cam iot pdi raspberrypi

Last synced: about 1 year ago
JSON representation

Project to integrate an ESP32-CAM with a Raspberry Pi for reading and interpreting a 7-segment digital display with the possibility of monitoring and notifications.

Awesome Lists containing this project

README

          

# IOT system for monitoring and notifying data from segment displays using image processing techniques πŸ“ΈπŸ”’πŸ”

This project integrates an ESP32-CAM with a Raspberry Pi to read and interpret digital displays from a multimeter, enhancing visibility and publishing data to a feed.

| Multimeter | Device |
|:-:|:-:|
|![Multimeter](assets/multimeter.png)|![Device](assets/device.png)|

## Overview πŸ“

The ESP32-CAM captures images of a multimeter's 7-segment display, serving them over HTTP using its IP address. The Raspberry Pi then processes these images:

1. **Image Capture**: ESP32-CAM captures images of the multimeter's display.
2. **Image Processing**: Raspberry Pi receives images, enhances them for readability, and performs OCR using Tesseract to extract digits.
3. **Data Interpretation**: Recognized digits are processed, interpreted, and published to a feed at regular intervals.

## Execution πŸš€

| Input | Perspective | Threshold |Corrected Orientation |
|:-:|:-:|:-:|:-:|
|![input](assets/input.png)|![perspective](assets/perspective.png)|![threshold](assets/threshold.png)|![corrected_orientation](assets/corrected_orientation.png)|

| Flood Fill | Corrected And Clean Orientation Image | Morphology |
|:-:|:-:|:-:|
|![flood_fill](assets/flood_fill.png)|![corrected_and_clean_orientation_image](assets/corrected_and_clean_orientation_image.png)|![morphology](assets/morphology.png)|

```bash
cd raspberrypi/build
cmake ..
make && ./main
[100%] Built target main
Starting image processing...
Image saved to: ../assets/input.jpg
Image loaded successfully.
Applying thresholding...
Correcting image orientation...
Applying morphological operations...
Morphological processing complete.
Performing OCR...
Tesseract initialized.
Image set for OCR.
OCR output: 8035
OCR complete.
Exiting...
```

## Feed and Dashboard

| Dashboard |
|:-:|
|[![Adafruit IO Dashboard](assets/dashboard.png)](https://io.adafruit.com/Ernane/dashboards/segment7-esp32cam-rpi)|

| Feed |
|:-:|
|[![Adafruit IO Feed](assets/feed.png)](https://io.adafruit.com/Ernane/feeds/segment7-esp32cam-rpi)|

## Report πŸ“š

For a detailed explanation of the project, including methodologies and results, please refer to the [project report](doc/report.pdf).

## License πŸ“„

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.