GithubHelp home page GithubHelp logo

dhamacher / image-text-detection-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 19.75 MB

Get text from images with this application by leveraging Tesseract, Vue.js, and Flask

Python 40.18% JavaScript 13.76% HTML 3.33% Vue 33.80% Makefile 4.13% Dockerfile 4.27% Shell 0.54%

image-text-detection-app's Introduction

Introduction

This is a single page application (SPA) where users can upload an image and extract the text contained in that image.

1 0_landing_page

Prerequisites

The following software packages are required to build and run the application locally and in docker

  • Docker Desktop +20.10.8
  • chocolatey package manager (Windows only)
  • npm
  • Python +3.9
  • Node JS
  • make

Build and Deploy with make

The below table provides more details about the make targets used to build, deploy, and run the application. In order to use them, run the make <Make Target> command in the project's root folder.

Make Target Description
build-app Build the images
build-app-no-cache Build the images without cache
start-app Start the application (requires a build first)
stop-app Stop the application

Learning Outcomes

The following is a reflection on the learning outcomes while building this project.

  1. Use Vue.js and leverage Vue.js components.
  2. Provide Python API for feature extraction of uploaded images.
  3. Perform feature engineering on uploaded images using opencv.
  4. Use Tesseract OCR to get text from images.
  5. Serve the application with Nginx.
  6. Proxy API calls from Nginx to Flask.
  7. Deploy with Docker as single images.
  8. Deploy using docker-compose.
  9. Deploy using a manifest on local kubernetes cluster.
  10. Deploy using a manifest on to Azure kubernetes cluster.

References

Additional Information and Commands

This section contains some helpful commands. Some require npm to be installed on your system.

Client Side Commands

Run the following commands inside the client/ folder

Add a Vue Plugin

vue add <name>

Build the Frontend App

Use command `npm run build`

Run Fontend App

use command `npm run serve` inside the **\src\client**

Run Frontend App in Production Preview Mode

Use command `server -s dist`

image-text-detection-app's People

Contributors

dhamacher avatar

Watchers

James Cloos avatar  avatar  avatar

image-text-detection-app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.