Robust Tracking Algorithm Based on Color and Edge Distribution for Real-time Video Based Motion Capture Systems