{"id":30253196,"url":"https://github.com/hamza-rafique/halal-verification","last_synced_at":"2025-08-15T12:49:25.580Z","repository":{"id":299970455,"uuid":"969539663","full_name":"Hamza-Rafique/halal-verification","owner":"Hamza-Rafique","description":"A deep learning model to classify food images as Halal or Haram using EfficientNet.","archived":false,"fork":false,"pushed_at":"2025-06-19T06:56:16.000Z","size":16524,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T07:45:44.704Z","etag":null,"topics":["ai","deep-learning","halal","halal-certification","halal-ecommerce","halal-food","islamictech","machinelearning","machinelearning-python","machinelearningprojects","muslimtech","opensource"],"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/Hamza-Rafique.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":"2025-04-20T11:37:23.000Z","updated_at":"2025-06-19T06:56:19.000Z","dependencies_parsed_at":"2025-06-19T07:55:53.141Z","dependency_job_id":null,"html_url":"https://github.com/Hamza-Rafique/halal-verification","commit_stats":null,"previous_names":["hamza-rafique/halal-verification"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hamza-Rafique/halal-verification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hamza-Rafique%2Fhalal-verification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hamza-Rafique%2Fhalal-verification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hamza-Rafique%2Fhalal-verification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hamza-Rafique%2Fhalal-verification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hamza-Rafique","download_url":"https://codeload.github.com/Hamza-Rafique/halal-verification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hamza-Rafique%2Fhalal-verification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270572686,"owners_count":24608834,"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-15T02:00:12.559Z","response_time":110,"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":["ai","deep-learning","halal","halal-certification","halal-ecommerce","halal-food","islamictech","machinelearning","machinelearning-python","machinelearningprojects","muslimtech","opensource"],"created_at":"2025-08-15T12:49:22.975Z","updated_at":"2025-08-15T12:49:25.521Z","avatar_url":"https://github.com/Hamza-Rafique.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🕌 𝗜𝗻𝘀𝗽𝗶𝗿𝗲𝗱 𝗯𝘆 𝘁𝗵𝗲 𝗤𝘂𝗿𝗮𝗻:\n```bash\nوَكُلُوا مِمَّا رَزَقَكُمُ اللَّهُ حَلَالًا طَيِّبًا ۚ وَاتَّقُوا اللَّهَ الَّذِي أَنتُم بِهِ مُؤْمِنُونَ\n\"And eat of what Allah has provided for you [which is] lawful and good. And fear Allah, in whom you are believers.\"\n```\n— 𝗤𝘂𝗿𝗮𝗻 𝟱:𝟴𝟴\n\n\n# Halal vs Haram Food Classifier\n\nA deep learning model to classify food images as **Halal** or **Haram** using EfficientNet.\n\n## Features\n- EfficientNetB0-based image classifier\n- Dataset with images and `labels.csv` for halal/haram labeling\n- Prediction script for new images\n  \n## 📦 Datasets (Help Improve Accuracy!)\n- Image Dataset: Kaggle - Halal/Haram Images https://www.kaggle.com/datasets/hamzamehar/data-set-halal-and-haram\n\n- CSV Labels: Kaggle - Halal/Haram Metadata  https://www.kaggle.com/datasets/hamzamehar/halal-vs-haram-csv-data\n\n## Installation\n```bash\npip install -r requirements.txt\n```\n\n## Training\n```bash\npython model.py\n```\n\n## Prediction\n```bash\npython predict.py path/to/food.jpg\n```\n\n## Dataset Format\nImages are organized in folders `halal/` and `haram/`, and accompanied by a `labels.csv` file containing:\n- `filename`\n- `label`\n- `description`\n- `ingredients`\n\n## Future Work\n- NLP classification using food ingredients or descriptions\n- Multilingual support for labeling\n\n  ## 👥 Contributors  \n\u003ca href=\"https://github.com/Hamza-Rafique/halal-verification/graphs/contributors\"\u003e  \n  \u003cimg src=\"https://contrib.rocks/image?repo=Hamza-Rafique/halal-verification\" /\u003e  \n\u003c/a\u003e  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamza-rafique%2Fhalal-verification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamza-rafique%2Fhalal-verification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamza-rafique%2Fhalal-verification/lists"}