After a few days of experimenting, the ability of the Tesseract.js to correctly perform seven segment optical character recognition is not reliable or repeatable. So I went back to searching and found some interesting attempts & technologies, but the best was a standalone program called SSOCR (seven segment optical character recognition). After using the standard image cleanup tools available, it has done a very nice job of interpreting the numbers. My test flow is shown below, where you can see I needed to trim the output and convert from string to number. I will incorporate this into the overall flow whereby the image is grabbed via the webcam, cleaned up, saved to the hard drive, and then read by SSOCR via the Exec node.
grant1
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Extract numbers from image | 15 | 3701 | 7 June 2021 | |
| Advice for creating first node | 4 | 257 | 22 August 2023 | |
| Tesseract - How to send input in tesseract node when we have to read data from Image | 2 | 461 | 19 September 2020 | |
| [ANNOUNCE] node-red-contrib-plate-recognizer | 41 | 3219 | 23 April 2020 | |
| Uploading picture but failed to get output | 2 | 325 | 15 November 2021 |
