Skip to content
Advertisement

OCR: Saving Words in a CSV-file

this is a part of my OCR code. This part looks for a special word in a scanned PDF and prints this out. I have like 10 Queries like this and all print me the word I am looking for. Now I want to get the found words saved in a CSV, but I don’t know how to do that. Can Someone help me, please?

JavaScript

Advertisement

Answer

It is basic knowledge.

Create empty list at start, append() words to list, and later write all list using csv or pandas

I have no idea which variables you want to save

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement