Skip to content

A web tool for labeling pedestrians in an image, provideing two types of label: box and point.

Notifications You must be signed in to change notification settings

ia-foule/CCLabeler

 
 

Repository files navigation

Crowd Counting Labeler

Fork from https://github.com/Elin24/cclabeler

Crowd Counting Labeler is a tool for labeling pedestrians in a images. It is a web application which could be deployed quickly, and provides two types label: box and point.

At present, it does not support multi-class labeling, which would be a future function.

exhibitation

How to run demo

  1. clone the repository to local workspace:

git clone https://github.com/fabricejourdan/cclabeler.git

  1. create Python environment with Django and Pillow:

conda create --name cclabeler python=3.9.7 django=4.0 pillow=8.4.0 pandas==1.3.5

  1. cd to the directory, run django server:

python manage.py runserver 0.0.0.0:8000

  1. login to the address in browser and enjoy it.

http://localhost:8000/

deploy new image data for labeling

Image data should be put in data/ fold

├─images (contain images to label)
│      1.jpg
│      2.jpg
│      3.jpg
│      .....
│
├─jsons (for each image, json file containing selected points and boxes)
│      1.json
│      2.json
│      3.json
|      .....
│
└─marks
        1.json
        2.json
        3.json
        .....

Set of examples for Demo

  1. Three users

user1 , user2 and golden

Password are define in the file /users/{username}.json

  1. Each user have 3 images

user1 : images from ShanghaiTech_B

user2 : images from ShanghaiTech_B

golden : images from CityUHK-X-BEV dataset (https://github.com/daizhirui/CityUHK-X-BEV)

For each user, the list of images to label is define in the file /users/{username}.json

Summary (statistics)

loin http://localhost:8000/summary for summary.

About

A web tool for labeling pedestrians in an image, provideing two types of label: box and point.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 41.9%
  • JavaScript 32.1%
  • HTML 24.2%
  • CSS 1.5%
  • Dockerfile 0.3%