Skip to content
Justin Brooks edited this page Oct 23, 2018 · 44 revisions

Prerequisites

Docker and docker-compose is required. You can follow their documentation for installation in the links provided.

If you do not want to us docker you can install the python dependencies using the requirments.txt and then run the Flask server. You also most setup a MongoDB database and point the Flask server to it, in order for the annotator to work.

Installing with Docker

Create a copy of this repository:

git clone https://github.com/jsbroks/coco-annotator
cd coco-annotator

Run the application using docker-compose:

docker-compose up --build

Give it a few minutes to build the docker image.

Now, you can access the website (http://localhost:5000/).

Windows

Due to limitations of CIFS implementation in Linux kernel, file change events in mounted folders of a host are not propagated to a container by Docker for Windows (source). You can install docker-windows-volume-watcher or move the images into the datasets directory to fix this issue.

End-to-end Examples

Clone this wiki locally