Seven Segments Processing: Extracting Values from Images

Hey everyone, I’m working on a project where I need to extract numerical values from images using seven-segment displays. I’m currently testing this on the command line with the following command:

bash
sudo ssocr remove_isolated crop 0 0 350 170 -c decimal -t 15 -d -1 -o ph_crop_test.png -D ph_debug_test.png ssocr-ph_reading.png

However, I’m struggling to get the correct value out of this image. The expected value is 7.50, but the tool is returning .7.501. It looks like there’s an extra decimal point and a trailing 1 that I need to eliminate.

I’ve tried adjusting various parameters, but nothing seems to work. Does anyone have any tips or tricks for refining the output? Maybe there’s a way to filter out those unwanted characters or adjust the segmentation settings. I’d really appreciate any advice or suggestions you might have! :blush: