{"id":15197169,"url":"https://github.com/ernanej/segment7-esp32cam-rpi","last_synced_at":"2025-04-14T20:12:58.309Z","repository":{"id":251690820,"uuid":"829731472","full_name":"ErnaneJ/segment7-esp32cam-rpi","owner":"ErnaneJ","description":"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.","archived":false,"fork":false,"pushed_at":"2024-08-04T17:18:56.000Z","size":52742,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T20:12:46.890Z","etag":null,"topics":["cloud","esp32","esp32-cam","iot","pdi","raspberrypi"],"latest_commit_sha":null,"homepage":"https://github.com/ErnaneJ/segment7-esp32cam-rpi/blob/main/doc/report.pdf","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ErnaneJ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-17T00:43:29.000Z","updated_at":"2025-02-07T01:39:05.000Z","dependencies_parsed_at":"2024-08-05T05:05:09.159Z","dependency_job_id":null,"html_url":"https://github.com/ErnaneJ/segment7-esp32cam-rpi","commit_stats":null,"previous_names":["ernanej/segment7-esp32cam-rpi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fsegment7-esp32cam-rpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fsegment7-esp32cam-rpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fsegment7-esp32cam-rpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fsegment7-esp32cam-rpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErnaneJ","download_url":"https://codeload.github.com/ErnaneJ/segment7-esp32cam-rpi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248952350,"owners_count":21188426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","esp32","esp32-cam","iot","pdi","raspberrypi"],"created_at":"2024-09-28T00:43:36.516Z","updated_at":"2025-04-14T20:12:58.274Z","avatar_url":"https://github.com/ErnaneJ.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IOT system for monitoring and notifying data from segment displays using image processing techniques 📸🔢🔍\n\nThis 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.\n\n| Multimeter | Device |\n|:-:|:-:|\n|![Multimeter](assets/multimeter.png)|![Device](assets/device.png)|\n\n## Overview 📝\n\nThe 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:\n\n1. **Image Capture**: ESP32-CAM captures images of the multimeter's display.\n2. **Image Processing**: Raspberry Pi receives images, enhances them for readability, and performs OCR using Tesseract to extract digits.\n3. **Data Interpretation**: Recognized digits are processed, interpreted, and published to a feed at regular intervals.\n\n## Execution 🚀\n\n| Input | Perspective | Threshold |Corrected Orientation |\n|:-:|:-:|:-:|:-:|\n|![input](assets/input.png)|![perspective](assets/perspective.png)|![threshold](assets/threshold.png)|![corrected_orientation](assets/corrected_orientation.png)|\n\n| Flood Fill | Corrected And Clean Orientation Image | Morphology |\n|:-:|:-:|:-:|\n|![flood_fill](assets/flood_fill.png)|![corrected_and_clean_orientation_image](assets/corrected_and_clean_orientation_image.png)|![morphology](assets/morphology.png)|\n\n```bash\ncd raspberrypi/build\ncmake ..\nmake \u0026\u0026 ./main\n[100%] Built target main\nStarting image processing...\nImage saved to: ../assets/input.jpg\nImage loaded successfully.\nApplying thresholding...\nCorrecting image orientation...\nApplying morphological operations...\nMorphological processing complete.\nPerforming OCR...\nTesseract initialized.\nImage set for OCR.\nOCR output: 8035\nOCR complete.\nExiting...\n```\n\n## Feed and Dashboard\n\n| Dashboard |\n|:-:|\n|[![Adafruit IO Dashboard](assets/dashboard.png)](https://io.adafruit.com/Ernane/dashboards/segment7-esp32cam-rpi)|\n\n| Feed |\n|:-:|\n|[![Adafruit IO Feed](assets/feed.png)](https://io.adafruit.com/Ernane/feeds/segment7-esp32cam-rpi)|\n\n## Report 📚\n\nFor a detailed explanation of the project, including methodologies and results, please refer to the [project report](doc/report.pdf).\n\n## License 📄\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernanej%2Fsegment7-esp32cam-rpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fernanej%2Fsegment7-esp32cam-rpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernanej%2Fsegment7-esp32cam-rpi/lists"}