How to improve the scraping time of an invoice

I had to extract information from an invoice throug scrape relative but it take a long time > 20 seconce

how i can improve the scraing time

You can define the subsection of the document (if data are in reliable places) to search for relative images.There is also an option to the left of the screen that is delay between pages or something to that effect, which can be reduced. You could also try alternative OCR methods/optimizations i.e., Google OCR can be configured to only search for decimal numbers, which would improve the speed and accuracy for that use case.