minhleduc commited on
Commit
ae703d9
Β·
verified Β·
1 Parent(s): be3bf70

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +23 -43
README.md CHANGED
@@ -1,58 +1,38 @@
 
1
  ---
2
  license: mit
3
  task_categories:
4
  - image-classification
5
  tags:
6
  - human-detection
 
7
  - computer-vision
8
  size_categories:
9
- - n<1K
10
- configs:
11
- - config_name: default
12
- data_files:
13
- - split: train
14
- path: data/train-*
15
- - split: validation
16
- path: data/validation-*
17
- - split: test
18
- path: data/test-*
19
- dataset_info:
20
- features:
21
- - name: image
22
- dtype: image
23
- - name: label
24
- dtype:
25
- class_label:
26
- names:
27
- '0': human
28
- '1': non_human
29
- splits:
30
- - name: train
31
- num_bytes: 58130594.868
32
- num_examples: 5973
33
- - name: validation
34
- num_bytes: 17288633.048
35
- num_examples: 1706
36
- - name: test
37
- num_bytes: 9426595.0
38
- num_examples: 855
39
- download_size: 88469762
40
- dataset_size: 84845822.91600001
41
  ---
42
 
43
  # Human vs Non-Human Face Dataset
44
 
45
- This dataset is specifically curated for training binary classifiers to distinguish between real human faces and non-human faces (statues, art representations, etc.).
 
 
 
 
 
 
 
 
46
 
47
- ## πŸ“ Structure
48
- The dataset follows the standard ImageFolder/YOLO classification format:
49
- - `train/`: Training images
50
- - `val/`: Validation images
51
- - `test/`: Testing images (851 samples)
52
 
53
- Classes: `human`, `non_human`
 
 
 
54
 
55
- ## πŸ“Š Summary
56
- - **Human samples**: 433 (test set)
57
- - **Non-human samples**: 418 (test set)
58
- - **Format**: JPG/PNG images resized/cropped to face regions.
 
1
+
2
  ---
3
  license: mit
4
  task_categories:
5
  - image-classification
6
  tags:
7
  - human-detection
8
+ - face-classification
9
  - computer-vision
10
  size_categories:
11
+ - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  # Human vs Non-Human Face Dataset
15
 
16
+ A robust dataset for binary classification between real human faces and non-human face-like objects (statues, art, gaming, anime).
17
+
18
+ ## πŸ“Š Dataset Statistics
19
+ | Split | Human | Non-Human | Total |
20
+ | :--- | :--- | :--- | :--- |
21
+ | **Train** | 3,024 | 2,949 | 5,973 |
22
+ | **Validation** | 864 | 842 | 1,706 |
23
+ | **Test** | 433 | 422 | 855 |
24
+ | **Total** | | | **8,534** |
25
 
26
+ ## πŸ“ Format
27
+ - Images are decodable as **PIL.Image** objects.
28
+ - Labels: `0: human`, `1: non_human`.
 
 
29
 
30
+ ## πŸš€ Quick Start
31
+ ```python
32
+ from datasets import load_dataset
33
+ ds = load_dataset("8Opt/human-nonhuman-face-classification")
34
 
35
+ # Access test set
36
+ example = ds['test'][0]
37
+ img, label = example['image'], example['label']
38
+ img.show()