rbhatia46 / OpticalCharacterRecognition

Using Tesseract, an open source library for performing Optical Character Recognition in Python.
0 stars 3 forks source link

Integrate with a Flask Web App #1

Open rbhatia46 opened 5 years ago

rbhatia46 commented 5 years ago

The app currently can be run only through the terminal. It would be beneficial if it can be integrated with Flask and turned into a web app using the python backend already written.

ethchest commented 5 years ago

Shouldn't this be a separate project/repository instead?

rbhatia46 commented 5 years ago

@ethchest, maybe but I think the backend is working fine, it just needs the frontend wrapped inside a flask app and I guess 2 different repos(front-end and back-end) for one single project might not be needed. Thanks for your opinion anyways :)

volodymyr4152 commented 5 years ago

Well, The backend is not fine. You have only a few lines of code that send data to pytesseract and retrieves recognized text. Code that will appear in process of "integration" is more complex than the code in project. I think the name of the issue is not correct. "rewrite project and add web UI" is more suitable here

GudarJs commented 5 years ago

I can help with this, could you give some insights about the project. Also if you have one mock up or sketch that describes how should look the web ui would be helpful.

rbhatia46 commented 5 years ago

@GudarJs would appreciate that. All we need is a simple UI with 2 inputs(one for PDFs, another for Images). and display the result beneath that upon clicking the suitable button. You can have a look at this for reference

capture

GudarJs commented 5 years ago

Ok, could you please assign me the issue, I will be working in this today.

rbhatia46 commented 5 years ago

Sure, @GudarJs , please go ahead!

GudarJs commented 5 years ago

@rbhatia46 please check the pr #2