I need to find the size of a "Moving Object" in opencv. I am not seeking for the actual size, just how much percentage it takes from the whole frame.
I am doing motion detection using the image differentiation method. I am also drawing contours as well. If I draw a "bounding Rect" I know I can get the area of the rectangle and find the approximate object area. But, bounding rect is super slow in real time.
Any good idea to get the approximate size of the moving object? I just need the approximate value so drawing a rectangle or something around the object and getting the area is enough.