Skip to main content

Polychase motion tracking core bindings

Project description

Polychase

A free and open-source motion tracking addon for Blender, inspired by KeenTools GeoTracker.

Overview

Polychase is a 3D motion tracking solution that allows you to track camera movement or object motion in video footage within Blender. It uses optical flow analysis and PnP, aided by user input to provide accurate tracking results.

Features

Core Tracking Capabilities

  • 3D Pin Mode: Place and manage tracking pins on 3D geometry
  • Camera/Geometry Tracking: Track camera/geometry movement through 3D space
  • Trajectory Refinement: Refine tracking results using bundle adjustment

Advanced Features

  • Variable Camera Parameters: Support for estimating focal length and principal point
  • Keyframe Management: Complete keyframe control for tracked animation
  • Scene Transformation: Transform entire tracked scenes
  • Animation Conversion: Convert between camera and object tracking
  • Real-time Preview: Live tracking progress and results
  • Mask Support: 3D masking for selective tracking

User Interface

  • Integrated Blender UI: Native Blender panels and operators
  • Visual Feedback: Color-coded pins, wireframes, and progress indicators
  • Customizable Appearance: Adjustable pin colors, sizes, and wireframe styles

Usage

Basic Workflow

  1. Setup Scene:

    • Import your video footage as a movie clip
    • Add or import the 3D geometry you want to track
    • Set up a camera object
  2. Create Tracker:

    • Open the Polychase panel in Blender's 3D viewport
    • Create a new tracker
    • Assign your clip, geometry, and camera
  3. Analyze Video:

    • Set the database path for optical flow storage
    • Run "Analyze Video" to generate optical flow data
  4. Pin Mode:

    • Enter pin mode to place tracking points on your 3D geometry
    • Add pins by clicking on the geometry surface
    • Drag the pins to adjust the pose of the geometry/camera
  5. Track Sequence:

    • Choose tracking direction (forward/backward)
    • Select tracking target (camera or geometry)
    • Run tracking to generate keyframes
  6. Refine Results:

    • Use the refine sequence tool to improve tracking accuracy

Pin Mode Controls

  • Left Click: Add new pin
  • Right Click: Delete pin
  • M: Go to mask drawing mode
  • ESC: Exit pin mode

Technical Details

Architecture

  • C++ Core: High-performance tracking algorithms written in C++
  • Python Bindings: pybind11 integration for Blender compatibility
  • Blender Integration: Native Blender addon with custom operators and panels

Algorithms

  • Optical Flow: Off-the-shelf OpenCV solution
  • 3D Tracking: PnP (Perspective-n-Point) solving for camera pose estimation
  • Bundle Adjustment: Global non-linear optimization for trajectory refinement
  • Ray Casting: Accelerated mesh intersection using Embree

Demo & Technical Walkthrough

Watch the technical walkthrough on YouTube

Project details


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 Distributions

If you're not sure about the file name format, learn more about wheel file names.

polychase_core-0.0.3-cp313-cp313-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.13Windows x86-64

polychase_core-0.0.3-cp313-cp313-manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

polychase_core-0.0.3-cp313-cp313-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

polychase_core-0.0.3-cp311-cp311-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.11Windows x86-64

polychase_core-0.0.3-cp311-cp311-manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

polychase_core-0.0.3-cp311-cp311-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file polychase_core-0.0.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for polychase_core-0.0.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fd2b4c353503f813516a0a9d0d133b3905e04dcd57c3ba292f82a335f53b959e
MD5 c576666bba9ecaf17e60bab8c0fd6042
BLAKE2b-256 13ea45830d600b5f5b2a1a4de0ad3ac4093de767be6052da04c1171b29c53858

See more details on using hashes here.

File details

Details for the file polychase_core-0.0.3-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for polychase_core-0.0.3-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 40e7c8e15fba928740c8feb1130f367c6d0edee1e9c95ea10ae56425edf8eb77
MD5 884b93ee450f5fa59fc940e4c09a0172
BLAKE2b-256 96e3c42d5a3b46c57fcc526ed1bb573b98ae19b566f8ae6a7f6e8cabf19cdb51

See more details on using hashes here.

File details

Details for the file polychase_core-0.0.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for polychase_core-0.0.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 32abeb559f2f1970c253a1ee71601a33276f88103c12b09e455b5bc8409bbd0a
MD5 b4dd306434a1f153d641b03e645f958f
BLAKE2b-256 ff6961d2cd7d1f0e3546f20860a66789cdedbc3c09474b660829df59b47e6381

See more details on using hashes here.

File details

Details for the file polychase_core-0.0.3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for polychase_core-0.0.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e7544d64e03a6dc6d54d3b9c85fac8b9ff4d889d493b64c576b445f61a51af08
MD5 49c2b629b3cce4f51a57398a110d1454
BLAKE2b-256 00459c54d100a6817c1d61ab36b1b1fb880f3f391793bb4d3dbe3302c8535e9c

See more details on using hashes here.

File details

Details for the file polychase_core-0.0.3-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for polychase_core-0.0.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 45fd857ebb73763e34eba676ae1269f1b4cac077bce3e6edb61edb2299d0b78d
MD5 f5de178220182a440b1409cff659875d
BLAKE2b-256 0802c3d0224c9a01a961e51abc766cef37770bb5a33eaa33068b9d35fdee4485

See more details on using hashes here.

File details

Details for the file polychase_core-0.0.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for polychase_core-0.0.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f23542302690a771dcc034154544a65e6e54c9b0acea8104bb6f76fc37bd25f3
MD5 132dd6e7ecce8116984ba864bbe8645d
BLAKE2b-256 3ea3da6ba6b08a325725945c7760d32cec72aece61a4eab67397270e64fa9ff3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page