KnowingFly26's picture
Add Hugging Face Spaces metadata
3705867
|
Raw History Blame Contribute Delete
899 Bytes
metadata
title: Depression Detection API
emoji: 🧠
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
license: mit

Depression Detection API

API for detecting depression from facial images using machine learning.

Endpoints

Endpoint Method Description
/ GET API info
/health GET Health check
/predict POST Predict depression from image
/docs GET Interactive API documentation

Usage

Health Check

curl https://knowingfly-depression-detection-api.hf.space/health

Prediction

curl -X POST "https://knowingfly-depression-detection-api.hf.space/predict" \
  -F "file=@your_image.jpg"

Response Format

{
  "prediction": "depression" | "neutral",
  "confidence": 0.85
}

Technology Stack

  • FastAPI
  • TensorFlow/Keras
  • OpenCV (Face Detection)
  • Docker