Simple docker deployment of document layout analysis using detectron2. Trained on Publaynet dataset.
- Run
docker-compose up --buildfrom the main folder - Mask RCNN R101 will be auto downloaded
- Type
localhost:3000in browser and upload and image
- Copy the downloaded model in
backendfolder - Copy the downloaded config yaml in
backendfolder - Update the
model_config.yamlfile with model file name and config yaml file name (not required if using default values) - Run
docker-compose up --buildfrom the main folder - Type
localhost:3000in browser and upload and image
Note: It takes time to build the image
![]() |
![]() |
|---|

