{"id":26012376,"url":"https://github.com/amid68/mask_social_detection","last_synced_at":"2026-04-26T16:32:27.484Z","repository":{"id":279483504,"uuid":"938965532","full_name":"Amid68/mask_social_detection","owner":"Amid68","description":"A computer vision project for detecting face masks and monitoring social distancing violations using deep learning and OpenCV","archived":false,"fork":false,"pushed_at":"2025-02-25T20:59:19.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T23:25:51.203Z","etag":null,"topics":["computer-vision","deep-learning","mask-detection","opencv","python","social-distancing","vgg19"],"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/Amid68.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-02-25T19:24:17.000Z","updated_at":"2025-02-25T20:59:22.000Z","dependencies_parsed_at":"2025-02-25T20:32:28.318Z","dependency_job_id":"074fb48b-6994-4365-a2f3-df175dfe0fe5","html_url":"https://github.com/Amid68/mask_social_detection","commit_stats":null,"previous_names":["amid68/mask_social_detection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Amid68/mask_social_detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amid68%2Fmask_social_detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amid68%2Fmask_social_detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amid68%2Fmask_social_detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amid68%2Fmask_social_detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Amid68","download_url":"https://codeload.github.com/Amid68/mask_social_detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amid68%2Fmask_social_detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32305035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"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":["computer-vision","deep-learning","mask-detection","opencv","python","social-distancing","vgg19"],"created_at":"2025-03-06T00:30:16.086Z","updated_at":"2026-04-26T16:32:27.467Z","avatar_url":"https://github.com/Amid68.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mask and Social Distancing Detection\n\nThis project implements a computer vision system that detects whether people are wearing face masks and monitors social distancing violations using deep learning (VGG19) and OpenCV’s Haar Cascade for face detection.\n\n## Features\n\n- **Face Detection:** Uses Haar Cascade classifiers to locate faces in images.\n- **Mask Detection:** Employs a transfer learning model based on VGG19 to classify whether a person is wearing a mask.\n- **Social Distancing Monitoring:** Calculates distances between detected faces to identify potential social distancing violations.\n- **Dataset Organization:** Includes scripts to automatically organize your dataset into Train, Validation, and Test splits.\n\n## Installation\n\n1. Clone the repository.\n2. Install the required dependencies:\n   ```bash\n   pip install -r requirements.txt\n    ```\n3. Organize your dataset:\n   - Place your downloaded dataset (with annotations and images folders) in data/face-mask-dataset/.\n   - Run python split_data.py to automatically organize the dataset into the required folder structure.\n4. in the model (if not already trained):\n    ```\n    python src/train_model.py\n    ```\n5. Test the system by running:\n    ```\n    python src/main.py\n    ```\n\n### License\n\nThis project is released under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famid68%2Fmask_social_detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famid68%2Fmask_social_detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famid68%2Fmask_social_detection/lists"}