← All skills
Tencent SkillHub Β· AI

Pywayne Cv Camera Model

Camera model wrapper for camera_models C++ library via pybind11. Use when working with pywayne.cv.camera_model module to load camera models from YAML configu...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Camera model wrapper for camera_models C++ library via pybind11. Use when working with pywayne.cv.camera_model module to load camera models from YAML configu...

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 10 sections Open source page

Pywayne Camera Model

This module wraps the camera_models C++ library via pybind11, providing a Python interface for camera operations.

Quick Start

from pywayne.cv.camera_model import CameraModel from pywayne.cv.tools import write_cv_yaml import numpy as np # Create camera model camera = CameraModel() # Load from YAML file camera.load_from_yaml('camera_config.yaml') # Access properties print(f"Model: {camera.model_type}") print(f"Size: {camera.image_width}x{camera.image_height}")

Loading from YAML

from pathlib import Path # Sample YAML configuration yaml_data = { "model_type": "PINHOLE", "camera_name": "my_camera", "image_width": 1280, "image_height": 720, "distortion_parameters": {"k1": 0.0, "k2": 0.0}, "projection_parameters": {"fx": 600.0, "fy": 600.0, "cx": 640.0, "cy": 360.0} } # Write YAML file write_cv_yaml('camera_config.yaml', yaml_data) # Load model camera.load_from_yaml('camera_config.yaml')

Supported Camera Models

Model TypeDescriptionPINHOLEStandard pinhole camera with radial distortionPINHOLE_FULLFull pinhole model with all distortion parametersCATACatadioptric camera modelEQUIDISTANTEquidistant camera modelOCAMUnified camera model

lift_projective()

Lifts a 2D image point to a 3D projective ray: # Input can be tuple, list, or numpy array ray_3d = camera.lift_projective([u, v]) # Returns np.ndarray (x, y, z)

space_to_plane()

Projects a 3D point onto the 2D image plane: # Input can be tuple, list, or numpy array uv = camera.space_to_plane([x, y, z]) # Returns np.ndarray (u, v)

Properties

PropertyDescriptionmodel_typeCamera model type (enum)camera_nameName of the loaded cameraimage_widthImage width in pixelsimage_heightImage height in pixels

Parameters Dictionary

Export all camera parameters as a dictionary: params = camera.get_parameters_as_dict() print(params) Includes model-specific parameters: Pinhole: k1, k2, p1, p2, fx, fy, cx, cy Pinhole Full: k1-k6, p1-p2, fx, fy, cx, cy CATA: xi, k1-k2, p1-p2, gamma1-2, u0, v0 Equidistant: k2-k5, mu, mv, u0, v0 OCAM: C, D, E, center_x, center_y, poly, inv_poly

Requirements

camera_models - C++ library (auto-downloaded via gettool if missing) numpy - Array operations pywayne.cv.tools.write_cv_yaml - For writing YAML files

Notes

Library is automatically checked and downloaded via gettool if not found Supports both tuple/list and numpy array inputs for projection methods Output from projection methods is always np.ndarray with dtype=np.float64

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs
  • SKILL.md Primary doc