priyamdave000167/Ai_art_and_real_image_detector
0
๐ AI Art vs Real Image Detector (FastAPI)
This project detects whether an uploaded image is:
- Real
- AI Generated
- Other / Uncertain
Built using:
- FastAPI
- TensorFlow (CPU)
- OpenCV
- Docker (Hugging Face Spaces compatible)
๐ง Model
- Format:
.keras - Input size:
224 x 224 - Output: single probability score ---
๐ API Endpoints
GET /
Health check
GET /health
Health check with model status
POST /predict
Upload an image file
Response
{
"filename": "image.jpg",
"prediction": "AI Generated",
"confidence": "92.31%"
}