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 details)

Uploaded Source

Built Distribution

opencv_stream-0.0.8-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file opencv_stream-0.0.8.tar.gz.

File metadata

  • Download URL: opencv_stream-0.0.8.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for opencv_stream-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b54afbba5d1c86ae886f4adb093a64dfbcbab43ccb04e004b933e08cbd75803c
MD5 fd23500dccf946255eae406f5ca5a176
BLAKE2b-256 c667e625b5ee94fe4a8028de057f663d3fd0c8e6b684a5865ec48baf7b1b685b

See more details on using hashes here.

File details

Details for the file opencv_stream-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for opencv_stream-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c8f4cac58fc42f98535f6914e40bada66bc003545a4fc8a1f13f59a5eada7590
MD5 7135c6ad930e59d5d4732477484b918e
BLAKE2b-256 3e0db71dc84d1a27ba62d7efc1835a28a76896eb59517ca2bdb0175be1049b31

See more details on using hashes here.

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