3 ms·
A few questions: Does this work in headless mode? Are you getting a screenshot of the whole webpage including scrolling? Or just the visible part. The whole p
by bravura 2y ago
A few questions:
Does this work in headless mode?
Are you getting a screenshot of the whole webpage including scrolling? Or just the visible part. The whole page, like singlepage.js would be great and is much more useful in many circumstances, although I'm not sure sure how to handle infinite scrolling. (If not, clean simple APIs for scrolling that don't require fiddling and experimentation would be great.)
Instead of Google OCR (the only OCR), what about Apple's native OCR? That would be amazing.
- KhoomeiK 2y agoYes it does work headless and we do grab a fullpage screenshot including scrolling (by resizing viewport to content height). We haven’t had to deal with infinite scrolling much but that’s an interesting feature we’d appreciate a PR for. We haven’t tried Apple’s OCR but hopefully will integrate Azure OCR soon based on others’ advice.
- bravura 2y agoBy Apple OCR, I mean instead of calling an external cloud API which requires tokens, etc. I simply mean vision which runs on OSX. It can be done in about 30 lines of Swift code.