Giter Club home page Giter Club logo

object-tracking's Introduction

Orientation-Tracking-and-Panoramic-image-generation

Objective:

Implement a projected gradient descent algorithm to track the 3-D orientation of a rotating body using readings from an inertial measurement unit (IMU). Using your orientation estimates, generate a panoramic image by stitching camera images obtained by the rotating body

Results of Roll, Pitch and Yaw before and after optimization

Alt Text

Alt Text

Alt Text

Results of panoramic stitching:

Alt Text

Code:

  1. Install the requirement files in new virtual environmnet:
conda create --name env_ObjTrack
conda activate env_ObjTrack
git clone https://github.com/suryapilla/Object-Tracking.git
pip install requirements.txt
  1. utilsCam.py and utils.py files have all the relevant functions required for the main function

  2. setup the path as per the config.yml file in config directory

  3. For training run the main function by giving the correct path to the data folder

python main.py
  1. There are 3 sections in the main.py script:

    • Object tracking part

    • Plotting the roll, pitch and yaw for VICON, Unoptimized and Optimized data

    • Panorama generation

  2. For testing run testMain.py script, with correct test data directory in path

python testMain.py
  1. This is for testing data where VICON data is not available, the flow is similar to the main.py

    • Object tracking part

    • Plotting the roll, pitch and yaw for Unoptimized and Optimized data

    • Panorama generation

object-tracking's People

Contributors

suryapilla 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.