Skip to main content

Wrapper over opencv for video processing and API development

Project description

opencv_stream

Under construction

Developed by Olivier

Examples of How To Use

Creating A Stream

from opencv_stream import VideoStreamer, FpsDrawer

stream = VideoStreamer.from_webcam()
fps_drawer = FpsDrawer()

@stream.on_next_frame()
def func(image:np.ndarray):
    fps_drawer.draw(image)

stream.start()
from opencv_stream import VideoStreamer

path = "[PATH TO VIDEO]"
stream = VideoStreamer.from_video_input(path)

@stream.on_next_frame()
def func(image:np.ndarray):
    pass

stream.start()

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

opencv_stream-0.0.8.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

opencv_stream-0.0.8-py3-none-any.whl (6.2 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