rishuKumar404 commited on
Commit
2144992
·
verified ·
1 Parent(s): 4ccc7cc

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +120 -0
README.md ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - computer-vision
5
+ - gui-automation
6
+ - medical-imaging
7
+ language:
8
+ - en
9
+ tags:
10
+ - medical-imaging
11
+ - gui-automation
12
+ - weasis
13
+ - dicom
14
+ - benchmark
15
+ - end-to-end
16
+ - tabular
17
+ size_categories:
18
+ - 1K<n<10K
19
+ ---
20
+
21
+ # Weasis Medical Imaging GUI Benchmark (Tabular Format)
22
+
23
+ ## Dataset Description
24
+
25
+ This dataset contains 267 end-to-end GUI automation tasks for the Weasis medical imaging viewer in **tabular format**, where each row represents one complete task with all associated data.
26
+
27
+ ### Dataset Summary
28
+
29
+ - **Total Tasks**: 267
30
+ - **Total Images**: 202
31
+ - **Format**: Tabular (each row = one task)
32
+ - **Application**: Weasis Medical Imaging Viewer
33
+ - **Resolution**: 1920x1080
34
+
35
+ ### Data Structure
36
+
37
+ Each row contains:
38
+
39
+ | Column | Description | Type |
40
+ |--------|-------------|------|
41
+ | `serial_number` | Task number (1-267) | int64 |
42
+ | `instruction` | Natural language task description | string |
43
+ | `json_task` | Complete JSON data for the task | string |
44
+ | `image_sequence` | Screenshot sequence (→ separated) | string |
45
+ | `images` | All images for the task | List[Image] |
46
+ | `task_id` | Unique task identifier | string |
47
+ | `num_steps` | Number of steps in trajectory | int64 |
48
+ | `initial_image` | Starting image filename | string |
49
+ | `final_success` | Whether task completed successfully | bool |
50
+
51
+ ### Usage
52
+
53
+ ```python
54
+ from datasets import load_dataset
55
+ import json
56
+
57
+ # Load the dataset
58
+ dataset = load_dataset("YOUR_USERNAME/weasis-tabular-benchmark")
59
+
60
+ # Access a task (row)
61
+ task_row = dataset["train"][0]
62
+ print(f"Task {task_row['serial_number']}: {task_row['instruction']}")
63
+ print(f"Steps: {task_row['num_steps']}")
64
+ print(f"Image sequence: {task_row['image_sequence']}")
65
+
66
+ # Parse the JSON task data
67
+ task_json = json.loads(task_row['json_task'])
68
+ print(f"Trajectory steps: {len(task_json['trajectory'])}")
69
+
70
+ # Access images
71
+ for i, image in enumerate(task_row['images']):
72
+ if image is not None:
73
+ print(f"Image {i+1}: {image.size}")
74
+ ```
75
+
76
+ ### Task Examples
77
+
78
+ **Row 1: Basic DICOM Loading**
79
+ - Instruction: "Load CT abdomen series of Rishu, set a 1×2 layout, and invert contrast of one to compare them."
80
+ - Steps: 9
81
+ - Image sequence: "1.png → 2.png → Import DCM Slide CT Rishu.png → ..."
82
+ - Success: True
83
+
84
+ **Row 25: Measurement Task**
85
+ - Instruction: "Load chest X-ray of Rishu, use the Line tool to measure the heart width."
86
+ - Steps: 6
87
+ - Image sequence: "1.png → 2.png → ... → Line measurement.png"
88
+ - Success: True
89
+
90
+ ### Action Types
91
+
92
+ - **CLICK**: Button clicks, menu selections, dialog interactions
93
+ - **SCROLL**: Image navigation, panning, scrolling
94
+ - **TEXT**: Text input, annotations, search fields
95
+ - **SEGMENT**: ROI drawing, measurement tools, annotation drawing
96
+ - **ZOOM**: Zoom in/out operations
97
+ - **COMPLETE**: Task completion, saving, exporting
98
+
99
+ ### Advantages of Tabular Format
100
+
101
+ 1. **Easy Analysis**: Each task is one row
102
+ 2. **Quick Filtering**: Filter by instruction type, success rate, etc.
103
+ 3. **Image Access**: All images for a task in one place
104
+ 4. **JSON Parsing**: Full task data available when needed
105
+ 5. **CSV Export**: Can be opened in Excel/Google Sheets
106
+
107
+ ### Citation
108
+
109
+ ```bibtex
110
+ @dataset{weasis_tabular_benchmark_2024,
111
+ title={Weasis Medical Imaging GUI Benchmark (Tabular Format)},
112
+ author={Your Name},
113
+ year={2024},
114
+ url={https://huggingface.co/datasets/rishuKumar404/weasis-tabular-benchmark}
115
+ }
116
+ ```
117
+
118
+ ### License
119
+
120
+ MIT License