In this project, we apply SOLID to build a REST API to receive an Image and return the text from this image.
- Use SOLID and Clean code to create an excellent solution to our problem.
- Use GCP(Google Cloud Platform) with Spring Boot to create services with Machine Learning.
- Use Cloudinary service to help with text extraction.
- Install Java 11
- Install Maven
- Include two properties in the application.properties:
cloudinary.api-key=$YOUR_API_KEY
cloudinary.api-secret=$YOUR_API_SECRET
- Log-in Google Console API, and enable Google Vision API
- Execute:
mvn spring-boot:run
- Create an endpoint that receives an image and extracts the text.
- Include the Google OCR and execute it if the Cloudinary service is offline.
- Include the Cotes Storage to prevent charge :)
- Include Text in Storage to be quickly searched
- Include another OCR service
To access the UML go to Draw.io and upload this file SOLID
- Java 11
- Spring MVC
- Spring Cloud GCP
- Junit