Text/non-text image crawler & classifier service. Software course project of EIC, HUST (2021 Autumn).
See https://github.com/KSkun/Image-Text-Nontext-Classifier.
See https://github.com/KSkun/Image-Spider.
Frontend: https://github.com/KSkun/Image-Classifier-Frontend.
Backend: https://github.com/KSkun/Image-Classifier-Backend.
The service is split to 4 modules and developed individually, then containerized with Dockerfile. In this repo, the service is configurated with docker-compose.yml
, which makes deployment easier for users.
- Install
git
andgit-lfs
. - Pull this repo with command
git clone --recurse-submodules
. - In
./classifier
folder, rungit lfs pull
. - Check if you need a third-party source for pip or npm in
Dockerfile
. Note thatfrontend/Dockerfile
uses a HTTP proxy server by default, remember to configurate it for your environment. - Set the port you want in
ports
field of frontend indocker-compose.yml
. - Run
docker-compose up -d
, wait for building image & creating containers. If you need a development environment, usedocker-compose-debug.yml
instead. - Test it with your browser.