Skip to main content

Customize your object detection bounding boxes and filter the tracking zones with Lumina

Project description

Lumina 🚀

With Lumina, you can customize object bounding boxes for better visualization and create zones for more efficient tracking.

Output from Lumina

How to use Lumina❓

Install the module first using pip 🚀

pip install lumina

For Github clone 🚀

Github clone link : Lumina repo 🖥️

After Installation, Import the Lumina class 🚀

# create a .py file
# import modules
from Lumina.lumina import Lumina
from Lumina.colors import color_palette
# create a object of lumina 
lumina = Lumina()
#if you want color palette then do this, it will return random colors
color = color_palette() 

Usage (Functions of lumina)🎯

you can use this functions by - (lumina.<function_name>)


1.1 Polygon zone creation for detection or tracking

This function will create a polygon zone.

1.2 polygon_in_out_counter function will create polygon region and return image and bool = True , if anything is inside in the poly region. -- this function is helpful for region based tracking. Alternatively You can use line_in_out_counter

1.3 This function will create a mask, based on points. If you don't want to capture the whole frame then you can use this function. This will reduce computational cost.

It is my goal to constantly improve Lumina, and these are some of the initial features. I will be adding more features to better customize Lumina in the future. Thanks in advance. :)


Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

lumina-1.0.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

lumina-1.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file lumina-1.0.1.tar.gz.

File metadata

  • Download URL: lumina-1.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for lumina-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3041e8af7407b7d154f23d98a8ebaef67d4bc41af563cb58928106f7524fb64b
MD5 8fc718a8b7b854317547d55eb03d6eb5
BLAKE2b-256 67aa657a2b5aa6d34ee96615f46f6a80cac5697b1e4c9e7dba6f5ec21a458c93

See more details on using hashes here.

File details

Details for the file lumina-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: lumina-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for lumina-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d594f3539668e8f671935775ddc9608782e2c0270343ea53c152616fb4a699ab
MD5 de8ec7694eb1ec31937cd8029ffa0de0
BLAKE2b-256 ab680ac0ecbb158797e6c92576c5def002d8b2221a85c33bd823e7e1a0cb495e

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