Skip to main content

Stylized OpenCV rectangle and frame drawing helpers for detection overlays.

Project description

drawcv

drawcv is a lightweight Python package for drawing polished, style-rich bounding boxes with OpenCV.

Installation

pip install drawcv

Quick Start

import cv2
from drawcv import draw_visionframe_rectangle

image = cv2.imread("input.jpg")
draw_visionframe_rectangle(
    image=image,
    style_id="pro-clean-blue",
    coords=(80, 60, 280, 220),
)
cv2.imwrite("output.jpg", image)

Local Development

python -m venv .venv
.venv\Scripts\activate
pip install -e .[dev]

Build Distributions

python -m build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drawcv-0.1.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drawcv-0.1.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file drawcv-0.1.1.tar.gz.

File metadata

  • Download URL: drawcv-0.1.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for drawcv-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2082d576db54b50f0161fb77c2f6ad8937c5625d9f3b9ce77471757e1180c819
MD5 691be3ed1b0a1b5e578e7672c318c64d
BLAKE2b-256 b8acaa49a44d7361e4d9bc1166f01b210f76af333312276788720f2062eca9d2

See more details on using hashes here.

File details

Details for the file drawcv-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: drawcv-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for drawcv-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4db3702cb7f714e5dbca69c3d246ea8c4ac957260a9a0d85e4b6771ad57cd247
MD5 ffd9200d28148c720ad554bb7eb5f282
BLAKE2b-256 35716f2d74026b6c870e8e419e307a3a0c965921a3a50e01317fcb0bec57d41b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page