Image annotation tool is developed for Nvidia AI City Challenge. The tool is designed to provide a platform for the participating teams to annotate their assigned images collaboratively.
- Download and install MongoDB
- Download and install latest NodeJS
- Host all your images in a server.
- Update database info "config/database.js" file.
- Update the token value in "config/authenticator.js" file. This value will be used as a access token for REST APIs.
- Run "npm install" to download all modules.
- Run "npm start" to start the server.
- By default the server will run on "3000" port.
- A default "admin/admin" user will be created with admin role.
-
To create a new user, use the sign up page (http://<host>:<port>/signup) or the REST APIs.
-
To use the user create API, make a post request to the below URL.
http://<host>:<port>/api/user/create?accesstoken=<token-value>
-
Headers: {content-type:application/json}
-
Sample Request Body:
{ "name":"test", "teamName":"test", "username":"test", "password":"test", "roles":["annotator"] }
-
-
To setup the image meta data, make a post request to the following URL.
http://<host>:<port>/api/image/create?accesstoken=<token-value>
-
Headers: {content-type:application/json}
-
Sample Request Body:
{ "imageURL":"https://upload.wikimedia.org/wikipedia/commons/3/3e/I-80_Eastshore_Fwy.jpg", "users":[ { "username":"admin" },{ "username":"test" } ] }
-