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.1.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

cptv-0.1.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file cptv-0.1.2.tar.gz.

File metadata

  • Download URL: cptv-0.1.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cptv-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8061d95d3435557c2bcd099e5f2dca526a3e581806f2a819cec374b6efbca242
MD5 cdb3f5cc667513ad243a92f728d85781
BLAKE2b-256 bbf49ee9d61f4b12e496d83acf0684f1861176a9a9dbc2d5d57cced34c14efcc

See more details on using hashes here.

File details

Details for the file cptv-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cptv-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 306b9740ac7ea7484b96df2c275b76f971667d4d12f5112fce9a2c7d25b36607
MD5 2fbd3040ac521311da48b9f90ed33e08
BLAKE2b-256 1fe34f43e5e1ac6371e57623ecc053396535c69a1d1f0d3d35a9692e42193dd8

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