-
Front-end startup:
1.1) Navigate Command Promp to Angular application "frontend/tableFrontend".
1.2) Use command "ng serve" to start the application.
1.3) Application will be started on port 4200.
1.4) If app fails to start, due to missing modules, use command "npm install", and rerun the application. -
Back-end startup:
2.1) To run the application, you must have installed Python 3 with Flask, Flask-Cors and other libraries: Keras, opencv-contrib-python, sklearn, tensorflow, numpy, matlib. Use pip to install these.
2.2) Default settings are set to use already trained artificial neural network (which is included in this project, "model.h5" and "model.json"), if you wish to train it yourself, you must go to "tableRecognition/service/ocr.py" and uncomment the line 316. and comment the line 317.
2.3) To run the application, run file "tableRecognition/app.py" -
How to use application:
3.1) After you have started front-end and back-end applications, go to the "http://localhost:4200/"
3.2) There you will see red button "Select File to Upload". Use it to select the picture you wish to upload.
3.3) After you have chosen the picture, it should be displayed on the same page, nevermind the rotation of the picture.
3.4) "Noise removal level" goes from 0 to 9, and it represents how much noise removal should be applied to your picture.
3.5) Click on the button "Send", to proccess the image.
3.6) After the image has been successfully proccessed, it should send you to another page, with recreated table from your picture.
3.7) You can use button "Back" to get back to front page, and choose another picture.
-
Notifications
You must be signed in to change notification settings - Fork 1
MilePrastalo/SoftComputingTableRecognition
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published