opencv - Background subtraction + MOOSE filter -
i'm trying create camera raspberry pi detect people moving in corridor(here i'm assuming things moving people) , , identify ones spending time in area (with use of timer) , use background subtraction detect movement , trying use correlation based tracker such mosse filter track them. my question how create bounding box around moving person after performing background subtraction , pass tracking algorithm tracked?
background subtraction return binary image contains black , white pixels. detecting center of white contour can draw rectangle around center. width , height depend on contour size.
there lot of algorithms, this youtube video can provide function center of contour , draw whatever around of it.
Comments
Post a Comment