BoWtrainer The trainer for bag of visual word function 1: collecting and extracting point features such as SHIF, SURF, FAST .etc. function 2: training the bag of word by k-means based on these features, supporting training from text file.