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
`object_prediction_list` continues to work without modification.
136
+
The existing `object_prediction_list` property is unchanged and returns predictions for the first image, so code that uses `perform_inference` + `convert_original_predictions` + `object_prediction_list` continues to work without modification.
139
137
140
138
## Progress-Bar
141
139
@@ -175,11 +173,11 @@ result = get_sliced_prediction(
175
173
)
176
174
```
177
175
178
-
!!! tip "Notes" - `progress_bar` and `progress_callback` can be used together.
176
+
!!! tip "Notes"
179
177
180
-
When both are provided, the tqdm bar will display and the callback will be
181
-
called after each slice group is processed. - The `progress_callback` is called
182
-
with 1-based indices (i.e. first call will be `(1, total)`).
178
+
`progress_bar` and `progress_callback` can be used together. When both are provided, the tqdm bar will display and the callback will be called after each slice group is processed.
179
+
180
+
The `progress_callback` is called with 1-based indices, so the first call will be `(1, total)`.
183
181
184
182
## Exclude custom classes on inference
185
183
@@ -230,12 +228,9 @@ result.export_visuals(
230
228
export_dir="outputs/",
231
229
text_size=1.0, # Size of the class label text
232
230
rect_th=2, # Thickness of bounding box lines
233
-
text_th=2, # Thickness of the text
234
231
hide_labels=False, # Set True to hide class labels
235
232
hide_conf=False, # Set True to hide confidence scores
236
-
color=(255, 0, 0), # Custom color in RGB format (red in this example)
0 commit comments