Ask Your Question
0

Centre tracking of an Object

asked 2012-09-06 08:31:48 -0500

vshivam gravatar image

updated 2012-09-08 02:03:18 -0500

Hi, I am tracking the center of a white circular object using the following the two methods. Can someone please guide me as to which is a better method and why ?

Method 1 :

  1. Draw center coordinates on a layer every time a new image is fetched and save the layer
  2. Merge layer with current image from Camera() and display (Basically remembering the center coords on layer)

Method 2 :

  1. Maintain a list of all center coordinates and plot all the points on the currently fetched image from Camera() and show. (Remembering the center coords in a list)

Edit: The Code I came up with : https://gist.github.com/3672457

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-09-06 10:08:56 -0500

kscottz gravatar image

Uh this sounds a bit overly complicated. You really just need to save a list of the center coordinates and plot them to the screen. Have you looked at some of our new tracking examples?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-09-06 08:31:48 -0500

Seen: 2,199 times

Last updated: Sep 08 '12