Datasets:

Modalities:
Image
Formats:
parquet
Libraries:
Datasets
Dask
License:
File size: 1,252 Bytes
c31496d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62fb5e5
c31496d
 
 
 
 
 
 
 
 
62fb5e5
c31496d
71ccd00
 
 
 
 
 
62fb5e5
 
71ccd00
088d8fd
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
dataset_info:
  features:
  - name: image
    dtype: image
  - name: is_document
    dtype:
      class_label:
        names:
          '0': 'no'
          '1': 'yes'
  splits:
  - name: train
    num_bytes: 4056718648.905889
    num_examples: 12810
  - name: test
    num_bytes: 507010660.1794167
    num_examples: 1601
  - name: validation
    num_bytes: 507327343.9146943
    num_examples: 1602
  download_size: 5070652743
  dataset_size: 5071056653
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
  - split: validation
    path: data/validation-*
license: other
---


The `DocOrNot` dataset contains 50% of images that are pictures, and 50% that are documents.

It was built using 8k images from each one of these sources:

- RVL CDIP (Small) - https://www.kaggle.com/datasets/uditamin/rvl-cdip-small - license: https://www.industrydocuments.ucsf.edu/help/copyright/
- Flickr8k - https://www.kaggle.com/datasets/adityajn105/flickr8k - license: https://creativecommons.org/publicdomain/zero/1.0/

It can be used to train a model and classify an image as being a picture or a document.

Source code used to generate this dataset : https://github.com/tarekziade/docornot