Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.5 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.5 KB

Applying SOLID with OCR project

In this project, we apply SOLID to build a REST API to receive an Image and return the text from this image.

This project has three big goals:

  • 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.

How to run it

  • 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

Tasks:

  • 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

Project UML

To access the UML go to Draw.io and upload this file SOLID

Technologies:

  • Java 11
  • Spring MVC
  • Spring Cloud GCP
  • Junit

References