Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,10 +14,12 @@ The original dataset was modified to inserto fake sensor information in bottom o
|
|
| 14 |
|
| 15 |
## Usage
|
| 16 |
|
|
|
|
| 17 |
dataset = load_dataset("famousdetectiveadrianmonk/sensor-ocr-benchmark")
|
| 18 |
example = dataset['train'][0]
|
| 19 |
img = example['pixel_values']
|
| 20 |
sensor_zoomin = img.crop((600, 850, 1250, 1050))
|
|
|
|
| 21 |
|
| 22 |
|
| 23 |
|
|
|
|
| 14 |
|
| 15 |
## Usage
|
| 16 |
|
| 17 |
+
```python
|
| 18 |
dataset = load_dataset("famousdetectiveadrianmonk/sensor-ocr-benchmark")
|
| 19 |
example = dataset['train'][0]
|
| 20 |
img = example['pixel_values']
|
| 21 |
sensor_zoomin = img.crop((600, 850, 1250, 1050))
|
| 22 |
+
```
|
| 23 |
|
| 24 |
|
| 25 |
|