Create Pascal Voc Dataset
Create PASCAL VOC 2007 dataset
Install / Use
npx skills add murphypei/create-pascal-voc-datasetInstalls into whichever agent you are using.
README
CREATE PASCAL VOC 2007 DATASET
Refactor all the project ! Now it's more efficient and the structure is more clear.
Usage
-
Get your dataset annotations file, parse and save it to two files
trainval_annotations.txtandtest_annotations.txt, file name doesn't matter. -
Your annotations file must have the format like this:
image_full_path object1_class x1_min y1_min x1_max y1_max object2_class x2_min y2_min x2_max y2_max...-
You can check
examples/Train_annotation.txtfile to understand the annotation format more clearly, this is the INRIA annotations file after my processing, your annotations file should be like this. -
You should write your own dataset annotation process program, I just write for INRIA dataset and you can reference it in
preprocess/inria_preprocess.py. -
If I have more time, I will write more process program, you can send your requires in issues.
-
-
Edit your dataset config and run file;
-
Check the
examples/inria_example.pyto understand how to call thePASCALVOC07class -
Config your own information in your pascal voc dataset
-
Set the dataset directory, annotations file and output directory, then just run
build, wait for your own pascal voc dataset.
-
Example
- I have writen an example of the INRIA dataset:
python preprocess/inria_preprocess.py /path/to/INRIAPerson
python examples/inria_example.py /path/to/INRIAPerson /path/to/output
Anything can be send to issues and forgive my poor English...
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
