{"id":25428802,"url":"https://github.com/sukundev/face-recognition-api","last_synced_at":"2025-07-07T06:38:28.880Z","repository":{"id":251011326,"uuid":"836133930","full_name":"SukunDev/Face-Recognition-API","owner":"SukunDev","description":"Face Recognition REST API adalah sebuah aplikasi berbasis Flask yang menggunakan DeepFace untuk melakukan deteksi dan pengenalan wajah.","archived":false,"fork":false,"pushed_at":"2025-02-05T01:19:45.000Z","size":4452,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T08:48:04.764Z","etag":null,"topics":["deepface","face-detection","face-recognition","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SukunDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-31T08:12:04.000Z","updated_at":"2025-02-05T01:20:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"671064e0-3205-407b-a2f4-d9f6d5fac9ed","html_url":"https://github.com/SukunDev/Face-Recognition-API","commit_stats":null,"previous_names":["sukundev/face-recognition-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SukunDev/Face-Recognition-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SukunDev%2FFace-Recognition-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SukunDev%2FFace-Recognition-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SukunDev%2FFace-Recognition-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SukunDev%2FFace-Recognition-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SukunDev","download_url":"https://codeload.github.com/SukunDev/Face-Recognition-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SukunDev%2FFace-Recognition-API/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264029592,"owners_count":23546499,"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","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":["deepface","face-detection","face-recognition","python"],"created_at":"2025-02-17T01:48:06.468Z","updated_at":"2025-07-07T06:38:28.858Z","avatar_url":"https://github.com/SukunDev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Face Recognition REST API\n\nFace Recognition REST API adalah sebuah aplikasi berbasis Flask yang menggunakan DeepFace untuk melakukan deteksi dan pengenalan wajah.\n\n## 🚀 Fitur\n\n- Deteksi wajah\n- Pengenalan wajah berdasarkan database gambar\n- API berbasis REST untuk kemudahan integrasi\n\n## 🛠 Teknologi yang Digunakan\n\n- Python\n- Flask\n- DeepFace\n- OpenCV\n\n## 📦 Instalasi\n\n### 1. Clone Repository\n\n```bash\ngit clone https://github.com/sukundev/Face-Recognition-API.git\n```\n\n### 2. Masuk ke Direktori Project\n\n```bash\ncd Face-Recognition-API\n```\n\n### 3. Buat Virtual Environment (Opsional)\n\nSangat disarankan untuk menjalankan proyek ini dalam virtual environment.\n\n```bash\npython -m venv venv\nsource venv/bin/activate  # Untuk Linux/Mac\nvenv\\Scripts\\activate  # Untuk Windows\n```\n\n### 4. Install Dependensi\n\n```bash\npip install -r requirements.txt\n```\n\n### 5. Jalankan Aplikasi\n\n```bash\npython app.py  # Atau\nflask run\n```\n\n## 🔥 Penggunaan API\n\n### 1. Endpoint: `/register-face`\n\n**Method:** `POST`\n\n- **Deskripsi:** Menyimpan Wajah\n- **Parameter:**\n  - `image` (file) - Gambar yang akan diproses\n- **Contoh Request:**\n\n```bash\ncurl -X POST -F \"image=@/path/to/image.jpg\" http://127.0.0.1:5000/register-face\n```\n\n\u003c!-- - **Contoh Response:**\n```json\n{\n  \"status\": \"success\",\n  \"faces\": [\n    {\n      \"x\": 100,\n      \"y\": 50,\n      \"width\": 150,\n      \"height\": 150\n    }\n  ]\n}\n``` --\u003e\n\n### 2. Endpoint: `/validate-face`\n\n**Method:** `POST`\n\n- **Deskripsi:** Memverifikasi apakah wajah ter-registrasi\n- **Parameter:**\n  - `image1` (file) - Gambar yang akan diproses\n- **Contoh Request:**\n\n```bash\ncurl -X POST -F \"image1=@/path/to/image1.jpg\" http://127.0.0.1:5000/validate-face\n```\n\n\u003c!-- - **Contoh Response:**\n\n```json\n{\n  \"status\": \"success\",\n  \"verified\": true,\n  \"confidence\": 0.89\n}\n``` --\u003e\n\n## 📜 Lisensi\n\nProyek ini menggunakan lisensi MIT. Silakan cek file `LICENSE` untuk informasi lebih lanjut.\n\n---\n\nDikembangkan oleh [sukundev](https://github.com/sukundev) 💻🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukundev%2Fface-recognition-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsukundev%2Fface-recognition-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukundev%2Fface-recognition-api/lists"}