1. A method comprising: receiving, at an optical character recognition (OCR) device, text; determining, by an electronic processor of the OCR device, an average number of strokes per character for the text; identifying, by the electronic processor of the OCR device, a language used for the text based on the determined average number of strokes per character.