C++ Tool That Extracts Text From Scrolling Screen Recordings A developer has released Palimpsest, a high-performance C++ CLI tool that extracts text from screen recordings of scrolling documents, deduplicating overlapping frames and outputting clean .txt or .docx files. The tool runs at 323 FPS on a laptop iGPU and achieves 94.56% accuracy on dense banking regulatory text. Its architecture uses a staged producer-consumer pipeline with lock-free ring buffers and a 'dwell gating' mechanism to only OCR stable frames, reducing 21,000 frames to just 5 for a 5-minute video. Most of the code was AI-generated from a detailed architecture prompt. I designed the pipeline, the AI wrote the C++. Here's what we built. I had a problem. My dad takes 1.5 hour long banking regulation classes recorded as screen recordings of someone scrolling through RBI circulars and banking law documents. No download link. No PDF. Just a video of text scrolling past. I didn't want to type it all out manually. So instead of spending 3 hours typing, I spent an afternoon designing a solution and prompting an AI to write the C++. The result is Palimpsest — a high-performance CLI tool that extracts text from screen recordings of scrolling documents, deduplicates overlapping frames, and outputs a clean .txt or .docx file. It runs at 323 FPS on a laptop iGPU and gets 94.56% accuracy on dense banking regulatory text. GitHub: https://github.com/plexescor/Palimpsest https://github.com/plexescor/Palimpsest If you've ever needed to extract text from a screen recording, you know the pain: Existing tools fail here. Generic OCR tools handle single images. Cloud video OCR services ScreenApp, etc. charge monthly subscriptions, cap video length, and you're uploading private content to someone's server. Manual transcription of a 1.5 hour recording is genuinely painful. There was no good free, local, offline tool that specifically handled the scrolling document problem — deduplicating overlapping frame content and stitching it into a clean linear document. So I built one. Palimpsest — a historical term for a manuscript page that has been scraped clean and rewritten over. Exactly what this tool does to a scroll recording. This is where it gets interesting. The tool isn't just "loop through frames and OCR each one." That would be slow and produce terrible results due to duplicate content across scroll frames. The architecture is a strictly staged producer-consumer pipeline with lock-free SPSC Single Producer Single Consumer ring buffers between every stage: Decoder Thread ↓ SPSC RingBuffer