SMPTE / ris-osvp-metadata-camdkit

Implements the SMPTE RIS OSVP camera metadata model
BSD 3-Clause "New" or "Revised" License
33 stars 6 forks source link

Camera Metadata Toolkit (camdkit)

Introduction

THIS IS A WORK IN PROGRESS

The toolkit implements the SMPTE RIS OSVP camera metadata model. The objective is to validate the model as well lower barrier to adoption.

Camera file from Vendor #1 --
                              \
Camera file from Vendor #2 ------ OSVP metadata model -------- JSON
                              /
Camera file from Vendor #3 --

The toolkit works by extracting metadata from various sources, e.g. camera files, and converting it into a single internal model that follows the metadata model currently in development by the SMPTE RIS OSVP effort. The internal model can then be serialized into representations such as JSON.

The model documentation is auto-generated.

How to extend

Quick start and demo

git clone ...

pip install --user pipenv

pipenv install --dev

export PYTHONPATH=src/main/python

pipenv run python src/main/python/camdkit/red/cli.py src/test/resources/red/A001_C066_0303LZ_001.static.csv src/test/resources/red/A001_C066_0303LZ_001.frames.csv