Skip to content

MilePrastalo/SoftComputingTableRecognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoftComputingTableRecognition

  1. 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.

  2. 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"

  3. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •