- Segment the digits in the line. Segmenting the individual digits in the line will help you do contextual analysis.
- Identify the position of digits and their relationship to the nearby dots. For instance, if a dot is located between two digits, it is more likely to represent a decimal point.
- Find patterns that suggest the presence of a decimal number. For instance, search for digit sequences that are followed by a dot and then additional digits, as this is a typical way to identify a decimal number.
- Segmentation Techniques: https://www.mathworks.com/help/images/image-segmentation.html
- “OCR” function: https://www.mathworks.com/help/vision/ref/ocr.html