Skip to main content

Fancy Bounding Box - Rectangle for Object Detection

Project description

Fancybbox

PyPi version License: MIT

A package that allows to build Lib is a package that enables users to create visually appealing bounding boxes for object detection in image processing deep learning projects.
With a current version of 0.0.10, the package is constantly being updated and improved. The package offers a variety of features, including the ability to customize the appearance of bounding boxes with different colors, line widths, and styles. Additionally, it provides users with the flexibility to adjust the size and shape of the bounding boxes to meet their specific needs.'

Developed by Prashant Verma (c) 2023

This project still very much experimental and may change significantly.

Install

Install with all dependencies:

pip install fancybbox

Examples of How To Use (Alpha Version)

Creating A Sample detection function

import cv2
from fancy_bbox import FancyBox

# Load an image
image = cv2.imread("images/img_1.jpg")

# Detect an object and get its bounding box coordinates
x, y, w, h = [100, 100, 200, 200]

# Create a FancyBox object and draw it on the image
fancy_box = FancyBox(x, y, w, h, border_thickness=1, border_color=(0, 255, 0))
image_with_box = fancy_box.target_angle_bbox(image)


# Display the image with the box
cv2.imshow("Fancy Box Example", image_with_box)
cv2.waitKey(0)

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

fancybbox-0.0.12.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

fancybbox-0.0.12-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file fancybbox-0.0.12.tar.gz.

File metadata

  • Download URL: fancybbox-0.0.12.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for fancybbox-0.0.12.tar.gz
Algorithm Hash digest
SHA256 ce55565b028ae93ecaaa0fab1ebb02385d25a774c9f95957014fdfaf6e50be16
MD5 5d61427e0e0a5f34cd77522960bf87a4
BLAKE2b-256 d0577d08d168e3e053e35859d68e5e681bd73cef3144ebfb62cd092e57a52816

See more details on using hashes here.

File details

Details for the file fancybbox-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: fancybbox-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for fancybbox-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3f527d0b79f765e603408191011eb96cd8d953caa7db844ed2b0a0177dd1b2d3
MD5 b0a855dcfb1cb4733718219636e42fd6
BLAKE2b-256 19bd0046f25cfd77400b91f1d14be624709d6b915c1e70f3263d33b7435ee55a

See more details on using hashes here.

Supported by

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