Gazelle 22 is an image recognizer. Home page: Gaz.AI
Gazelle 22 runs on Windows, Mac and Linux. Install Temurin 17 (formerly known as Java) first, then download and double click gazelle.jar. On Linux you may have to give the jar file executable rights first.
Source code is managed externally.
img <- newImage 10 10
solution <- randomRect img 5 5
fillRect img solution (Color black)
And then a second script is analyzing the image and finding... the thing in it.
// make regions at full image size
def fullRegions colors {
(imageToRegions image
(new SnPSettings image colors)) regions
}
(g22_darkestRegion (fullRegions 2)) bounds