kw6 reader
Project description
Minimalistic library for reading files in the kw6 file format. See the documentation for more information on the API.
Install
pip install kw6
Usage
from pathlib import Path
import kw6
path = Path('...')
for position in kw6.Reader.from_path(path):
for camera in position.cameras:
camera.image.save(
f'{position.header.frame_index}_{camera.header.camera_index}.png'
)
Command line tools for converting a kw6 file to videos or a folder with png images:
python -m kw6.to_videos path/to/kw6
python -m kw6.to_png path/to/kw6
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
kw6-0.2.1-py3-none-any.whl
(13.2 kB
view hashes)