News for hackers. Stuff that matters.
Re:Show HN: Convert PDF files into structured data by phonon on Wednesday July 20, 2016 @08:54PM (#12133777)
Is this using something like https://github.com/creatale/node-fv on the backend, which can accommodate various not perfectly scanned forms to data, after you prepare a schema? Or is it a more simplistic "mark hotspots" which won't work well/at all if if it is not perfectly aligned/sized with the original?
Re:Show HN: Convert PDF files into structured data by chezmo on Thursday July 21, 2016 @03:18AM (#12135290)
We do position based text extraction. We add however an 'unpaper' function which tries to correct misalignments and increases the quality of the scan.
Re:Show HN: Convert PDF files into structured data by ComodoHacker on Thursday July 21, 2016 @03:50AM (#12135389)
What OCR library do you use? What languages it supports?
Re:Show HN: Convert PDF files into structured data by chezmo on Thursday July 21, 2016 @04:22AM (#12135507)
For scanned images we use https://github.com/tesseract-ocr/tesseract. For text based PDFs we pull the text directly from the file and all languages are supported.