Object Tracker

I recently developed a tracker as part of an assignment which basically uses optical flow to track an object. The process is as follows:

A bounding box is chosen by the user from the first frame.

After the first frame, for each next frame, the following process is followed:

Calculate gradients in both x and y directions.
Use gaussian filter to create the following matrix

Calculate difference between the last frame and the current frame to calculate the following matrix

Calculate the displacements in x and y directions using the following equation

Draw new bounding box on the current image

Demo

References

--

--

--

MS Thesis Student, CVGL, LUMS http://pk.linkedin.com/in/talhahanifbutt

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Obsession with Obsidian

8 rules for working on successful digital development projects

Reducing My Behat Test Run Time By ~66%: Part Two

Truffle Internals: Deep Dive

CS371p Spring 2020: y

Review: Ask NASA Mars! ROV-E

✨Moniwar Community Support Center Launched✨

MIT 6.006 Introduction to Algorithms 10

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Talha Hanif Butt

Talha Hanif Butt

MS Thesis Student, CVGL, LUMS http://pk.linkedin.com/in/talhahanifbutt

More from Medium

What is c Programming?

When Pigeons Talk: The Evolution of Programming Education

Thinking Sphinx on Ruby on Rails Application with Spree.

Thinking Sphinx on Ruby on Rails Application with Spree.

Essay #1 Reflection-Yanira C. Flores