GithubHelp home page GithubHelp logo

multi_camera_setup's Introduction

Multi-Camera Setup

Welcome to the Multi-Camera Setup project! This repository contains code for setting up and utilizing multiple cameras for real-time tracking and 3D position estimation of a moving object.

Table of Contents

Introduction

This project demonstrates a multi-camera system for tracking a moving object (e.g., a ball) in real-time using OpenCV and C++. It includes camera calibration (given), video processing, and 3D point triangulation.

Features

  • Camera calibration and parameter loading from JSON files
  • Real-time video processing with OpenCV
  • Multi-threaded frame processing for efficiency
  • Object tracking and speed calculation
  • 3D position estimation using triangulation

Installation

To get started, clone this repository and install the required dependencies.

git clone https://github.com/barakooda/multi_camera_setup.git
cd multi_camera_setup

Ensure you have the following dependencies installed:

  • OpenCV
  • nlohmann/json

Usage

  1. Configure Camera Parameters: Place your camera parameter JSON files in the calibration folder.
  2. Place Videos: Place your video files in the videos folder.
  3. Build the Project: Use CMake to build the project.
mkdir build
cd build
cmake ..
make
  1. Run the Program: Execute the compiled program.
./multi_camera_setup

Project Structure

multi_camera_setup/
├── calibration/    # Camera calibration files
├── csv_files/      # Output CSV files
├── include/        # Header files
├── l2graph/        # Additional resources
├── src/            # Source code
├── tests/          # Unit tests
├── videos/         # Video files
├── .gitignore
├── CMakeLists.txt
├── LICENSE
└── README.md

Future Improvements

  • Implementing Optical Flow
  • Kalman Filter
  • Combining detection and Optical Flow outputs in Kalman filter
  • Improved project structure and code conventions
  • Enhanced documentation and examples

Contributing

Contributions are welcome! Please fork this repository and submit pull requests for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

multi_camera_setup's People

Contributors

barakooda avatar

Stargazers

Yuval Nissan avatar stav faran avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.