Show HN: Adventures in OCR Hello HN! In a recent "Ask HN: What are you working on?" thread, I mentioned I was working on OCRing a large book: https://ift.tt/AskPKfw The post generated some interest so I thought I would keep HN posted. The book is Saint-Simon’s Memoirs -- an invaluable historical account of the French court under Louis XIV, full of wit, sharp observations, and of incredible literary value. I'm OCRing the edition of reference made between 1879-1930, that contains a lot of comments and footnotes: 45 volumes, ~27,000 pages. Here's a link to a blog post that describes the techniques used so far (the project is still ongoing): https://ift.tt/LYKfA9n But you may also directly access the result here: https://ift.tt/YgQru34 This web app (not optimized for mobile, sorry) solves a tricky problem of preloading images efficiently. In short: preloading the next image isn't enough, since browsers will repaint if an image is moved, or scaled. Or browsers won't paint at all if visibility is hidden or opacity is zero, and will paint only when those values change. On an average, slow machine, this takes visible time. But if an image is simply behind another element, it will be painted, and the removal of the covering element or changing the z-index will not trigger a repaint. (Preloading is important because it lets one review results fast; if one has to wait 150-200 ms between images it's simply discouraging). Would love to hear feedback; happy to answer any question! https://ift.tt/LYKfA9n December 17, 2024 at 10:30PM
Show HN: Adventures in OCR https://ift.tt/BUG7uvk
Related Articles
Show HN: I Made an App to Locate the Closest Mexican Pizza https://ift.tt/WYo4pqLShow HN: I Made an App to Locate the Closest Mexican Pizza https://ift… Read More
Show HN: Chesskool – Platform for Chess Improvement https://ift.tt/5B72INRShow HN: Chesskool – Platform for Chess Improvement Launch day is here… Read More
Show HN: I wrote a short story about AR contact lenses and daemons https://ift.tt/zpoQFUlShow HN: I wrote a short story about AR contact lenses and daemons htt… Read More
Show HN: Binary Counting https://ift.tt/vuFraUJShow HN: Binary Counting https://ift.tt/1HfebRr May 21, 2022 at 10:47P… Read More
Show HN: Quizdle – 5 daily quiz questions https://ift.tt/Xsvl6eBShow HN: Quizdle – 5 daily quiz questions https://ift.tt/S9AvQiI May 2… Read More
Show HN: Georeferencing century-old fire insurance maps https://ift.tt/qE5QUT1Show HN: Georeferencing century-old fire insurance maps https://ift.tt… Read More
Show HN: Worble, a Wordle-inspired word game https://ift.tt/ugQv38mShow HN: Worble, a Wordle-inspired word game https://www.worble.fun Ju… Read More
Show HN: Stand out with your Resume. Use Resoume https://ift.tt/a50WeTzShow HN: Stand out with your Resume. Use Resoume My Indie hacking jour… Read More
0 Comments: