© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
T. LaversLearn to Program with Kotlinhttps://doi.org/10.1007/978-1-4842-6815-5_20

20. Parsing the Images

Tim Lavers1  
(1)
Woonona, NSW, Australia
 

We finished the last chapter with a program, DigitFinder, that was able to load a photo of a speed sign and extract from it a list of black and white images of the individual digits. In this chapter, we will write code for determining the numbers that these extracted images represent.

Applying DigitFinder to different speed signs gives output images such as those shown as follows:

../images/508289_1_En_20_Chapter/508289_1_En_20_Figa_HTML.jpg

To determine what digit an image represents, ...

Get Learn to Program with Kotlin: From the Basics to Projects with Text and Image Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.