Baseline for recognition system using visual words and spatial pyramid matching