Skip to main content

A package for camera streams on the google coral

Project description


from TPUCameraManager.TPUCameraManager.TPUCameraManager import CameraManager, GStreamerPipelines

camMan = CameraManager() #Creates new camera manager object
CSICam = camMan.newCam(0) #Creates new RGB CSI-camera

#H264 = CSICam.addPipeline(GStreamerPipelines.H264,(640,480),30,"H264") #Creates an H264 stream at 30 fps and 640x480 for streaming server
#H264.addListener(<yourClass>) #Calls the out function in provided class everytime new data comes in
#AI = CSICam.addPipeline(GStreamerPipelines.RGB,(640,480),30,"AI") #Creates an RGB stream at 30 fps and 640x480 for AI
#CV = CSICam.addPipeline(GStreamerPipelines.RGB,(640,480),30,"CV") #Creates an RGB stream at 30 fps and 640x480 for openCV

MJPEG = CSICam.addPipeline(GStreamerPipelines.MJPEG,(640,480),30,"MJPEG")

CSICam.startPipeline() #Start gstreamer Streams
#CSICam.stopPipeline() #Stops gstreamer Streams

#CSICam.removePipeline("H264") #Removes a specific pipeline
#CSICam.removeAllPipelines() #Removes all pipleines from a camera object

#camMan.close(CSICam) #Close a specific camera object
#camMan.closeAll() #Close all camera objects created

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for TPUCameraManager, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size TPUCameraManager-0.1.1-py3-none-any.whl (9.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size TPUCameraManager-0.1.1.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page