Track-based and object-based occlusion for people tracking refinement in indoor surveillance