An object recognition using bag-of-features models