Open-source ML system that classifies AllSky camera images. Detect clear skies, clouds, and precipitation automatically.
{
"skystate": "clear",
"confidence": 0.9847,
"probs": {
"clear": 0.9847,
"light_clouds": 0.0102,
"heavy_clouds": 0.0038,
"precipitation": 0.0013
}
}
ONNX Runtime, under 50ms
Simple JSON endpoints
One command deploy
Custom models
Clone & configure
git clone https://github.com/SkyClf/skyclf.git
cd skyclf
# Edit docker-compose.yml with your AllSky URL
Run with Docker
docker compose up -d
Get predictions
curl http://localhost:8080/api/clf
| Endpoint | Description |
|---|---|
GET /api/clf
|
Simple classification result |
GET /api/latest
|
Full image details + prediction |
GET /latest.jpg
|
Latest camera image |
GET /health
|
Health check |