{"id":25905573,"url":"https://github.com/nafisarkar/iot_omr_scanner","last_synced_at":"2026-03-04T23:02:20.549Z","repository":{"id":233894050,"uuid":"787985294","full_name":"Nafisarkar/IOT_OMR_SCANNER","owner":"Nafisarkar","description":"The IOT_OMR_SCANNER is an IoT-based project designed to automate the evaluation of OMR (Optical Mark Recognition) sheets","archived":false,"fork":false,"pushed_at":"2025-01-19T07:19:26.000Z","size":1161,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T06:00:10.449Z","etag":null,"topics":["esp32-cam","image","image-processing","iot","ocr-recognition","omr-sheet"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nafisarkar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-04-17T14:58:56.000Z","updated_at":"2025-01-19T07:20:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ced1038-d297-475c-9cfb-e4af5b34ff16","html_url":"https://github.com/Nafisarkar/IOT_OMR_SCANNER","commit_stats":null,"previous_names":["nafisarkar/iot_omr_scanner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nafisarkar/IOT_OMR_SCANNER","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nafisarkar%2FIOT_OMR_SCANNER","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nafisarkar%2FIOT_OMR_SCANNER/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nafisarkar%2FIOT_OMR_SCANNER/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nafisarkar%2FIOT_OMR_SCANNER/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nafisarkar","download_url":"https://codeload.github.com/Nafisarkar/IOT_OMR_SCANNER/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nafisarkar%2FIOT_OMR_SCANNER/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30098094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T22:49:54.894Z","status":"ssl_error","status_checked_at":"2026-03-04T22:49:48.883Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["esp32-cam","image","image-processing","iot","ocr-recognition","omr-sheet"],"created_at":"2025-03-03T05:15:34.804Z","updated_at":"2026-03-04T23:02:20.543Z","avatar_url":"https://github.com/Nafisarkar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🔍 IoT OMR Scanner\n\n**Automated Optical Mark Recognition System with ESP32-CAM**\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python](https://img.shields.io/badge/Python-3.7+-blue.svg)](https://www.python.org/downloads/)\n[![OpenCV](https://img.shields.io/badge/OpenCV-4.x-green.svg)](https://opencv.org/)\n[![ESP32](https://img.shields.io/badge/ESP32-CAM-red.svg)](https://www.espressif.com/)\n\n[Features](#-features) • [Installation](#-installation) • [Usage](#-usage) • [Hardware](#-hardware-requirements) • [Contributing](#-contributing)\n\n\u003c/div\u003e\n\n---\n\n## 📖 About\n\nThe **IoT OMR Scanner** is an innovative IoT-based solution that automates the evaluation of OMR (Optical Mark Recognition) sheets. Combining the power of ESP32-CAM for image capture with advanced OpenCV algorithms, this system provides accurate, real-time processing for educational institutions and examination centers.\n\n## ✨ Features\n\n### 📷 Smart Image Capture\n\n- **High-resolution imaging** with ESP32-CAM module\n- **Cost-effective** and compact hardware solution\n- **Wireless connectivity** for remote operation\n\n### 🧠 Advanced Computer Vision\n\n- **Intelligent preprocessing** with grayscale conversion and Gaussian blur\n- **Precise edge detection** using Canny Edge Detector\n- **Accurate circle detection** via Hough Circle Transform\n\n### ✅ Automated Answer Validation\n\n- **Smart positioning** algorithm (top-to-bottom, left-to-right sorting)\n- **Real-time comparison** with predefined answer keys\n- **Visual feedback** with color-coded results:\n  - 🔴 **Red circles**: Correct answers\n  - 🟢 **Green circles**: Incorrect answers\n\n### ⚡ Real-Time Processing\n\n- **Fast evaluation** suitable for high-volume environments\n- **Instant results** with detailed analytics\n- **Educational-grade accuracy** for reliable assessments\n\n## 🚀 Installation\n\n### Prerequisites\n\n- Python 3.7 or higher\n- ESP32-CAM module with firmware\n\n### Quick Start\n\n1. **Clone the repository**\n\n   ```bash\n   git clone https://github.com/Nafisarkar/IOT_OMR_SCANNER.git\n   cd IOT_OMR_SCANNER\n   ```\n\n2. **Install dependencies**\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n   Or install manually:\n\n   ```bash\n   pip install opencv-python numpy imutils\n   ```\n\n3. **Configure ESP32-CAM**\n\n   - Flash the ESP32-CAM with the provided firmware\n   - Set up wireless connection parameters\n\n4. **Setup paths**\n   - Update image paths in the configuration file\n   - Ensure proper directory structure\n\n## 📱 Usage\n\n### Step-by-Step Process\n\n1. **📸 Capture Image**\n\n   ```\n   Use ESP32-CAM to capture OMR sheet → Save to img/ folder\n   ```\n\n2. **🔧 Run Scanner**\n\n   ```bash\n   python main.py\n   ```\n\n3. **📊 View Results**\n   - Processed image with highlighted answers\n   - Console output with detection statistics\n   - Accuracy metrics and analysis\n\n### Expected Output\n\n```\nTotal circles detected: 40\nCorrect answers: 35\nAccuracy: 87.5%\n```\n\n### Core Components\n\n| Component               | Technology       | Purpose                               |\n| ----------------------- | ---------------- | ------------------------------------- |\n| **Image Preprocessing** | OpenCV           | Noise reduction, grayscale conversion |\n| **Edge Detection**      | Canny Algorithm  | Boundary identification               |\n| **Circle Detection**    | Hough Transform  | Mark recognition                      |\n| **Validation Engine**   | Custom Algorithm | Answer comparison                     |\n\n## 📋 Hardware Requirements\n\n### Essential Components\n\n- 🔧 **ESP32-CAM Module**\n- 🔧 **ESP32 Development Board**\n- 🔌 **Power Supply** (USB Cable or external)\n- 📄 **OMR Sheets** (standard format)\n\n### Optional Enhancements\n\n- 💡 **LED Lighting** for better image quality\n- 📦 **Enclosure** for portable operation\n- 🔋 **Battery Pack** for mobile use\n\n## 💻 Software Stack\n\n| Technology  | Version | Purpose              |\n| ----------- | ------- | -------------------- |\n| **Python**  | 3.7+    | Core processing      |\n| **OpenCV**  | 4.x     | Computer vision      |\n| **NumPy**   | Latest  | Numerical operations |\n| **Imutils** | Latest  | Image utilities      |\n\n## 🎯 Example Results\n\n### Before Processing\n\n![Input OMR Sheet](img/image.png)\n\n### After Processing\n\n- ✅ **Correct answers**: Highlighted in red\n- ❌ **Incorrect answers**: Highlighted in green\n- 📊 **Statistics**: Displayed in terminal\n\n## 🤝 Contributing\n\nWe welcome contributions! Here's how you can help:\n\n1. **🍴 Fork** the repository\n2. **🌟 Create** a feature branch (`git checkout -b feature/AmazingFeature`)\n3. **💾 Commit** your changes (`git commit -m 'Add some AmazingFeature'`)\n4. **📤 Push** to the branch (`git push origin feature/AmazingFeature`)\n5. **🔀 Open** a Pull Request\n\n### Areas for Contribution\n\n- 🐛 Bug fixes and improvements\n- 📚 Documentation enhancements\n- ✨ New features and algorithms\n- 🧪 Test coverage expansion\n\n## 📄 License\n\nThis project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- **OpenCV Community** - For providing powerful computer vision tools\n- **ESP32 Community** - For comprehensive documentation and support\n- **Contributors** - For making this project better\n\n## 📬 Contact \u0026 Support\n\n- **Author**: Shaon An Nafi\n- **Issues**: [GitHub Issues](https://github.com/Nafisarkar/IOT_OMR_SCANNER/issues)\n- **Discussions**: [GitHub Discussions](https://github.com/Nafisarkar/IOT_OMR_SCANNER/discussions)\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n**⭐ Star this repository if you found it helpful!**\n\n[🔝 Back to top](#-iot-omr-scanner)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafisarkar%2Fiot_omr_scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnafisarkar%2Fiot_omr_scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafisarkar%2Fiot_omr_scanner/lists"}