physics_tracker

Real-time kinematics analysis engine utilizing Computer Vision (OpenCV) and Finite Difference methods to extract physical vectors from video feeds.

Live Demo

Kinematics-CV: Real-Time Physics Analysis Engine

Python OpenCV Physics

A computational tool designed to bridge the gap between theoretical mechanics and real-world experimental data acquisition.

🚀 Overview

Kinematics-CV is a high-performance computer vision engine built to track projectile motion in real-time. Unlike standard tracking scripts, this system implements a physics-first architecture, converting raw pixel data into meaningful kinematic vectors (Velocity $\vec{v}$ and Acceleration $\vec{a}$) with industrial-grade signal processing.

I developed this tool to address a common challenge in undergraduate physics labs: the disconnect between idealized textbook formulas and noisy real-world measurements.


✨ Key Features (Engineering & Math)

1. Robust Computer Vision Pipeline

2. Physics & State Estimation Core: Linear Algebra

3. Scientific Visualization (HUD)


🛠️ System Architecture

The project follows a modular Object-Oriented Programming (OOP) structure to ensure scalability for future lab instrumentation integration.


⚡ Quick Start

Prerequisites

Dependencies

Installation

  1. Clone the repository:
    git clone https://github.com/timothyzhbw-jpg/physics_tracker.git
    cd physics_tracker
    
  2. Install required packages:
    pip install -r requirements.txt
    
  3. Run the engine:
    python physics_tracker_roi.py
    

🔭 Future Roadmap: From 2D to 3D Lab Assistant

The current version serves as a proof-of-concept. The next development phase focuses on evolving the engine into a Stereoscopic Physics Station to handle complex 3D mechanics.

1. Stereo Vision & Depth Perception (The “3D Upgrade”)

2. Automated Calibration System

3. Data Visualization & Serialization

Author

Bowen Zhang University of California, Santa Barbara