--- title: RetinaFace Face Detection API emoji: 🔍 colorFrom: blue colorTo: red sdk: gradio sdk_version: 4.36.0 app_file: app.py pinned: false license: apache-2.0 --- # RetinaFace Face Detection API A state-of-the-art face detection API built with RetinaFace models and deployed on Hugging Face Spaces using Gradio. ## Features - **Real-time Face Detection**: Upload images and get instant face detection results - **Multiple Model Support**: Choose between MobileNet (lightweight) and ResNet50 (high accuracy) models - **API Endpoints**: RESTful API for integration with external applications - **Web Interface**: User-friendly Gradio interface for testing and demonstration - **Thunkable Integration**: Ready-to-use API endpoints for mobile app development ## Models - **MobileNet0.25**: Lightweight model optimized for speed and mobile deployment - **ResNet50**: High-accuracy model for precise face detection ## Usage ### Web Interface Visit the Gradio interface to upload images and test face detection in real-time. ### API Endpoint Use the `/api/predict` endpoint to integrate face detection into your applications: ```python import requests # Example API call response = requests.post( "https://aditya-g07-retinaface-face-detection.hf.space/api/predict", json={"data": [base64_image, "mobilenet"]} ) ``` ## Integration with Thunkable This API is designed to work seamlessly with Thunkable for mobile app development. Check the documentation for detailed integration examples. ## Technology Stack - **RetinaFace**: Face detection model - **PyTorch**: Deep learning framework - **Gradio**: Web interface and API framework - **Hugging Face Spaces**: Deployment platform ## License Apache 2.0 License - see LICENSE file for details.ce Face Detection API emoji: 🔍 colorFrom: blue colorTo: red sdk: gradio sdk_version: 4.44.0 app_file: app.py pinned: false license: mit --- RetinaFace Face Detection API emoji: � colorFrom: blue colorTo: red sdk: gradio sdk_version: 4.44.0 app_file: app.py pinned: false license: apache-2.0 ---