Best Way to OCR a PDF in Python - spaCy Layout
In this video, I'm going to show you the best way to OCR a PDF in Python with the new spaCy Layout package. The best part about this package is that it gives you access to all the important metadata generated from a spaCy pipeline alongside layout detection and OCR. This means you will have bounding boxes for the labeled regions of text on a given image. You can also do table detection.
spaCy Layout: https://github.com/explosion/spacy-layout
GitHub Repo: https://github.com/wjbmattingly/youtube-spacy-layout/tree/main
Join this channel to get access to perks:
https://www.youtube.com/channel/UC5vr5PwcXiKX_-6NTteAlXw/join
If you enjoy this video, please subscribe.
✅Be my Patron: https://www.patreon.com/WJBMattingly
✅PayPal: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=AZ73QW52SUX8N¤cy_code=USD&source=url
If there's a specific video you would like to see or a tutorial series, let me know in the comments and I will try and make it.
If you liked this video, check out www.PythonHumanities.com, where I have Coding Exercises, Lessons, on-site Python shells where you can experiment with code, and a text version of the material discussed here.
You can follow me at:
https://twitter.com/wjb_mattingly
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Related AI Lessons
⚡
⚡
⚡
⚡
The State of AI in Landscape and Garden Design (2026): A Field Guide for Homeowners and Designers
Medium · AI
Airlines Make Refunds Impossible. I Used AI to Force Them to Pay Me in 24 Hours.
Medium · AI
Holy Typos, Batman! How I Built 'SpellJump'
Dev.to · Prakhar54-byte
Tutorial: This AI Now Tells You if a Meeting Could Be an Email
Dev.to · Andrew Dugan
🎓
Tutor Explanation
DeepCamp AI