I am working on background subtraction using this function cv2.absdiff(img1, img2). I want to make bounding box around the objects obtained in result but i am unable to find any function. my opencv version is 2.4.9. can any one help me to make bounding box around objects?