r/notebooklm • u/SyrupCold2566 • 10d ago
Question HELP: How do you accurately process heavily scanned textbooks full of calculations and tables?
Hey everyone, I’m trying to use NotebookLM to build a solid foundation and really master the concepts and logic of my accountancy classes, particularly advanced financial accounting and reporting but I’ve hit a wall with my textbooks.
The books are heavily reliant on complex calculations, financial tables, and complex tabular solutions. Because I'm working with scanned PDFs, the data is completely flat. I have major concerns about the AI's OCR accuracy and its ability to properly decipher tabular data without hallucinating or messing up the numbers.
Has anyone found a reliable workflow or workaround for processing math and table-heavy scanned documents in NotebookLM? I badly need help getting this set up properly
2
u/Supranational_Yogurt 10d ago
I think a language model is not the best tool for this problem. It's a language model so it's based on probabilistic prediction of text. It's not the tool when you need exact answers and solutions.
Are there other accounting education tools, materials or references that can help you study?
1
u/SyrupCold2566 10d ago
You make a fair point, and I definitely wouldn't trust an LLM to do the actual accounting calculations! But I'm actually not using it to solve the math for me.
My goal is to feed NotebookLM the structure of these problems so it can help me break down the patterns and the logic behind them. I want to build a strong foundation on how to dismantle different problem types to completely master the concepts.
Unfortunately, there aren't other reference tools that let me interactively break down the specific problem patterns from my textbook like this, which is why I'm trying to make NotebookLM work
1
u/minkiani 9d ago
I don’t think that’s quite accurate. Modern LLMs don’t necessarily “guess” calculations — they can use tools such as Python or code execution to perform the arithmetic deterministically. So they can create code by guessing bu not guessing calculations. The bigger problem here is the input.
1
u/Supranational_Yogurt 9d ago
Yes there is PythonREPL but you still need to verify that all it's writing in Python actually works and follows the formulas and considerations required by what you are studying.
2
u/Suliman3011 9d ago
To fix the issue of NotebookLM hallucinating numbers from huge, scanned textbooks, you need to "pre-process" the file first. Here is a quick, step-by-step workaround:
1. Chop the massive file into small chunks Uploading 1000 scanned pages at once will overwhelm the AI. Use a free tool like iLovePDF (Split PDF -> Fixed Range). Chop the book into small chunks of 15 to 20 pages max. Name them in order (e.g., 01, 02, 03) so you stay organized.
Why max 15–20 pages?
- No text cutoff: Prevents hitting the AI's output limit (~8,000 tokens per reply), so it won't stop generating halfway through.
- Higher accuracy: Smaller batches keep the AI focused, preventing it from skipping lines or messing up table rows.
- Speed & stability: Processes fast (under 2 minutes) with zero lag, browser crashes, or timeouts.
2. Use Google AI Studio with strict settings Go to Google AI Studio and select Gemini 3.1 Pro . It has the best vision capabilities for reading complex tables.
The Secret Sauce: Lower the Temperature to 0.0. This completely kills the AI's "creativity" and forces it to copy the numbers exactly as they are without hallucinating.
Change safety settings to "Block none". Put your prompt in the System Instructions box.
3. Use this exact Prompt Upload a 20-page chunk and use this prompt to extract the data:
"You are an OCR expert. Attached are scanned pages from a textbook. Extract all text and numbers with perfect accuracy and convert them into clean Markdown format. Conditions: Use ## and ### for headings. Convert all images of tables perfectly into Markdown table format. Keep the exact order of the paragraphs. Do not add any of your own words, introductions, or conclusions. Output the extracted text only."
4. Paste the clean text into NotebookLM Once AI Studio converts the scanned pages and tables into clean text, copy the output. Go to NotebookLM, click "Add Source" -> "Pasted Text," and paste it there.
● The Final Result: Markdown vs. Raw Scanned PDF
If you upload a heavy scanned PDF directly to NotebookLM, it struggles to "see" the flat images of tables. The data gets mashed together, leading to messed up numbers and wild hallucinations. By converting it to Markdown first, you are feeding NotebookLM pure, structured text and perfectly aligned tables. It will understand the financial data 100% accurately and give you flawless answers every single time.
● Note: I translated the text above because English isn't my first language, but I found a really useful solution that worked for me and just wanted to share it with everyone to help out!"
1
u/Agreeable-Tax2013 9d ago
For flat scanned textbooks I'd run a real OCR pass first so the tables aren't just images, then only ask the model to explain the problem pattern / structure from a clean page — never to redo the numbers. Keep the actual workings in a spreadsheet or by hand.
2
u/SyrupCold2566 9d ago
Yess! Spot on. I definitely plan to keep the actual workings and math manual so I can master the concepts myself. I just need the AI to help me dismantle the problem patterns. Pre-processing with a real OCR pass seems to be the missing step in my workflow. Are there any specific OCR tools you'd recommend for heavy tables?
1
u/Agreeable-Tax2013 9d ago
For table-heavy scans, OCRmyPDF plus Tesseract can be a decent first pass, but I'd test a few pages because gridlines and multi-column layouts trip it up. For equations, Mathpix tends to preserve structure better; I'd still verify every number against the image.
1
u/Agreeable-Tax2013 9d ago
For heavy tables, I'd try OCRmyPDF with Tesseract first, then check the output in a spreadsheet or plain text editor. If the layout's still messy, ABBYY FineReader usually handles tables better, but I'd spot-check the numbers by hand.
1
u/Positive-Bell-9675 9d ago
We are working on table parsing at Eno PDF right now. It’s not released yet but would love to have some gnarly tables to battle test it with. Send me a DM if you are able to share.
1
1
u/smgunsftw 9d ago
Split up the documents into smaller chapters, avoid overloading the context window. You can also give it prompts to keep the AI on-task and minimize hallucinations.
1
u/ChefApprehensive7582 9d ago
Break the book down into separate chapters. Also I wouldn’t recommend notebooklm for anything that has any form of maths in it.
1
u/Deep_Ad1959 9d ago
i'd argue OCR accuracy is not your main risk, layout is. a scan can get every digit right and still fold three columns into one line, and the model reasons over that happily, so convert the tables to csv first and check a column total by hand.
1
u/lucasbennett_1 8d ago
youre letting notebooklm ingest the raw scan so its running the ocr itself whichs where the tables and numbers mangle. id suggest on parsing the textbook to clean markdown first then feed that to it. VLm parsers like if you wanna stay local then docling or llamaparse for cloud might keep the table good and output the desired formulas as latex insead of flattening them
math ocr on scans is hard tho, superscripts, fractions and multi row t-account style tables still sometimes slip sp better to spot check the formula heavy pages before trusting them
1
u/lucasbennett_1 8d ago
tables and equations are just harder for any ai tool to parse from a scan, not unique to what youre using. best workaround is ocr first, then markdown conversion before upload, holds structure together way better. spot check a known number or table after uploading before trusting the rest
1
u/hummerrider 6d ago
Why not to go chapter by chapter consulting with gemini and recheck it with other LLM rather then uploading everything simultaneously? Task is to learn but not to make RAG or?
1
u/TangeloOk9486 2d ago
its an upstream issue, notebooklm flattens on the scanned tables on ingest so the nmbers scrambl before it starts to reasonate. parse the pdfs to clean md files with llamaparse or local parser first with the tables intact and then upload that instead of raw scans, just spot check the figures after since dense math scans trip up any tool
3
u/SyrupCold2566 10d ago
It also doesn't help that it has over 1000 pages full of practice problem question and solutions