OrangeRed / image-ocr-translator

Upload Image files and extract words to look up their translations.
1 stars 0 forks source link

Transients - Image OCR Translator

Upload Image files and extract words to look up their translations.

Here is a short demo of the website in action.


Installation

To access the project, run the following:

git clone --recursive git@github.com:OrangeRed/image-ocr-translator.git
cd image-ocr-translator

To build the program, run the following:

docker-compose up 

After docker builds the website, it can be accessed via http://localhost:3000/



Notes

Ignore the following MongoDB error if you receive it when starting the server. This seems to be an issue in the most recent version of mongoose.

(node:40807) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:40807) DeprecationWarning: Listening to events on the Db class has been deprecated and will be removed in the next major version.


If you receive the following error:

Error: listen EADDRINUSE: address already in use :::5000

.
.
.

[nodemon] app crashed - waiting for file changes before starting...
  1. End terminal session:\ Ctrl + D

  2. Run:

    npx kill-port 5000


API documentation can be found here.