项目作者: nikitalpopov

项目描述 :
crowdhuman dataset for darknet
高级语言: Python
项目地址: git://github.com/nikitalpopov/crowdhuman.git
创建时间: 2021-01-27T21:29:20Z
项目社区:https://github.com/nikitalpopov/crowdhuman

开源协议:

下载


CrowdHuman for YOLO

CrowdHuman dataset prepared for darknet implementation

Optional annotations were ignored, only visible boxes are used.
All annotations are standartized to <object-class> <x> <y> <width> <height>, where:

  • <object-class> - string class of object from (person or mask)
  • <x> <y> <width> <height> - float values relative to width and height of image, it can be set from 0.0 to 1.0
  • for example: <x> = <absolute_x> / <image_width> or <height> = <absolute_height> / <image_height>
  • attention: <x> <y> - is center of rectangle (not top left corner)

Details

Annotation files are included in /annotations folder.
Images are not part of this repo, please download it by yourself and put to matching folders:
/images_{suffix}, where {suffix} is test, train or val

Algorithm creates .txt annotation file for each image (matching ID in each annotation row)
Use python3 main.py to run script

Requirements

Use pip3 install -r requirements.txt to install python dependencies