File size: 2,412 Bytes
0467de6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
---
license: mit
task_categories:
- image-classification
language:
- en
tags:
- computer-vision
- image-classification
- surgical-tools
- surgical-instruments
- medical-imaging
- open-closed-classification
pretty_name: hinged-state-classifier-crops
size_categories:
- 1K<n<10K
---

# hinged-state-classifier-crops

Binary image classification dataset for **open vs. closed** state recognition of **hinged surgical instruments**.

## Overview

This dataset contains cropped images of three hinged surgical tool categories:

- **CM** = clamp
- **NH** = needle holder
- **SH** = shear

The target classes are:

- **open**
- **closed**

It is intended for training and evaluating hinge-state classifiers in a two-stage surgical tool recognition pipeline, where an instrument is first detected and then classified as open or closed.

## Structure

    hinged_state_classifier_crops/
    ├── train/
    │   ├── open/
    │   └── closed/
    ├── val/
    │   ├── open/
    │   └── closed/
    └── test/
        ├── open/
        └── closed/

## Dataset size

Total images: **1512**

| Split | Open | Closed | Total |
|---|---:|---:|---:|
| Train | 603 | 606 | 1209 |
| Val | 75 | 71 | 146 |
| Test | 78 | 79 | 157 |
| **Total** | **756** | **756** | **1512** |

The dataset is fully balanced at the class level.

## Global distribution

### By tool

| Tool | Count |
|---|---:|
| CM | 504 |
| NH | 504 |
| SH | 504 |

### By view

| View | Count |
|---|---:|
| CLO | 504 |
| OBL | 504 |
| TOP | 504 |

### By background

| Background | Count |
|---|---:|
| BL | 378 |
| GR | 378 |
| TR | 378 |
| WH | 378 |

## Filename convention

Images follow this naming pattern:

    {TOOL}_{VIEW}_{BACKGROUND}_{STATE}_{INDEX}

Where:

- `TOOL`: `CM`, `NH`, `SH`
- `VIEW`: `CLO`, `OBL`, `TOP`
- `BACKGROUND`: `BL`, `GR`, `TR`, `WH`
- `STATE`: `OP`, `CL`

## Validation

The dataset passed validation successfully:

- Expected total images: 1512
- Observed total images: 1512
- Problems found: 0
- Warnings found: 0
- Duplicate image-content groups: 0
- Cross-split duplicate image-content groups: 0

## Intended use

This dataset is intended for:

- binary image classification of hinged surgical instrument state,
- benchmarking open/closed classifiers,
- evaluating robustness across viewpoints and backgrounds,
- use in multi-stage surgical tool recognition systems.