[tracker] modified native_cv_track() function & refactoring codes