{"id":28281383,"url":"https://github.com/naso7y/ocr_egyptian_id","last_synced_at":"2025-08-01T19:02:39.316Z","repository":{"id":270044473,"uuid":"909176386","full_name":"NASO7Y/OCR_Egyptian_ID","owner":"NASO7Y","description":"Egyptian ID Card Recognition System 💳  A Python-based application to detect and process Egyptian ID cards using YOLO and EasyOCR.","archived":false,"fork":false,"pushed_at":"2025-02-22T14:18:40.000Z","size":32676,"stargazers_count":20,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T11:17:31.165Z","etag":null,"topics":["deep-learning","easyocr","ocr","optical-character-recognition","paddleocr","streamlit","surya-ocr","tesseract-ocr","yolo","yolov8"],"latest_commit_sha":null,"homepage":"https://egyptianidocr.streamlit.app/","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/NASO7Y.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}},"created_at":"2024-12-27T23:52:16.000Z","updated_at":"2025-05-04T18:56:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f126558-92c1-4333-beb2-771e5c7fac76","html_url":"https://github.com/NASO7Y/OCR_Egyptian_ID","commit_stats":null,"previous_names":["naso7y/ocr_egyptian_id"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NASO7Y/OCR_Egyptian_ID","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASO7Y%2FOCR_Egyptian_ID","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASO7Y%2FOCR_Egyptian_ID/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASO7Y%2FOCR_Egyptian_ID/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASO7Y%2FOCR_Egyptian_ID/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NASO7Y","download_url":"https://codeload.github.com/NASO7Y/OCR_Egyptian_ID/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASO7Y%2FOCR_Egyptian_ID/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268281072,"owners_count":24225149,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"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":["deep-learning","easyocr","ocr","optical-character-recognition","paddleocr","streamlit","surya-ocr","tesseract-ocr","yolo","yolov8"],"created_at":"2025-05-21T11:17:08.706Z","updated_at":"2025-08-01T19:02:39.299Z","avatar_url":"https://github.com/NASO7Y.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Egyptian ID Card Recognition System – AI-Powered OCR \u0026 Fraud Detection**\n\n**A Python-based AI application for detecting, processing, and verifying Egyptian ID cards using YOLO and EasyOCR.**\n\n## **Key Features**\n\n🔹 **AI-Powered ID Detection** – Automatically detects and crops Egyptian ID cards from images.  \n🔹 **Advanced OCR (Optical Character Recognition)** – Extracts Arabic and English text from ID cards using EasyOCR.  \n🔹 **Field Extraction \u0026 Data Processing** – Captures essential details, including:\n\n- Full Name\n- Address\n- National ID Number\n- Birth Date\n- Governorate\n- Gender\n- Birth Place\n- Location\n- Nationality  \n\n🔹 **Fraud Detection System** – Detects fake IDs by verifying the authenticity of the ID photo and personal details.  \n🔹 **Web Interface with Streamlit** – Provides a user-friendly dashboard for seamless ID card processing.\n\n## **How It Works**\n\n1️⃣ **Upload an Image** – Use the web interface to upload an Egyptian ID card.  \n2️⃣ **AI-Powered Detection** – The system detects and extracts ID information.  \n3️⃣ **ID Decoding \u0026 Verification** – Deciphers ID numbers and flags potential fraudulent documents.  \n4️⃣ **Results Displayed** – View structured data, extracted text, and fraud detection status.\n\n## **Installation Guide**\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/NASO7Y/ocr_egyptian_ID.git\n   ```\n2. **Navigate to the project directory**:\n   ```bash\n   cd ocr_egyptian_ID\n   ```\n3. **Create a virtual environment** (recommended):\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\u0007ctivate\n   ```\n4. **Install dependencies**:\n   ```bash\n   pip install -r requirements.txt\n   ```\n5. **Run the application**:\n   ```bash\n   streamlit run APP.py\n   ```\n\n## **Model Training**\n\n- **YOLO Object Detection** – Trained for Egyptian ID card detection.  \n- **EasyOCR** – Used for high-accuracy text recognition in Arabic and English.\n\n## **Why Choose This System?**\n\n✅ **High Accuracy** – Advanced deep learning models ensure precise ID recognition.  \n✅ **Fraud Detection** – Protects against fake IDs by verifying images and personal details.  \n✅ **Fast \u0026 Automated** – AI speeds up document processing with minimal human effort.  \n✅ **User-Friendly Web Interface** – Easy-to-use Streamlit dashboard for seamless operation.\n\n## **Acknowledgments**\n\nThis project utilizes:\n\n- [YOLO](https://github.com/ultralytics/yolov5) for object detection.  \n- [EasyOCR](https://github.com/JaidedAI/EasyOCR) for text recognition.  \n- [Streamlit](https://streamlit.io/) for the web interface.\n\n## **Contribute to the Project**\n\nContributions are welcome! Fork the repository and submit a pull request with improvements. Make sure your code meets project standards and includes tests.\n\n## **Contact \u0026 Support**\n\nFor questions or feedback, feel free to open an issue or reach out to [NASO7Y](https://github.com/NASO7Y).\n\nEmail: ahmed.noshy2004@gmail.com\n\nLinkedIn: [LinkedIn](https://www.linkedin.com/in/nos7y/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaso7y%2Focr_egyptian_id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaso7y%2Focr_egyptian_id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaso7y%2Focr_egyptian_id/lists"}