Skip to main content

Advanced pipelines for video datasets

Project description

Bumblebee

Bumblebee image

Architecture Diagram

Architecture

Example Pipeline

from bumblebee import *

if __name__ == "__main__":

    VIDEO_PATH = "/path/to/video.mp4" # Path to video
    
    # Create a source
    file_stream = sources.FileStream(VIDEO_PATH)
    
    # Add goto effect
    goto        = effects.GoTo(file_stream)
    
    # Add some transformers
    data        = transfomers.GrayScale(file_stream)
    data        = transfomers.Normalization(data)

    
    END_OF_VIDEO = file_stream.get_duration()
    # Goto end of video
    goto(END_OF_VIDEO) 
    
    # Create a dataset
    dataset = datasets.SingleFrame(data)
    
    # Last frame of video
    last_frame = dataset.read()

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

eyecu-bumblebee-0.3.0.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

eyecu_bumblebee-0.3.0-py3-none-any.whl (12.8 kB view hashes)

Uploaded Python 3

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