1. A method for automatically finding and repairing lines in image data of an event, comprising: obtaining an image of the event from a camera, the event includes a scene having at least one line segment which includes a portion which is occluded by an object, the object having a width which is greater than a width of the portion; forming a mask image from the image obtained from the camera; automatically detecting the at least one line segment in the mask image; automatically determining that the portion of the at least one line segment is occluded by the object; and automatically removing the object.