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
gitandgit-lfs. - Pull this repo with command
git clone --recurse-submodules. - In
./classifierfolder, rungit lfs pull. - Check if you need a third-party source for pip or npm in
Dockerfile. Note thatfrontend/Dockerfileuses a HTTP proxy server by default, remember to configurate it for your environment. - Set the port you want in
portsfield 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.ymlinstead. - Test it with your browser.
