File size: 1,234 Bytes
c31496d
7674501
c31496d
 
 
 
 
 
 
 
 
 
 
 
7674501
 
c31496d
7674501
 
c31496d
7674501
 
 
 
c31496d
 
 
 
 
 
 
 
 
 
71ccd00
 
 
 
 
 
62fb5e5
 
71ccd00
088d8fd
 
5cb9a00
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
---
license: other
dataset_info:
  features:
  - name: image
    dtype: image
  - name: is_document
    dtype:
      class_label:
        names:
          '0': 'no'
          '1': 'yes'
  splits:
  - name: train
    num_bytes: 3747106867.2
    num_examples: 12800
  - name: test
    num_bytes: 468388358.4
    num_examples: 1600
  - name: validation
    num_bytes: 468388358.4
    num_examples: 1600
  download_size: 4682888903
  dataset_size: 4683883584.0
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
  - split: validation
    path: data/validation-*
---


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/mozilla/docornot