1. A method comprising: capturing an image of an object to be tracked; detecting a plurality of lines in the image of the object; forming a group of lines from the plurality of lines; and using the group of lines to track the object.