title: Tracking an object with OpenCV
body: <p>I am trying to implement tracking of a <strong>single object</strong> with OpenCV as a part of a robot, that tracks an object which is marked by a rectangular region in a frame. Based on that template defined in a frame, the robot must chase that object. The object cannot be of a single color and also the orientation of the object changes. The video captured by the robot is processed by a laptop and commands for the movement is send to the robot as a result of processing.</p>
  
  <p>I am pretty new to OpenCV. After reading something about motion tracking, i found optical flow with Lucas-Kanade Method suits for this purpose by dynamically updating the template.</p>
  
  <p>Is this method enough for my requirements? 
  Is it possible to achieve realtime processing using this method ?
  I also want to know whether any other method(s) best suits my purpose ?</p>
  
  <p>Please correct me if i am wrong.</p>