Datasets:
Update README.md
Browse filesExample for usage
README.md
CHANGED
|
@@ -41,4 +41,18 @@ There are 2 versions of this dataset
|
|
| 41 |
# Description
|
| 42 |
The Handwritten Chess Scoresheet Datase (HCS) contains a set of single and double paged chess scoresheet images with ground truth labels.
|
| 43 |
The unprocessed images are a list of the scoresheets the corresponding labels.
|
| 44 |
-
The labels are a list of strings of the chess moves shown on the scoresheet in the order of the right order as on the scoresheet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
# Description
|
| 42 |
The Handwritten Chess Scoresheet Datase (HCS) contains a set of single and double paged chess scoresheet images with ground truth labels.
|
| 43 |
The unprocessed images are a list of the scoresheets the corresponding labels.
|
| 44 |
+
The labels are a list of strings of the chess moves shown on the scoresheet in the order of the right order as on the scoresheet.
|
| 45 |
+
|
| 46 |
+
# Usage
|
| 47 |
+
## In Python script
|
| 48 |
+
```python
|
| 49 |
+
from datasets import Dataset
|
| 50 |
+
unprocessed_hcs = datasets.load_dataset("Benjaminkost/unprocessed_hcs")
|
| 51 |
+
|
| 52 |
+
# Show first image
|
| 53 |
+
first_image = unprocessed_hcs["train"][0]["image"]
|
| 54 |
+
first_label = unprocessed_hcs["train"][0]["labels"]
|
| 55 |
+
|
| 56 |
+
first_image.show()
|
| 57 |
+
print(first_label)
|
| 58 |
+
```
|