Re: [tesseract-ocr] Recognising numbers in sudoku

2020-11-16 Thread 'Martin Läuter' via tesseract-ocr
Remember, it's a website, that is live-solving the sudoku! Tensorflow.js is pretty lightweight, and you only need it to evaluate the number recognition model. You don't need to train the model (the trained weights are checked in the repository, AFAICT) nor install TensorFlow at all. I don't sa

Re: [tesseract-ocr] Recognising numbers in sudoku

2020-11-16 Thread agentbond009
Jean-Marc i have posted the pic. https://groups.google.com/g/tesseract-ocr/c/1pi2LR4ug_A/m/NM74kUO7DgAJ On Monday, 16 November 2020 at 19:51:53 UTC+5:30 Lorenzo Blz wrote: > Use hough lines detector to detect the lines and draw a thick white line > over them. > > > https://opencv-python-tutroals

Re: [tesseract-ocr] Recognising numbers in sudoku

2020-11-16 Thread Lorenzo Bolzani
Use hough lines detector to detect the lines and draw a thick white line over them. https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_houghlines/py_houghlines.html Or use MSER to detect blobs of the appropriate size. https://answers.opencv.org/question/19015/how-

Re: [tesseract-ocr] Recognising numbers in sudoku

2020-11-16 Thread Jean-Marc Spaggiari
If the pictures are all the same size, using ImageMagick you can most probably just cut each cell, pad it with black and send it back to tesseract. Just make sure to keep value only when there is a high confidence or enough "white" pixels? Le lun. 16 nov. 2020 à 08:30, agentbond009 a écrit : > T

Re: [tesseract-ocr] Recognising numbers in sudoku

2020-11-16 Thread agentbond009
Thanks Martin Läuter for the tutorial. But still i am gonna use tesseract for this bc i don't think my PC will handle tenserflow. On Sunday, 15 November 2020 at 20:56:35 UTC+5:30 Martin Läuter wrote: > Hi, > Someone did some (apparently) solid sudoku solving without tesseract, > see https://

Re: [tesseract-ocr] Recognising numbers in sudoku

2020-11-15 Thread 'Martin Läuter' via tesseract-ocr
Hi, Someone did some (apparently) solid sudoku solving without tesseract, see https://blog.scottlogic.com/2020/01/03/webassembly-sudoku-solver.html. And the explanation is not bad either. Hope that helps, Martin. On Sunday, November 15, 2020 at 12:25:49 PM UTC+1 agentbond009 wrote: > [image:

Re: [tesseract-ocr] Recognising numbers in sudoku

2020-11-06 Thread Jean-Marc Spaggiari
Is the image always the same size? Can you cut the columns to remove them and keep just the numbers? Le ven. 6 nov. 2020 à 10:21, agentbond009 a écrit : > sorry for the late reply > I have done the thresholding part by using opencv and converted the whole > image to gray > and still stuck with r

Re: [tesseract-ocr] Recognising numbers in sudoku

2020-11-06 Thread agentbond009
sorry for the late reply I have done the thresholding part by using opencv and converted the whole image to gray and still stuck with recognising the digits. i was thinking to use clear_border from skimage. On Friday, 30 October 2020 at 19:57:19 UTC+5:30 Jean-Marc Spaggiari wrote: > Hi, > > Did

Re: [tesseract-ocr] Recognising numbers in sudoku

2020-10-30 Thread Jean-Marc Spaggiari
Hi, Did you give it a try? Try to have the numbers in white in black in a withe background. Are you able to get each cell separately? JM Le ven. 30 oct. 2020 à 10:22, agentbond009 a écrit : > hello. I am working on a project, i was wondering if tesseract is an OCR > can it read the no.s from