docornot / README.md
tarekziade's picture
Update README.md
5cb9a00 verified
---
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