Research Article
TCM: Temporal Consistency Model for Head Detection in Complex Videos
Algorithm 1. Refinement algorithm.
Input: Detections | Output: Refined detections | 1: function DETECTION REFINEMENT | 2: | 3: | 4: for each detection in do | 5: for each in do | 6: Compute similarity | 7: Compute distance | 8: | 9: end for | 10: ifthen | 11: Insert in | 12: end if | 13: end for | 14: return | 15: end function |
|
Algorithm 1. Refinement algorithm. |