Skip to content

Commit

Permalink
add doc (#1529)
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis-Dupont committed Oct 16, 2023
1 parent c74b034 commit 502313e
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 105 deletions.
1 change: 1 addition & 0 deletions documentation/source/ModelPredictions.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ images_predictions.show(box_thickness=2, show_confidence=True)
- `box_thickness`: Thickness of bounding boxes.
- `show_confidence`: Whether to show confidence scores on the image.
- `color_mapping`: List of tuples representing the colors for each class.
- `class_names`: List of class names to display. Only classes that the model was trained on are supported. By default, show all these classes.

### Save the Images with Detected Objects
To save the images with detected objects as separate files, call the `images_predictions.save()` method and specify the output folder.
Expand Down
Loading

0 comments on commit 502313e

Please sign in to comment.