We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df819f commit b8b1d4fCopy full SHA for b8b1d4f
src/main/kotlin/ch/bildspur/annotator/ui/MainViewController.kt
@@ -130,7 +130,9 @@ class MainViewController {
130
var sb = StringBuilder()
131
132
for (image in annotationImages) {
133
- sb.append("${image.file.absolutePath} ")
+ val path = Paths.get(positivesFile.absolutePath).parent.relativize(Paths.get(image.file.absolutePath))
134
+
135
+ sb.append("$path ${image.polygons.size} ")
136
for (polygon in image.polygons) {
137
val rect = getRectData(polygon)
138
sb.append("${rect.x} ${rect.y} ${rect.width} ${rect.height} ")
0 commit comments