Skip to the content.

Back-End of Web Application

The detector_app.py script loads a pre-trained cuneiform sign detector and handles detection request from the web front-end of the web application. It utilizes Flask in order to make the detector available at a specific route (URL).

The webapp back-end receives a POST request from the front-end at http://localhost:5000/detector_php, runs the detector and returns a JSON response indicating if successful. We recommend to run this back-end app locally and access it through the web front-end provided in the cuneiform-sign-detection-webapp repo.

Requirements

Additional Python packages:

Usage