A recognition method of handprinted Thai characters by using local features