leoventu commited on
Commit
25df390
·
verified ·
1 Parent(s): efbd7cb

Simplify documentation and keep essential usage details

Browse files
Files changed (2) hide show
  1. README.md +11 -21
  2. checksums.sha256 +1 -1
README.md CHANGED
@@ -36,38 +36,28 @@ tags:
36
  ---
37
  # Pose classifier dataset
38
 
39
- RGB videos and labelled component crops for pneumatic piston assembly.
40
 
41
- Three components: `front_cover`, `rear_cover`, `piston_rod`. Classes: `correct_pose`, `flipped_pose`, `side_pose`. Source folder `flip_pose` maps to `flipped_pose`.
42
 
43
- | Component | Train images | Validation images | Test images |
44
  | --- | ---: | ---: | ---: |
45
  | front_cover | 137 | 324 | 128 |
46
  | rear_cover | 196 | 268 | 201 |
47
  | piston_rod | 153 | 185 | 150 |
48
 
49
- ## Contents
50
 
51
- - `datasets/<component>/{train,val,test}/<class>/*.jpg`: classifier inputs.
52
- - `source_videos/`: 27 single-pose videos and 3 additional unlabelled test videos; 1280×720, no audio.
53
- - `datasets/<component>/split_manifest.json`: one source video per class in each split, seed 7. Three duplicate source videos are excluded.
54
- - `sequences/` and `image_manifest.jsonl`: source video/frame, bounding box, confidence and image hashes.
55
- - `preparation_config.json`, `validation.json`, `checksums.sha256`: parameters and integrity checks.
56
 
57
- ## Preparation
58
 
59
- Frames are sampled every 15 frames. Full-frame Laplacian variance must be at least 60; similarity filtering uses grayscale difference 0.03 and a 30-frame gap. RF-DETR Small detects the target component with confidence at least 0.5; crops use 20% padding and minimum side 24 pixels. RF-DETR receives RGB input. Labels are assigned from the source video's pose folder. A fixed bench label falsely detected as a component was excluded using the image coordinates documented in `quality_exclusions.json`. Entire videos stay in one split; the additional unlabelled test videos are separate from the labelled crop test split.
60
 
61
- Use a component's dataset directory with Ultralytics classification training. `prepare_pose_dataset.py --help` describes the extraction utility; its runtime uses RF-DETR 1.3.0, PyTorch 2.6.0, OpenCV 4.11.0 and NumPy 2.0.2. It also requires the companion RF-DETR checkpoint and detector COCO annotations.
62
 
63
- ## Context and limitations
64
 
65
- Associated manuscript: *A Vision-Based Framework for Manual Assembly Verification and Adaptive Operator Assistance*, Naveen Joseph Delphin, Leonardo Venturoso, Isabella Soraruf and Marco Todescato.
66
 
67
- The videos depict a workbench, parts and hands. Collection covers one setup and three videos per class/component; performance may change with the camera, lighting, operator or part geometry. Labels follow the single-pose video assignment; no per-frame manual relabelling is implied. The additional test videos require annotation for quantitative pose evaluation. Split counts are determined by complete videos, rather than target image percentages.
68
-
69
- Code: https://github.com/fraunhofer-italia/vision-assembly-assistance
70
-
71
- Dataset license: [MIT](LICENSE). Companion models retain their respective upstream terms.
72
-
73
- Models: [piston-front-cover-pose](https://huggingface.co/fhi/piston-front-cover-pose), [piston-rear-cover-pose](https://huggingface.co/fhi/piston-rear-cover-pose), [piston-rod-pose-experimental](https://huggingface.co/fhi/piston-rod-pose-experimental).
 
36
  ---
37
  # Pose classifier dataset
38
 
39
+ **1,742 labelled crops and 30 RGB videos** for `front_cover`, `rear_cover` and `piston_rod`.
40
 
41
+ Classes: `correct_pose`, `flipped_pose`, `side_pose`.
42
 
43
+ | Component | Train | Validation | Test |
44
  | --- | ---: | ---: | ---: |
45
  | front_cover | 137 | 324 | 128 |
46
  | rear_cover | 196 | 268 | 201 |
47
  | piston_rod | 153 | 185 | 150 |
48
 
49
+ ## Use
50
 
51
+ Use `datasets/<component>/` with Ultralytics classification training. Each split contains one video per class; complete videos stay in a single split (seed 7).
 
 
 
 
52
 
53
+ `source_videos/` contains 27 single-pose videos and 3 additional unlabelled test videos. Videos are 1280×720 without audio. Labels follow each video's pose folder; `flip_pose` maps to `flipped_pose`.
54
 
55
+ ## Extraction
56
 
57
+ RF-DETR Small extracts the target part with confidence ≥0.5 and 20% bounding-box padding. Frame sampling and blur/similarity filters are recorded in `preparation_config.json`; background-crop exclusions are listed in `quality_exclusions.json`.
58
 
59
+ Split manifests, per-image source/frame/bounding-box records and SHA-256 hashes are included. Run `prepare_pose_dataset.py --help` for extraction options and install `requirements.txt` for its environment.
60
 
61
+ Models: [front cover](https://huggingface.co/fhi/piston-front-cover-pose), [rear cover](https://huggingface.co/fhi/piston-rear-cover-pose), [piston rod](https://huggingface.co/fhi/piston-rod-pose-experimental).
62
 
63
+ Paper and code: [Vision assembly assistance](https://github.com/fraunhofer-italia/vision-assembly-assistance). License: [MIT](LICENSE).
 
 
 
 
 
 
checksums.sha256 CHANGED
@@ -1,5 +1,5 @@
1
  6e5d8f6a7b2f8a0127944ed9deba64088dfe4f877692172738926592570da470 LICENSE
2
- 0972070fc6c9756302cd90ef85280699e516672c3e058da4c8fe2a3ae4bf7d08 README.md
3
  67ee776ebbb8447dfd6a4cb064737a264dcdb5761836d3ac001de42fa4ed6304 datasets/front_cover/dataset.yaml
4
  3a0bf8c179159175231356ed7348b349a7e3f89e7f44e10c681d6ea7e38c04b5 datasets/front_cover/split_manifest.json
5
  67fa0fc2bd94a7805df7bdfe9d73b0e064749fab7a71f2cc7ee12c2d645a6cdb datasets/front_cover/test/correct_pose/front_cover_correct_02_rgb_f000030.jpg
 
1
  6e5d8f6a7b2f8a0127944ed9deba64088dfe4f877692172738926592570da470 LICENSE
2
+ cab87fc38215ef851286d85a83b8a1d9b8142091ea41842e0d501e2b32cdd85f README.md
3
  67ee776ebbb8447dfd6a4cb064737a264dcdb5761836d3ac001de42fa4ed6304 datasets/front_cover/dataset.yaml
4
  3a0bf8c179159175231356ed7348b349a7e3f89e7f44e10c681d6ea7e38c04b5 datasets/front_cover/split_manifest.json
5
  67fa0fc2bd94a7805df7bdfe9d73b0e064749fab7a71f2cc7ee12c2d645a6cdb datasets/front_cover/test/correct_pose/front_cover_correct_02_rgb_f000030.jpg