Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Centre tracking of an Object

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)

Centre tracking of an Object

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