Skip to main content

A package for camera streams on the google coral

Project description

TPUCameraManager

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.

Source Distribution

TPUCameraManager-0.1.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TPUCameraManager-0.1.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file TPUCameraManager-0.1.1.tar.gz.

File metadata

  • Download URL: TPUCameraManager-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for TPUCameraManager-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ab5aec9ee38c0ff772c784f3a73baf202b89984d30cbbcc5314f62771c2b790e
MD5 4245a03fef6a6df0573422a063872984
BLAKE2b-256 5fe4f4cc6b05c8a521717a092007a5bae6d80881ec33d0b7e30459dda45f598a

See more details on using hashes here.

File details

Details for the file TPUCameraManager-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: TPUCameraManager-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for TPUCameraManager-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af9d241898b1f6d545a124b0463de7c264e358a91113165c21ca9a1215305ee6
MD5 fe81afc61bd6c0bca24563893d9677c3
BLAKE2b-256 291690f93791a678e86dbd1e20e1bd390bab899ce80309f0fe07855d353e9a50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page