# Crossarm and Top-Cleat Tilt Assessment Module - PD-Defect Collection, licensing, and citation are documented on the [main dataset card](../README.md). ## TL;DR Two subsets are released on the same 1,686 pole-top crops: object detection with six joint component-and-condition classes (3,449 instances), and keypoint detection with structural-axis endpoints for `pole`, `crossarm`, `v-crossarm`, and `topcleat` (4,951 instances; `kpt_shape` [2, 3]). ## Task Definition - **Object Detection** (`object_detection/`): each instance receives one of `crossarm_straight`, `crossarm_tilted`, `topcleat_straight`, `topcleat_tilted`, `v-crossarm_straight`, `v-crossarm_tilted`. - **Keypoints** (`keypoint_detection/`): structural axis endpoints for `pole`, `crossarm`, `v-crossarm`, and `topcleat` (`kpt_shape: [2, 3]`). Keypoint classes do not encode Straight or Tilted. ## Label Definitions Released class strings are `crossarm`, `v-crossarm`, `topcleat`, and the six Straight/Tilted compounds listed under Annotation Format. ### Component Types - **Crossarm:** horizontal member mounted on a utility pole to support insulators and conductors. - **V-Crossarm:** V-shaped crossarm assembly mounted on a utility pole to support insulators and conductors. - **Top Cleat:** pole-top component that secures the top conductor on a V-Crossarm structure. Tapping crossarms, LT crossarms, and side arms are all annotated under the `crossarm` family (`crossarm_straight` / `crossarm_tilted` in detection; `crossarm` in keypoints). The field variant is not recorded. No comparable grouping applies to `v-crossarm` or `topcleat`. ### Condition - **Straight:** visually aligned with the expected structural orientation, assessed relative to the pole axis, on crops that passed the Pole-top crops perspective screen. - **Tilted:** exhibits a consistent and visually discernible deviation from the expected structural orientation, assessed relative to the pole axis. ## Cropping Protocol Each crop is derived from one pole bounding box from [Pole Lean Assessment](../pole_lean_assessment/README.md) object detection. Extents are scaled by box height `bh`, measured from the top edge and horizontal center of the box: - Vertical: from 0.20×`bh` above the top edge to 0.50×`bh` below it (total span 0.70×`bh`) - Horizontal: 0.57×`bh` on each side of the box center (total width 1.14×`bh`) Box height is used as the scale because box width reflects only shaft thickness, whereas height tracks apparent size in the image. Crops are clamped to the image boundary. ## Annotation Protocol ### Object Detection Only crops that meet the perspective criteria are annotated. Boxes enclose the formal structural member used for tilt assessment: - **Crossarm:** main horizontal structural member; insulators, conductors, and field-fabricated or welded extensions excluded - **V-Crossarm:** complete assembly from apex to the outer ends of both crossarm members; conductors, insulators, and field-fabricated or welded extensions excluded - **Top Cleat:** from top surface to lower clamping end; field additions excluded; partially occluded components estimated conservatively from visible geometry Insulators, conductors, and contiguous field-fabricated or welded extensions are excluded so that Straight / Tilted judgment is not influenced by attachments that do not share the member's orientation. [Voltage Level Classification](../voltage_level/README.md) includes those extensions. ### Keypoints This dataset uses two keypoints for each instance. Storage order in YOLO pose labels follows `data.yaml` (`kpt_shape: [2, 3]`): 1. **`pole`:** keypoint 0 = bottom (ground line), keypoint 1 = top, along the approximate centerline at the center of visible width. When partial occlusion occurs, the centerline was continued through the occluded region only if its geometry could be reliably inferred. 2. **`topcleat`:** placed along the vertical centerline at the top and bottom of the visible cleat. Keypoint 0 = bottom of the visible clamp when clearly visible (or bottom of the visible cleat body when the clamp is not visible); keypoint 1 = top of the visible cleat. Keypoints were not extended into regions that were not visible. 3. **`crossarm`:** placed at the centers of the two outer ends of the visible crossarm structure (keypoint 0 = left end center, keypoint 1 = right end center). Partially visible or bent components were annotated only when the required keypoints could be identified reliably; components were excluded when physical damage or occlusion prevented reliable determination of the required keypoints. 4. **`v-crossarm`:** placed at the centers of the two outer structural joints of the V-crossarm assembly (keypoint 0 = left outer structural side-joint center, keypoint 1 = right outer structural side-joint center). Omit assemblies whose joints cannot be identified reliably. 5. Omit an instance whenever required keypoints cannot be determined reliably. Non-interfering background clutter does not by itself disqualify an annotation. ### Perspective Crops are retained only when the pole was photographed close to head-on, so that Crossarm and Top Cleat orientation in the image reflects true structure. A distorted view may affect the Straight / Tilted judgment. Crops that failed this screen were excluded from both subsets and released in the pole-top crops subset of [Perspective Validation](../perspective_validation/README.md). ## Class Distribution **Object Detection (instances, all splits):** `crossarm_straight` 833; `crossarm_tilted` 407; `topcleat_straight` 774; `topcleat_tilted` 308; `v-crossarm_straight` 662; `v-crossarm_tilted` 465 (total 3,449). **Keypoints (instances, all splits):** `pole` 1,775; `crossarm` 1,155; `v-crossarm` 1,092; `topcleat` 929 (total 4,951). ## Annotation Format **Object Detection** (YOLO): ```text ``` | ID | Class | | --- | --------------------- | | 0 | `crossarm_straight` | | 1 | `crossarm_tilted` | | 2 | `topcleat_straight` | | 3 | `topcleat_tilted` | | 4 | `v-crossarm_straight` | | 5 | `v-crossarm_tilted` | **Keypoints** (YOLO pose): classes 0–3 are `pole`, `crossarm`, `v-crossarm`, `topcleat`. For `pole` and `topcleat`, keypoints run bottom to top; for `crossarm` and `v-crossarm`, left to right. ## Dataset Structure ```text crossarm_top_cleat_tilt_assessment/ ├── object_detection/ │ ├── data.yaml │ ├── dataset.json │ ├── train/ │ │ ├── images/ │ │ ├── labels/ │ │ └── train.json │ ├── valid/ │ │ ├── images/ │ │ ├── labels/ │ │ └── val.json │ └── test/ │ ├── images/ │ ├── labels/ │ └── test.json └── keypoint_detection/ ├── data.yaml ├── images/ │ ├── train/ │ ├── valid/ │ └── test/ ├── labels/ │ ├── train/ │ ├── valid/ │ └── test/ └── JSON/ ├── dataset.json ├── train.json ├── val.json └── test.json ``` Both modalities use `valid/` for the validation split. ## Train / Validation / Test Split Train 1,175 (69.69%) / valid 254 (15.07%) / test 257 (15.24%) for both modalities (1,686 crops each). ## Baseline Benchmarks **Object Detection** — YOLO12m. Overall box metrics are given in the split headers; class-wise metrics follow. `valid` — Precision 86.42%; Recall 90.30%; `mAP@0.5` 92.37%; `mAP@0.5:0.95` 81.09% | Class | Precision | Recall | `mAP@0.5` | `mAP@0.5:0.95` | | ------------------- | --------- | ------ | --------- | -------------- | | crossarm_straight | 90.49% | 92.00% | 93.57% | 76.05% | | crossarm_tilted | 74.17% | 91.38% | 90.25% | 77.10% | | topcleat_straight | 88.13% | 86.15% | 89.12% | 74.01% | | topcleat_tilted | 85.80% | 86.96% | 90.99% | 74.95% | | v-crossarm_straight | 90.25% | 93.62% | 94.15% | 91.11% | | v-crossarm_tilted | 89.70% | 91.66% | 96.13% | 93.30% | `test` — Precision 89.39%; Recall 87.58%; `mAP@0.5` 92.17%; `mAP@0.5:0.95` 79.91% | Class | Precision | Recall | `mAP@0.5` | `mAP@0.5:0.95` | | ------------------- | --------- | ------ | --------- | -------------- | | crossarm_straight | 93.16% | 87.79% | 94.69% | 74.00% | | crossarm_tilted | 88.08% | 93.65% | 95.24% | 81.49% | | topcleat_straight | 90.35% | 82.15% | 92.04% | 76.37% | | topcleat_tilted | 82.53% | 76.27% | 84.04% | 69.06% | | v-crossarm_straight | 93.15% | 93.80% | 95.19% | 89.84% | | v-crossarm_tilted | 89.07% | 91.83% | 91.83% | 88.68% | ### Image-level metrics Image-level presence/absence per class at detection confidence 0.35 (binary Accuracy, Precision, Recall, and F1 over images). `valid` (254 images) | Class | Accuracy | Precision | Recall | F1 | | ------------------- | -------- | --------- | ------ | ------ | | crossarm_straight | 94.49% | 91.74% | 95.24% | 93.46% | | crossarm_tilted | 93.70% | 80.95% | 92.73% | 86.44% | | topcleat_straight | 93.70% | 93.52% | 91.82% | 92.66% | | topcleat_tilted | 94.88% | 85.11% | 86.96% | 86.02% | | v-crossarm_straight | 94.88% | 88.37% | 96.20% | 92.12% | | v-crossarm_tilted | 94.49% | 90.67% | 90.67% | 90.67% | `test` (257 images) | Class | Accuracy | Precision | Recall | F1 | | ------------------- | -------- | --------- | ------ | ------ | | crossarm_straight | 94.94% | 92.98% | 95.50% | 94.22% | | crossarm_tilted | 93.00% | 78.67% | 96.72% | 86.76% | | topcleat_straight | 90.27% | 89.19% | 88.39% | 88.79% | | topcleat_tilted | 93.39% | 83.87% | 88.14% | 85.95% | | v-crossarm_straight | 94.55% | 91.43% | 95.05% | 93.20% | | v-crossarm_tilted | 94.94% | 88.16% | 94.37% | 91.16% | **Keypoints** — YOLO12m pose (`pole`, `crossarm`, `v-crossarm`, `topcleat`). Box metrics use detection IoU; pose metrics use OKS. **Box —** `valid` — Precision 93.95%; Recall 93.96%; `mAP@0.5` 97.07%; `mAP@0.5:0.95` 87.29% | Class | Precision | Recall | `mAP@0.5` | `mAP@0.5:0.95` | | ---------- | --------- | ------ | --------- | -------------- | | pole | 96.92% | 94.49% | 97.93% | 96.12% | | crossarm | 92.92% | 91.10% | 95.75% | 78.68% | | v-crossarm | 98.74% | 96.96% | 99.39% | 96.20% | | topcleat | 87.22% | 93.28% | 95.20% | 78.15% | **Pose (OKS) —** `valid` — Precision 94.58%; Recall 94.68%; `mAP@0.5` 97.46%; `mAP@0.5:0.95` 97.32% | Class | Precision | Recall | `mAP@0.5` | `mAP@0.5:0.95` | | ---------- | --------- | ------ | --------- | -------------- | | pole | 96.85% | 94.49% | 98.09% | 98.02% | | crossarm | 93.52% | 91.71% | 95.87% | 95.78% | | v-crossarm | 98.74% | 97.01% | 99.39% | 99.39% | | topcleat | 89.22% | 95.52% | 96.49% | 96.09% | **Box —** `test` — Precision 96.37%; Recall 95.65%; `mAP@0.5` 98.18%; `mAP@0.5:0.95` 87.13% | Class | Precision | Recall | `mAP@0.5` | `mAP@0.5:0.95` | | ---------- | --------- | ------ | --------- | -------------- | | pole | 98.86% | 97.73% | 99.14% | 96.03% | | crossarm | 93.72% | 91.74% | 96.31% | 77.28% | | v-crossarm | 99.65% | 99.45% | 99.50% | 94.69% | | topcleat | 93.24% | 93.66% | 97.78% | 80.50% | **Pose (OKS) —** `test` — Precision 96.61%; Recall 95.88%; `mAP@0.5` 98.48%; `mAP@0.5:0.95` 98.21% | Class | Precision | Recall | `mAP@0.5` | `mAP@0.5:0.95` | | ---------- | --------- | ------ | --------- | -------------- | | pole | 99.24% | 98.10% | 99.39% | 99.19% | | crossarm | 94.29% | 92.30% | 97.23% | 97.15% | | v-crossarm | 99.65% | 99.45% | 99.50% | 99.50% | | topcleat | 93.24% | 93.66% | 97.78% | 97.01% | ## Limitations Limitations specific to this module: - The `crossarm` class merges tapping, LT, and side-arm variants, so the release cannot be used to distinguish those equipment types. - Tilted instances are fewer than Straight for every component type. - Tilt was judged from imagery without measured angles; `Tilted` carries no angle value. ## Examples Object detection samples from the test set. Boxes show predicted class and confidence. ![Crossarm and Top-Cleat detection examples](./examples/crossarm_od_collage.jpg) Keypoint samples. Each line joins the structural-axis endpoints for that component. ![Crossarm and Top-Cleat keypoint examples](./examples/crossarm_pose_collage.jpg) ## Citation Please cite PD-Defect ([DOI 10.6084/m9.figshare.34329402](https://doi.org/10.6084/m9.figshare.34329402)); BibTeX is given on the [main dataset card](../README.md).