initialize the thresh with the value that reflect the track status
Merge pull request #3 from raphaelfeng/patch-2

initialize the thresh with the value that reflect the track status