Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yunir/detect-circles
The program that detects red and black circles and prints their amount
https://github.com/yunir/detect-circles
gradle kotlin pngj programming
Last synced: 25 days ago
JSON representation
The program that detects red and black circles and prints their amount
- Host: GitHub
- URL: https://github.com/yunir/detect-circles
- Owner: Yunir
- Created: 2020-03-23T17:17:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-14T19:33:25.000Z (over 2 years ago)
- Last Synced: 2024-10-29T22:33:19.787Z (2 months ago)
- Topics: gradle, kotlin, pngj, programming
- Language: Kotlin
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Detect circles
The program should count the number of red and black circles on a green background.
In the picture, in addition to circles, there may be rectangles with sides parallel to the borders of the picture.
TIP: We can assume that all figures are separated from each other and from the border
== How-to
To run the program on unix-like systems just type:[source,shell]
----
./gradlew -q run
----
For windows:[source,shell]
----
.\gradlew.bat -q run
----