Advanced pipelines for video datasets
Project description
Bumblebee
Bumblebee provides high level components to construct training pipelines for videos conveniently.
Install
pip install eyecu_bumblebee
Motivation
Everything should be made as simple as possible, but no simpler. - Albert Einstein
Our Websites
Examples
A pipeline with basic elements
from bumblebee import *
if __name__ == "__main__":
VIDEO_PATH = "/path/to/video.mp4"
# Create a source
file_stream = sources.FileStream(VIDEO_PATH)
# Add an effect
goto = effects.GoTo(file_stream)
# Add some transformers
data = transformers.GrayScale(file_stream)
data = transformers.Normalization(data)
END_OF_VIDEO = file_stream.get_duration()
goto(END_OF_VIDEO)
# Create a dataset
single_frame = datasets.SingleFrame(data)
last_frame = single_frame.read()
Using Manager API
from bumblebee import *
if __name__ == "__main__":
# Create a training manager
manager = managers.BinaryClassification(
["path/to/video_dir","path/to/another_dir"],
["path/to/labels"]
)
number_of_epochs = 300
for epoch,(frame_no,frame,prob) in manager(number_of_epochs):
# Use data stuff
...
Team
This project is currently developed and maintained by ovuruska.
License
Bumblebee has MIT license. You can find further details in 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
eyecu-bumblebee-0.4.0.tar.gz
(8.8 kB
view details)
Built Distribution
File details
Details for the file eyecu-bumblebee-0.4.0.tar.gz
.
File metadata
- Download URL: eyecu-bumblebee-0.4.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b594b6f7dee792a0a773deb3f72136e221b2378cd4e423858cb88a5680734fde |
|
MD5 | 6187063c201c5d469211a75d31b4d6ac |
|
BLAKE2b-256 | 518d08990da3d79a7873ad4b342dbe2dcfb509c0960ae412a4f7938d7477dc18 |
File details
Details for the file eyecu_bumblebee-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: eyecu_bumblebee-0.4.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 812f57369d6ea998431fd9756c2bd90472e285c7e2fb620816fe399496343df8 |
|
MD5 | 690d67bb9413a246502363143fe4ddde |
|
BLAKE2b-256 | 084b59e52b07f91cdda22d6ce0652e437c9ad1d65a20eee585738d3ed336029a |