You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,10 @@ Dataset Crop was built using [Avalonia UI](https://avaloniaui.net/), so it is cr
54
54
5. Use the preview pane to adjust crop areas on each image. They can be positioned with the mouse.
55
55
6. Checking the **Selection mode** option and clicking on the crop area of images will toggle their "selected" state. This allows you to exclude images from the crop process.
56
56
Excluded images will turn their crop area preview's background to a semi-transparent red.
57
-
7. For the **Output Path** field, browse and select a directory where the cropped images will be saved, or manually paste the path in the text box.
58
-
8. Execute the batch crop process by clicking the **Crop** button.
59
-
9. The cropped images should be ready to be used in the training process. The input images are not modified in any way.
57
+
7. When defining invalid parameters (for example, when setting crop width to 100 pixels, but the image width is just 84 pixels), the preview panes will be disabled and their background set to a semi-transparent red. These images cannot be selected, and they will not be cropped.
58
+
8. For the **Output Path** field, browse and select a directory where the cropped images will be saved, or manually paste the path in the text box.
59
+
9. Execute the batch crop process by clicking the **Crop** button.
60
+
10. The cropped images should be ready to be used in the training process. The input images are not modified in any way.
awaitMessageBoxManager.GetMessageBoxStandardWindow("Error!","Specified crop size exceeds the bounds of the scaled image!"+Environment.NewLine+loadedImage.FilePath,ButtonEnum.Ok,MessageBox.Avalonia.Enums.Icon.Error).ShowDialog(this);
0 commit comments