added code for word separation (overestimates number of words), and code to save croped words in jpg files
add code for localization evaluation