Skip to content

Project applying SOLID to create a text detection service from images

License

Notifications You must be signed in to change notification settings

ThiagoBfim/SOLID-OCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Project applying SOLID to create a text detection service from images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages