Full-stack application for predicting where humans look in images using DeepGaze saliency models. Includes heatmap overlays, gaze sequence prediction, hotspot detection, AOI analysis, rule-based insights, optional Claude AI design analysis, and professional PDF report generation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
325 B
Python
14 lines
325 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("/health")
|
|
async def health_check():
|
|
from app.services.saliency.model_manager import model_manager
|
|
|
|
loaded = list(model_manager.models.keys()) if model_manager.models else []
|
|
return {
|
|
"status": "ok",
|
|
"models_loaded": loaded,
|
|
}
|