The Imagelytics web application requires Windows Server to run and it consists of:
- SQL Server database
DBScripts
. - ASP.NET web application
WebApp
. ImageProcessor
developed in Python.
- Create
Imagelytics
database. - Recreate tables using the following SQL script
DBScripts/Imagelytics.sql
.
- To modify and publish the web application you will need Visual Studio 2022.
- Before deploying the application please adjust the setting in
WebApp/WebApp/Web.config
file marked with !!!TODO. - After publishing the web application, create a writable
img
folder in the deployment root folder which will keep uploaded images.
- Set up a virtual environment for the project.
- Install project requirements listed in the
ImageProcessor/requirements.txt
file. - Change database connection settings in
ImageProcessor/settings.py
- Start image processor by running
ImageProcessor/main.py
script using Python. To automatically start the Image Processor use Windows' Task Scheduler.
- To add a new model you will need to place the appropriate .h5 and .json files into the
ImageProcessor/models
folder. - Register a new model by adding an appropriate entry into the
TrainedModels
database table.