dBHz commited on
Commit
4f167dc
·
verified ·
1 Parent(s): 766203b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -118
README.md CHANGED
@@ -4,140 +4,57 @@ Due to the network conditions, the whole dataset is still uploading.
4
  license: cc
5
  ---
6
 
7
- # Dataset Card for Dataset Name
8
 
9
- <!-- Provide a quick summary of the dataset. -->
10
 
11
- This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
 
 
 
 
 
12
 
13
- ## Dataset Details
14
 
15
- ### Dataset Description
 
 
16
 
17
- <!-- Provide a longer summary of what this dataset is. -->
18
 
 
19
 
 
 
 
 
 
 
 
20
 
21
- - **Curated by:** [More Information Needed]
22
- - **Funded by [optional]:** [More Information Needed]
23
- - **Shared by [optional]:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
 
27
- ### Dataset Sources [optional]
28
 
29
- <!-- Provide the basic links for the dataset. -->
30
 
31
- - **Repository:** [More Information Needed]
32
- - **Paper [optional]:** [More Information Needed]
33
- - **Demo [optional]:** [More Information Needed]
34
 
35
- ## Uses
36
 
37
- <!-- Address questions around how the dataset is intended to be used. -->
38
 
39
- ### Direct Use
 
40
 
41
- <!-- This section describes suitable use cases for the dataset. -->
42
 
43
- [More Information Needed]
44
 
45
- ### Out-of-Scope Use
46
 
47
- <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
 
48
 
49
- [More Information Needed]
50
-
51
- ## Dataset Structure
52
-
53
- <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
54
-
55
- [More Information Needed]
56
-
57
- ## Dataset Creation
58
-
59
- ### Curation Rationale
60
-
61
- <!-- Motivation for the creation of this dataset. -->
62
-
63
- [More Information Needed]
64
-
65
- ### Source Data
66
-
67
- <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
68
-
69
- #### Data Collection and Processing
70
-
71
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
72
-
73
- [More Information Needed]
74
-
75
- #### Who are the source data producers?
76
-
77
- <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
78
-
79
- [More Information Needed]
80
-
81
- ### Annotations [optional]
82
-
83
- <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
84
-
85
- #### Annotation process
86
-
87
- <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
88
-
89
- [More Information Needed]
90
-
91
- #### Who are the annotators?
92
-
93
- <!-- This section describes the people or systems who created the annotations. -->
94
-
95
- [More Information Needed]
96
-
97
- #### Personal and Sensitive Information
98
-
99
- <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Bias, Risks, and Limitations
104
-
105
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
106
-
107
- [More Information Needed]
108
-
109
- ### Recommendations
110
-
111
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
112
-
113
- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
114
-
115
- ## Citation [optional]
116
-
117
- <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
118
-
119
- **BibTeX:**
120
-
121
- [More Information Needed]
122
-
123
- **APA:**
124
-
125
- [More Information Needed]
126
-
127
- ## Glossary [optional]
128
-
129
- <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
130
-
131
- [More Information Needed]
132
-
133
- ## More Information [optional]
134
-
135
- [More Information Needed]
136
-
137
- ## Dataset Card Authors [optional]
138
-
139
- [More Information Needed]
140
-
141
- ## Dataset Card Contact
142
-
143
- [More Information Needed]
 
4
  license: cc
5
  ---
6
 
7
+ ## Data Format and Structure
8
 
9
+ The data is organized under `./data/{username}/{action}`, where each action corresponds to a different handwriting task:
10
 
11
+ - **Action 0:** Letters, hand raised
12
+ - **Action 1:** Letters, hand not raised
13
+ - **Action 2:** Words (connected), hand raised
14
+ - **Action 3:** Words (connected), hand not raised
15
+ - **Action 4:** Words (disconnected), hand raised
16
+ - **Action 5:** Words (disconnected), hand not raised
17
 
18
+ Each action contains multiple data sets, consisting of data from a ring and a touchpad. Due to the size of the touchpad data, it's split into multiple parts. For example, for dataset with ID 1:
19
 
20
+ - Ring 0 data: `1_ring_0.bin`
21
+ - Touchpad data: `1_board_{index}.gz`
22
+ - Ring 1 data: `1_ring_1.bin` (Please ignore this.)
23
 
24
+ ### Ring Data Format
25
 
26
+ The ring data is stored in numpy format as 64-bit floating point values. After reshaping with `data_ring0 = data_ring0.reshape(-1, 7)`, the columns represent:
27
 
28
+ 1. Acceleration X
29
+ 2. Acceleration Y
30
+ 3. Acceleration Z
31
+ 4. Angular velocity X
32
+ 5. Angular velocity Y
33
+ 6. Angular velocity Z
34
+ 7. Timestamp
35
 
36
+ The data is sampled at 200Hz.
 
 
 
 
37
 
38
+ ### Touchpad Data Format
39
 
40
+ The touchpad data is stored in gzipped format (`.gz`).
41
 
42
+ ## Data Visualization
 
 
43
 
44
+ ### Ring Data Visualization
45
 
46
+ The `ring_plot.py` script can be used to visualize the ring data. It contains a function `plot_ring_data()`, which takes two parameters:
47
 
48
+ 1. Path to the ring data file
49
+ 2. A flag indicating whether to save the output
50
 
51
+ The output is a plot that visualizes the ring data.
52
 
53
+ ### Touchpad Data Visualization
54
 
55
+ The `board_plot.py` script is used for visualizing touchpad data. It contains a function `plot_board_data()`, which takes two parameters:
56
 
57
+ 1. Path to the touchpad data file
58
+ 2. Username
59
 
60
+ The function randomly samples touchpad data and outputs a visualization showing the user's writing trajectory, with color representing the pressure applied. Additionally, the `visualize_touch_data()` function can be called to visualize touchpad data for a specific time range.