I was looking into having an ASCOM safety monitor telling me if there are clouds or not and could not find anything that suits my needs.
There are several AI solutions out there, but usually I got stuck at generating the required model.
So I put this repo together that gives simple commandline option to train a model from an allsky camera (or any camera for that matter) and use that model to generate a Safe/Unsafe text file.
I also put in a small GUI to show the current state. The GUI watches a file and if that file modified time changes, runs a prediction and updates the Safe/Unsafe state in the results file.

I m using allsky with an RPI3 to generate the images and then use this to make the Safe/Unsafe classification for the safety monitor.

Minimal testing due to no clear skys. I made heavy use of Gemini AI to throw the code together.

The repo with full instructions can be found here
https://github.com/stone17/astro_cloud_detector

cloud_gui.png
Like