Re:What's so hard about PDF text extraction?
by DantesKite on Tuesday March 03, 2020 @01:18PM
(#22477184)
Right? I love the OCR for Google Drive. It's such a useful, hidden feature.
By the way, why do you wait 10 minutes? Is there a signal that the PDF is done processing?
Or is there just some kind of voodoo magic that seems to happen that just takes 10 minutes to do?
Re:What's so hard about PDF text extraction?
by Iwillgetby on Tuesday March 03, 2020 @01:37PM
(#22477415)
2 minutes is probably long enough. I did notice that google drive doesn't seem to like it if you upload a lot of files. I have had files sit and never get OCR, but I forgot about them so they may have OCR on them now.
Also, I am not aware of a signal when it is done.
Re:What's so hard about PDF text extraction?
by Ididntdothis on Tuesday March 03, 2020 @03:27PM
(#22478419)
You got to love modern software. It may do it or not. It may do it within an unknowable timeframe. But if it does it, itβs wonderful.
Re:What's so hard about PDF text extraction?
by fireattack on Tuesday March 03, 2020 @02:05PM
(#22477670)
Google Drive can directly OCR jpeg or any image. Just upload and open it with Google Docs.
Now I think about it, I don't know what you mean by "upload a pdf to google drive and download it 10 minutes later".
Uploading and downloading a file shouldn't change it at all, at bit level.
Re:What's so hard about PDF text extraction?
by anthk on Tuesday March 03, 2020 @10:30AM
(#22475211)
>- Run a jpeg to pdf tool.
ImageMagick. convert *.jpg out.pdf
Re:What's so hard about PDF text extraction?
by ddeokbokki on Tuesday March 03, 2020 @12:02PM
(#22476317)
This solution is absolutely beautiful
I have used Google's fine OCR results to simulate a hacker.
- Download a youtube video that shows how to attack a server on the website hackthebox.eu
- Run ffmpeg to convert the video to images.
- Run a jpeg to pdf tool.
- Upload the pdf to google drive.
- Download the pdf from google drive.
- Grep for the command line identifiers "$" "#".
- Connect to hackthebox.eu vpn.
- Attack the same machine in the video.