Live data from Hacker News

OCR for construction documents does not work, we fixed it

getanchorgrid.com

21–30 of 103 posts

Re: OCR for construction documents does not work, we fixed it

#21

cool. What's pricing like?

Thanks! https://www.getanchorgrid.com/developer/pricing Let me know if you find it useful or have any questions, happy to help.

Thanks -- btw the Pricing link on the site pulls up a form, not that page.

Re: OCR for construction documents does not work, we fixed it

#22

What do you foresee being the end use case for this (or most valuable use case)?

Anyone building in or for construction tech — whether that's a startup building estimating or project management software, a construction company with an internal tech team solving this themselves, or a builder looking to automate their workflow. The common thread is drawings. Every one of those groups lives and dies by their ability to extract actionable data from a PDF that was never designed to be machine-readable. We're building the layer that makes that possible so they don't have to start from scratch.

Re: OCR for construction documents does not work, we fixed it

#24

Earlier quoted context omitted.

So can any type of file -- that doesn't have any relevance to the supposed design of every file type in existence. Now, later versions of PDF do have explicit support for signatures, but what does this have to do with preventing OCR? OCR reads a file, it doesn't change the original file.

Some OCR solutions do change the original file, like OCRmyPDF. They take layers that were just images before and replace it with text layers so that you can search the document.

That isn't OCR, but an application of the resulting output of OCR. Again, a signature on a PDF or any type of file doesn't prevent you from reading it. (It also doesn't technically prevent you from changing it, it just enables the detection of changes to a particular file.)

There's nothing about PDFs or image formats that prevent anyone from doing OCR. The reason construction documents are difficult to OCR is because OCR models are not well trained for them, and they're very technical documents where small details are significant. It doesn't have anything to do with the file format

Re: OCR for construction documents does not work, we fixed it

#25
post #15

> OCR for construction documents does not work I'm reminded of the Xerox JBIG2 bug back in ~2013, where certain scan settings could silently replace numbers inside documents, and bad construction-plans were one of the cases that led to it being discovered. [0] It wasn't overt OCR per se , end-user users weren't intending to convert pixels to characters or vice-versa. [0] https://www.youtube.com/watch?v=c0O6UXrOZJo&t=…

If I recall it was an artifact of the compression algo.

Full context and details: https://www.dkriesel.com/en/blog/2013/0802_xerox-workcentres...

Re: OCR for construction documents does not work, we fixed it

#26
post #8
post #6

When will this be available for 30000x8000px electrical diagrams? I have to make a BOM and oh boy I hate my job

What software made the bitmap? Seems like a step earlier in the pipeline could help generate a BOM more easily.

I'm not really sure and I don't have access to it, I just recive flat PDFs or TIFFs

A lot of them are "archival" so I'm pretty OOL

Re: OCR for construction documents does not work, we fixed it

#27

What do you foresee being the end use case for this (or most valuable use case)?

Anyone building in or for construction tech — whether that's a startup building estimating or project management software, a construction company with an internal tech team solving this themselves, or a builder looking to automate their workflow. The common thread is drawings. Every one of those groups lives and dies by their ability to extract actionable data from a PDF that was never designed to be machine-readable…

Why does the workflow lie at the level of a real or virtual piece of paper and not in the metadata from the applications used to create that piece of paper? Seems like a CAD tool would allow you to identify each element of the drawing, assigning metadata as required.

Re: OCR for construction documents does not work, we fixed it

#28
post #9

Earlier quoted context omitted.

PDF files can be signed, that is tamper resistance. Tamper resistance doesn't have to make any difference to the readability of the document.

Can't one just remove the signature and re-sign it with anything else after tampering? Who verifies PDFs that hard?

If you're performing OCR, you're almost by definition, disregarding the source file. The whole point of OCR is to be transformative.

Re: OCR for construction documents does not work, we fixed it

#29
post #6

When will this be available for 30000x8000px electrical diagrams? I have to make a BOM and oh boy I hate my job

I’m building a similar platform, with electrical being furthest ahead - SLD, panels, lights, power, comms. Also do doors, windows, and mechanical equipment. dm, and I can include you in the next preview.

I work in the automotive field, I don't know if this complicates the things further but I appreciate any help!

Re: OCR for construction documents does not work, we fixed it

#30
post #3

Of course it is not working. PDF and images are supposed to be tamper resistant. OCR tries to reverse engineer them.

Since when is tamper resistance a part of PDF or any common image format?

You can't change a PDF, it is by design to be not easy to OCRed
Post reply on HN