This tool converts the Pascal VOC annotations
to the darknet labels
.
- Install all the npm-packages through
npm install
- Set the object classifiers in
./src/base/names.txt.
The set order of the objects determines the index of this object classifier. Yournames.txt
should look like this, for example the objectshoe
will have the index 0 in the darknet labels.
shoe
dog
cat
...
- Save the Pascal VOC annotation into
./src/base/annotations
. - Run the tool through
npm run start
, the converted annotations will be saved under./src/result/labels/*
The terminal will display each file that got converted.