rishuKumar404 commited on
Commit
33f6841
·
verified ·
1 Parent(s): 982a180

Upload README.md with huggingface_hub

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