A scene classification using bag of words model