Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
/ OCR-Docker Public archive

OCR program to recognize some real estate documents

License

Notifications You must be signed in to change notification settings

hoang-himself/OCR-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCR Demo

A docker repo for building some necessities for backend.

IMPORTANT

  • Go to your Firebase's project service accounts.
  • Click Generate New Private Key.
  • Save as serviceAccountKey.json in /back folder.

Not tested with duplicate files on Firebase.

Known issues

  • Cannot use fetch() with Docker's internal network, currently using lvh.me, because fuck Google
  • Firebase Storage takes quite long to refresh, and back-end fails to find the file. Maybe will implement front-end to save files to a Docker volume to process, then upload the file to Firebase.

How to use

Download this repository

Install git-lfs

sudo apt install git-lfs

Update submodules

cd OCR-Docker &&\
git submodule update --init

Run with Docker Compose

docker-compose up --build -d

Server is available at localhost:8000/.
All images are saved in Firebase Storage.



From TokisakiKurumi2001 and Smithienious.