We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d74168d commit 1febdd8Copy full SHA for 1febdd8
src/groundlight/experimental_api.py
@@ -1011,7 +1011,8 @@ def create_bounding_box_detector( # noqa: PLR0913 # pylint: disable=too-many-ar
1011
# Use the detector to find people in an image
1012
image_query = gl.ask_ml(detector, "path/to/image.jpg")
1013
print(f"Confidence: {image_query.result.confidence}")
1014
- print(f"Bounding boxes: {image_query.result.rois}")
+ print(f"Label: {image_query.result.label}")
1015
+ print(f"Bounding boxes: {image_query.rois}")
1016
1017
:param name: A short, descriptive name for the detector.
1018
:param query: A question about the object to detect in the image.
0 commit comments