Skip to content

A rtsp camera image grabber which clears the buffer to enable live streaming.

License

Notifications You must be signed in to change notification settings

lewis-morris/rtspbuffercam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtspbuffercam

rtspbuffercam can be used to connect to and read images for rtsp enabled camera's.

It uses sub processes to exhaust camera's buffer and eliminate any lag that might occur using a vanilla opencv connection.

Installation

Using pypi

pip install rtspbuffercam

or from source

git clone https://github.com/lewis-morris/rtspbuffercam
cd rtspbuffercam
python setup.py install

Example Usage

#import the rtspcam
from rtspcam import Camera

#create a new rtspcam object  
cam = Camera("rtsp:https://admin:[your password]@192.168.0.40/h264Preview_01_main")

#read image
image = cam.get_frame()

About

A rtsp camera image grabber which clears the buffer to enable live streaming.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published