CasiaFan / Dataset_to_VOC_converter

Scripts to convert datasets (Caltech pedestrian, MS COCO, HDA) to PASCAL VOC format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem in the {difficult} of caltech

PythonImageDeveloper opened this issue · comments

Hi , in the vbb2voc.py :
Q1) why E.difficult(0) are for all objects zero ? i want to have difficult of objects.
Q2) what are these ?lock, posv

@zeynali In my case, I just wanna use all instances so I set all difficult to 0. In Caltech pedestrian dataset, difficult is not directly provided. Maybe you could use occlude as reference of difficult.

As for lock and posv, the former is to indicate if bounding box is locked during labeling; the latter is to indicate the bounding box of visible region.