Skip to content

A repository containing the code to track the oscillations of a pendulum from a video using object tracking tools.

Notifications You must be signed in to change notification settings

MittalHarsh27/Object_Tracking_Pendulum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Object Tracking of Pendulum


Description

Find the natural frequency of osciallation of a pendulum or any other object using object tracking algorithm in MATLAB by plotting tracked oscillations.

Methods used

A video of the object oscillating is being feed to the programm, then the user can run the MATLAB code to find the natural frequency

 1. Video Processing Toolbox of MATLAB.
 2. Object tracking algorithm of video processing toolbox of MATLAB.

Contents of this repository

  1. Pendulum_tracking.m : A MATLAB script file to run the code for finding the natural frequency.
  2. slowpendu : Video used to track the position( unzip the 4 files together in order to get the video, because the size of video was large)

Deployment

To deploy this project run-

Pendulum_tracking.m

Features

  1. You can change the video according to your choice in order to run the code for any video in which you want to track oscillations.

Some Sample Run file -

MATLAB App 06-09-2021 18_19_37

About

A repository containing the code to track the oscillations of a pendulum from a video using object tracking tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages