This is a simple project extracted from steps mentioned in the Google cloud document AI documentation. This maven project has all the dependencies and credentials for accessing Google cloud API. A sample invoice.pdf file has also been provided to be used to test this application.
- Download/ place invoice.pdf in a convenient location.
- Update the path for invoice.pdf in QuickStart.java.
- Build using Mvn clean install.
- Run jar file with dependencies using java -jar "{path here}"
- Point to another invoice.pdf, rinse and repeat.