{"id":28254906,"url":"https://github.com/lamouchi-bayrem/data-matrix-scanner","last_synced_at":"2026-04-30T07:38:35.209Z","repository":{"id":272093760,"uuid":"900286204","full_name":"Lamouchi-Bayrem/Data-Matrix-scanner","owner":"Lamouchi-Bayrem","description":"A dual-interface tool that leverages AI to **detect and decode QR codes and Data Matrix codes** from images using computer vision","archived":false,"fork":false,"pushed_at":"2025-06-06T22:00:47.000Z","size":674,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-30T07:38:13.459Z","etag":null,"topics":["data","datamatrix-scanner","decoder","flask","qrcode","scanner","tkinter-gui","webapp"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Lamouchi-Bayrem.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-12-08T11:45:20.000Z","updated_at":"2025-06-06T22:00:52.000Z","dependencies_parsed_at":"2025-01-12T04:21:22.766Z","dependency_job_id":"0abdefa1-fe0e-4b00-8afe-2c7c9f6ef6ae","html_url":"https://github.com/Lamouchi-Bayrem/Data-Matrix-scanner","commit_stats":null,"previous_names":["lamouchi-bayrem/data-matrix-scanner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lamouchi-Bayrem/Data-Matrix-scanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lamouchi-Bayrem%2FData-Matrix-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lamouchi-Bayrem%2FData-Matrix-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lamouchi-Bayrem%2FData-Matrix-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lamouchi-Bayrem%2FData-Matrix-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lamouchi-Bayrem","download_url":"https://codeload.github.com/Lamouchi-Bayrem/Data-Matrix-scanner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lamouchi-Bayrem%2FData-Matrix-scanner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32458237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["data","datamatrix-scanner","decoder","flask","qrcode","scanner","tkinter-gui","webapp"],"created_at":"2025-05-19T20:16:20.413Z","updated_at":"2026-04-30T07:38:35.194Z","avatar_url":"https://github.com/Lamouchi-Bayrem.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 📷 QR \u0026 Data Matrix Decoder Application\n\nThis project provides two intuitive interfaces to **detect and decode QR codes and Data Matrix codes**:\n\n1. 🌐 A **modern Flask-based web application**  \n2. 🖥️ A **desktop GUI application built with Tkinter**\n\n---\n\n-----\n## 🚀 Demo for the tkinter gui app\n![App Demo](https://github.com/Lamouchi-Bayrem/Data-Matrix-scanner/blob/main/imgs/Capture%20d'%C3%A9cran%202025-05-07%20003024.png)\n\n\n---------------\n## 🚀 Demo for the web app\n![App Demo](https://github.com/Lamouchi-Bayrem/Data-Matrix-scanner/blob/main/imgs/Capture%20d'%C3%A9cran%202025-05-07%20003212.png))\n\n## 🚀 Features\n\n- 🔍 Detects **QR codes** and **Data Matrix codes** in images\n- 🧠 Utilizes **YOLOv8** for robust and accurate detection\n- 🖼️ Handles **multiple codes per image**\n- 🧩 Displays **decoded data** with visual overlays\n- 🌐 Web app supports **drag-and-drop** uploads\n- 🖱️ Desktop app supports **file selection dialog**\n- 📋 One-click copy of decoded content\n- 🧪 Pre-packaged with sample images for testing\n\n---\n\n## 📦 Installation\n\n### ✅ Prerequisites\n\n- Python **3.8+**\n- `pip` package manager\n\n### 📥 Setup for Both Applications\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/Lamouchi-Bayrem/Data-Matrix-scanner.git\n   cd Data-Matrix-scanner\n\n\n2. **Install dependencies**:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Download the YOLO model weights**:\n\n   * Place `best.pt` in the root directory.\n\n---\n\n## 🌐 Web Application (Flask)\n\n### ▶️ Running the Web App\n\n```bash\npython app.py\n```\n\nAccess it at: [http://localhost:5000](http://localhost:5000)\n\n### 🧭 Usage\n\n* Open the web interface in your browser\n* Drag and drop an image or click to select\n* View decoded codes with bounding boxes\n* Copy results to clipboard\n\n### 📁 Web App Structure\n\n```\nweb-app/\n├── app.py                # Flask backend\n├── requirements.txt      # Web dependencies\n├── best.pt               # YOLOv8 model weights\n├── uploads/              # Uploaded images\n└── templates/\n    └── index.html        # Web interface\n```\n\n---\n\n## 🖥️ Desktop Application (Tkinter)\n\n### ▶️ Running the Desktop App\n\n```bash\npython tkinter_app.py\n```\n\n### 🧭 Usage\n\n* Launch the GUI\n* Click **\"Open Image\"** to choose a file\n* View decoded codes and visual highlights\n* Save or copy results\n\n### 📁 Desktop App Structure\n\n```\ndesktop-app/\n├── tkinter_app.py        # Desktop GUI\n├── requirements.txt      # GUI dependencies\n├── best.pt               # YOLOv8 model weights\n└── samples/              # Example test images\n```\n\n---\n\n## ⚙️ Performance Notes\n\n* ⏱️ **Average processing time**: 500–1500 ms per image (depending on hardware)\n* 📐 **Recommended image size**: 800–2000px per side\n* 🖼️ **Supported formats**: PNG, JPG, JPEG, BMP\n\n---\n\n## 🧰 Troubleshooting\n\n### ❌ No codes detected?\n\n* Ensure the image has good lighting\n* Try a higher resolution image\n* Lower the confidence threshold if needed\n\n### ❌ Installation errors?\n\n* Verify Python version (3.8+)\n* If using GPU, ensure CUDA is configured correctly\n\n---\n\n## 📄 License\n\nThis project is licensed under the **MIT License** – see the [LICENSE](LICENSE) file for details.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamouchi-bayrem%2Fdata-matrix-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamouchi-bayrem%2Fdata-matrix-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamouchi-bayrem%2Fdata-matrix-scanner/lists"}