pywayne-cv-camera-model

Load YAML camera models and perform projection operations via Python wrappers.

8|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/wangyendt/wayne-skills --skill pywayne-cv-camera-model
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pywayne-cv-camera-model
Source: https://github.com/wangyendt/wayne-skills/tree/main/pywayne/cv/camera-model
Command: npx skills add https://github.com/wangyendt/wayne-skills --skill pywayne-cv-camera-model

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a Pythonic wrapper to load camera models from YAML configurations, access key properties (model type, image size, distortion), perform projection operations (lift_projective, space_to_plane), and export camera parameters as dictionaries to simplify downstream workflows.

Core Features & Use Cases

  • Load camera models from YAML files and inspect properties such as model type, image size, and distortion parameters.
  • Perform projection operations (lift_projective and space_to_plane) to map between image coordinates and 3D rays.
  • Export camera parameters as dictionaries for easy integration with data pipelines and models.

Quick Start

Create a CameraModel instance, load a YAML configuration file, and access its properties to begin camera-based workflows.

Frequently Asked Questions about pywayne-cv-camera-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load camera model parameters from a YAML configuration file in Python?

To load camera model parameters from a YAML configuration file in Python, instantiate a CameraModel wrapper and pass the YAML file path. This uses pybind11 bindings to parse configurations and expose properties like model type, image size, and distortion parameters for computer vision workloads.

How do I project 3D space coordinates onto an image plane using a loaded camera model?

To project 3D space coordinates onto an image plane, use the space_to_plane projection method provided by the camera model wrapper. This maps 3D spatial points directly to 2D image coordinates using the loaded YAML parameters and distortion properties.

What is the lift_projective operation in camera model projections?

The lift_projective operation in camera model projections maps 2D image coordinates back to 3D rays. It reverses the projection process, allowing you to lift normalized image points into 3D space using the camera model's intrinsic parameters loaded from YAML.

Can I export camera parameters as a dictionary for ML data pipelines?

Yes, you can export camera parameters as a dictionary for ML data pipelines. The Python wrapper provides functionality to extract all loaded camera model properties, including distortion parameters and model type, into a standard dictionary format for downstream integration.

Does this Python camera model wrapper require compiling pybind11 bindings?

The Python camera model wrapper relies on pybind11 bindings to interface with the underlying C++ camera_models library. Users need an environment that supports pybind11 compilation to successfully build and utilize the projection methods and YAML loading functionalities.

What camera properties can I inspect after loading a YAML configuration?

After loading a YAML configuration, you can inspect camera properties including the model type, image size, and distortion parameters. These properties are accessible directly through the Python wrapper to facilitate projection computations and parameter management.