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
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
opencv_stream-0.0.8.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for opencv_stream-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8f4cac58fc42f98535f6914e40bada66bc003545a4fc8a1f13f59a5eada7590 |
|
MD5 | 7135c6ad930e59d5d4732477484b918e |
|
BLAKE2b-256 | 3e0db71dc84d1a27ba62d7efc1835a28a76896eb59517ca2bdb0175be1049b31 |