Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ To use bbox-visualizer in a project:
# Load an image
image = cv2.imread('image.jpg')

# Draw a bounding box
bbox = (100, 100, 200, 200) # (x1, y1, x2, y2) format
image = bbv.draw_rectangle(image, bbox)

# Add a label
image = bbv.add_label(image, "Object", bbox)

Warning Control
-------------

Expand Down
Loading