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: CHANGELOG.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,15 @@
1
-
## 0.2.4 - 02.11.2025
1
+
## [unreleased]
2
+
3
+
### 🚀 Features
4
+
5
+
- Added param 'returnEmpty' to [ImageCropBoxes](https://scaledp.stabrise.com/en/latest/image/image_crop_boxes.html) for avoid to have exceptions if no boxes are found
6
+
7
+
### 🐛 Bug Fixes
8
+
9
+
- Fixed convert color schema in [YoloOnnxDetector](https://scaledp.stabrise.com/en/latest/models/detectors/yolo_onnx_detector.html)
| noCrop | bool | Raise error if no boxes to crop | True |
54
55
| limit | int | Limit number of crops per image | 0 (no limit) |
55
56
| autoRotate | bool | Auto rotate crop if box height > width | True |
57
+
| returnEmpty | bool | Return empty list if no boxes found | False |
56
58
57
59
## Notes
58
-
- Crops are performed using bounding boxes from the `boxes` column.
59
-
- If `noCrop` is True and no boxes are present, an error is raised.
60
+
- Crops are performed using bounding boxes from the `boxes` column (e.g., output of [FaceDetector](https://scaledp.stabrise.com/en/latest/models/detectors/face_detector.html)).
61
+
- If `noCrop` is True and no boxes are present, an error is raised unless `returnEmpty` is True.
60
62
- If `limit` is set, only the first N boxes are used for cropping.
61
63
- If `autoRotate` is True, crops are rotated if the bounding box height is greater than its width.
64
+
- If `returnEmpty` is True, returns an empty list of images if no boxes are found (prevents exceptions).
62
65
- Supports distributed processing with Spark.
63
66
- Errors can be propagated or handled gracefully based on `propagateError`.
0 commit comments