1. A method implemented using a processor based device, comprising: receiving a video stream comprising a plurality of image frames having at least one moving object; determining a difference between at least two image frames among the plurality of image frames and generating a difference image comprising a plurality of image blobs corresponding to the at least one moving object; generating a plurality of bounding boxes, each bounding box surrounding at least one corresponding image blob among the plurality of image blobs; determining a subset of bounding boxes among the plurality of bounding boxes, associated with the corresponding moving object, using a fuzzy decision variable determined based on a motion cohesion fuzzy parameter, an appearance similarity fuzzy parameter, and a box affinity fuzzy parameter corresponding to each pair of bounding boxes among the subset of bounding boxes; and merging the subset of bounding boxes to generate a merged bounding box enclosing the subset of bounding boxes to detect the moving object.