Metadata-Version: 2.0
Name: cptv
Version: 0.1.2
Summary: Python library for handling Cacophony Project Thermal Video (CPTV) files
Home-page: https://github.com/TheCacophonyProject/python-cptv
Author: The Cacophony Project
Author-email: dev@cacophony.org.nz
License: Apache License 2.0
Description-Content-Type: UNKNOWN
Keywords: video compression
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Multimedia :: Video :: Conversion
Requires-Dist: numpy
Requires-Dist: Pillow
Requires-Dist: opencv-python
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'

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.

.. _`specification`: https://github.com/TheCacophonyProject/go-cptv/blob/master/SPEC.md


