Skip to main content

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

Metadata

Release files for lumina 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lumina 1.0.5
File Size Uploaded
lumina-1.0.5.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lumina 1.0.5
File Interpreter ABI Platform
lumina-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / lumina-1.0.5.tar.gz

Download URL lumina-1.0.5.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d0949b36e8e5a69819ae4034f27b27174fe630f9d21b14b352c7dca1a09837c2
BLAKE2b-256 checksum
How to use checksums
e887adbf8d2b2ad49c3cd216fe089696c8df2a8f605bf0850edbf313a3c8c1f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Release files / lumina-1.0.5-py3-none-any.whl

Download URL lumina-1.0.5-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66b8b03e25ece89301f4ddfc85b1dcec13d3214231d54746b155f1ee8729a9ad
BLAKE2b-256 checksum
How to use checksums
23f239b5f079eae84d58179fbc4207da6a9554cf053ffd8746822802e5302e61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page