ARCHIVED

New location: https://github.com/AllSkyAI/AllSkyAI-ASPNetCore

AllSkyAI - ASPNetCore Client

This is a ASP.NET Core client for classifying sky conditions locally with a trained model from https://www.allskyai.com. When a request is sent it downloads the latest image from your AllSky and returns a classification that looks like this:

{"classification":"clear","confidence":94.55865,"inference":0.156}

It offers one simple preview page and a REST endpoint:
Webpage: https://localhost:5001/
REST: https://localhost:5001/Classify

MarineGEO circle logo

Confguration

First you need to download your model and labels file from https://www.allskyai.com (generic model is coming) and save it to the ./models/ directory.

config.cfg

In the extracted folder find a file called config.cfg

URL=https://<your-allsky>/image.jpg
MODEL=allskyai_2023-11-12-06-45-48.onnx
LABELS=label_map_2023-03-17-23-16-32.txt

Change these values to match your setup.


appsettings.json

If you would like to change your running port please look in the appsettings.json file in the root of the folder.