invoice-x / invoice2data

Extract structured data from PDF invoices
MIT License
1.86k stars 482 forks source link

Problems using gvision #323

Open juanluisrosaramos opened 3 years ago

juanluisrosaramos commented 3 years ago

Google has (once again) changed its code to consume its Cloud Vision APIs. Mostly, my invoices are photos without text to copy. So I need an OCR and google vision has much better results than tesseract. So I will update your code I will love to contribute to your software afterwards.

The error that I have is "AttributeError: module 'google.cloud.vision' has no attribute 'types'" so I need to update the code to the last version.

m3nu commented 3 years ago

How annoying. Feel free to add a pull request to fix the issue. After that we can make a small release.

juanluisrosaramos commented 3 years ago

324

bosd commented 2 years ago

This issue and PR had been open for quite soms while. Propably something we need to work on.

@juanluisrosaramos is your code in the PR still actual?