Skip to main content

Python library for handling Cacophony Project Thermal Video (CPTV) files

Project description

This is Python package provides for quick, easy parsing for Cacophony Project Thermal Video (CPTV) files. It works with Python 3 only.

For more details on the internals of CPTV files, see the specification.

Example usage:

from cptv import CPTVReader


with open(filename, "rb") as f:
    reader = CPTVReader(f)
    print(reader.timestamp)
    print(reader.x_resolution)
    print(reader.y_resolution)

    for frame in reader:
        # Do something with frame.
        # Each frame is a 2D numpy array.

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

cptv-0.2.1.zip (8.5 kB view details)

Uploaded Source

File details

Details for the file cptv-0.2.1.zip.

File metadata

  • Download URL: cptv-0.2.1.zip
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cptv-0.2.1.zip
Algorithm Hash digest
SHA256 c37f16540c4c43bc6f0f220ef08ab4202df1f3a35ed081df95e4c8d6a944c11b
MD5 ca79bb92050ecd5685a3462cb6387b63
BLAKE2b-256 c2a6639b3f755f9b636f50a0e568b75dcabfef85da65a093e3f09c9ab9fb46a5

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