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
Project details
Release history Release notifications | RSS feed
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.4.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file lumina-1.0.4.tar.gz
.
File metadata
- Download URL: lumina-1.0.4.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd38ebfc1560ab167aa02de8ce030af909ac13264ca1a0183d378881c39b261b |
|
MD5 | ba0715b3719d7e0c37163b36158180ae |
|
BLAKE2b-256 | 3ab8ef09a92c0615bd44765c46518e48870116c9aa305769b829840160b68aaf |
File details
Details for the file lumina-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: lumina-1.0.4-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.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c37b2298b535fedd2f2f4e19f329ecd2312e835552b015c5ed845d877f61784a |
|
MD5 | 2c92171be5b47ddcaaf4a17567895950 |
|
BLAKE2b-256 | 878cd55b511a84d55d6a1e4825c811cc1ce2c48b4ec461be6bded1cd9a496caf |