added simple code for numeral (image) extraction