[orx-boofcv] convert to Kotlin DSL

This commit is contained in:
Edwin Jakobs
2021-09-01 09:23:14 +02:00
parent 8c5ccd691b
commit 0aff3f6bbf
5 changed files with 13 additions and 32 deletions

View File

@@ -16,14 +16,6 @@ import kotlin.math.sin
fun main() {
application {
program {
// -- this block is for automation purposes only
if (System.getProperty("takeScreenshot") == "true") {
extend(SingleScreenshot()) {
this.outputFile = System.getProperty("screenshotPath")
}
}
// Load an image, convert to BoofCV format using orx-boofcv
val input = loadImage("demo-data/images/image-001.png").toGrayF32()