[orx-boofcv] Update to 1.2.4

This commit is contained in:
Abe Pazos
2025-10-14 14:59:43 +02:00
parent 6f1e30a117
commit a631773968
2 changed files with 3 additions and 3 deletions

View File

@@ -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"

View File

@@ -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")