1. A system for, ghost removal in video footage, the system comprising: one or more processors and, a memory, the memory being a non-transitory computer-readable medium having executable instructions encoded thereon, such that, upon execution of the instructions, the one or more processors perform operations of: generating a background subtraction map; generating an original bounding box that surrounds a detected foreground object through background subtraction; generating a detected foreground map, the detected foreground map having at least two detected foreground (DF) bounding boxes of detected foregrounds obtained by a difference of two consecutive frames in video footage; and trimming the original bounding box into a trimmed box, the trimmed box being a smallest box that contains the at least two DF bounding boxes, wherein the trimmed box is ghost free and designated as containing a real-world object.