Skip to content

TVCal API and JSON Schema

Object Space

Generate your object space files in the way that is most comforatble for your platform. We provide a rich Rust API for creating serialized object space JSON. One can also use the JSON schema directly, for convenient generation using your programming language of choice.

API Examples

The Tangram Vision Basic repository is Rust-native. The C++ and Python wrappers presented here are based on the JSON schema, which is in turn based on the Rust API.

Language Link
Rust Tangram Vision Basic: schema_gen_objspc.rs
C++ Tangram Vision Basic: generate_plex.cpp
Python Tangram Vision Basic: generate_plex.py
JSON Schema Tangram Vision Basic: plex_schema.json

JSON Schema

This is a breakdown of the JSON Schema for object space. Details on objects, types, and references to both can be found here.

Object Space Schema

Calibration Metrics

There's a wealth of information found within a complete set of Calibration Metrics, aka metrics.json. Don't miss out!

Cal Metrics Schema