diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ab4b1426..5237efcd 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -7,7 +7,7 @@ openrndr = { require = "[0.5,0.6.0)" } kotest = "5.9.1" dokka = "2.0.0" nebulaRelease = "18.0.7" -boofcv = "1.2.3" +boofcv = "1.2.4" libfreenect = "0.5.7-1.5.9" librealsense = "2.53.1-1.5.9" gson = "2.13.1" diff --git a/orx-jvm/orx-boofcv/src/demo/kotlin/DemoSimplified01.kt b/orx-jvm/orx-boofcv/src/demo/kotlin/DemoSimplified01.kt index 461af34a..399d4748 100644 --- a/orx-jvm/orx-boofcv/src/demo/kotlin/DemoSimplified01.kt +++ b/orx-jvm/orx-boofcv/src/demo/kotlin/DemoSimplified01.kt @@ -44,7 +44,7 @@ fun main() = application { // Convert the bitmap buffer into ShapeContours val vectorized = imageToContours(rt.colorBuffer(0)) - // Show amount of segments in each shape (high number) + // Print the number of segments in each shape (high number) vectorized.forEachIndexed { i, it -> println("boofcv shape $i: ${it.segments.size} segments") } @@ -64,7 +64,7 @@ fun main() = application { ShapeContour.fromPoints(it, true) } - // Show amount of segments in simplified shapes (low number). + // Print the number of segments in simplified shapes (low number). // Note: `smooth` and `polygonal` have the same number of segments smooth.forEachIndexed { i, it -> println("simplified shape $i: ${it.segments.size} segments")