DigiCam-CelebA-26K / README.md
bezzam's picture
Update README.md
a9541ef verified
---
license: mit
dataset_info:
features:
- name: lensless
dtype: image
- name: lensed
dtype: image
- name: 5_o_Clock_Shadow
dtype: bool
- name: Arched_Eyebrows
dtype: bool
- name: Attractive
dtype: bool
- name: Bags_Under_Eyes
dtype: bool
- name: Bald
dtype: bool
- name: Bangs
dtype: bool
- name: Big_Lips
dtype: bool
- name: Big_Nose
dtype: bool
- name: Black_Hair
dtype: bool
- name: Blond_Hair
dtype: bool
- name: Blurry
dtype: bool
- name: Brown_Hair
dtype: bool
- name: Bushy_Eyebrows
dtype: bool
- name: Chubby
dtype: bool
- name: Double_Chin
dtype: bool
- name: Eyeglasses
dtype: bool
- name: Goatee
dtype: bool
- name: Gray_Hair
dtype: bool
- name: Heavy_Makeup
dtype: bool
- name: High_Cheekbones
dtype: bool
- name: Male
dtype: bool
- name: Mouth_Slightly_Open
dtype: bool
- name: Mustache
dtype: bool
- name: Narrow_Eyes
dtype: bool
- name: No_Beard
dtype: bool
- name: Oval_Face
dtype: bool
- name: Pale_Skin
dtype: bool
- name: Pointy_Nose
dtype: bool
- name: Receding_Hairline
dtype: bool
- name: Rosy_Cheeks
dtype: bool
- name: Sideburns
dtype: bool
- name: Smiling
dtype: bool
- name: Straight_Hair
dtype: bool
- name: Wavy_Hair
dtype: bool
- name: Wearing_Earrings
dtype: bool
- name: Wearing_Hat
dtype: bool
- name: Wearing_Lipstick
dtype: bool
- name: Wearing_Necklace
dtype: bool
- name: Wearing_Necktie
dtype: bool
- name: Young
dtype: bool
splits:
- name: train
num_bytes: 28682557089.1
num_examples: 22100
- name: test
num_bytes: 5062009045.8
num_examples: 3900
download_size: 33915004910
dataset_size: 33744566134.899998
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: test
path: data/test-*
task_categories:
- image-to-image
- image-classification
tags:
- lensless
- computational-imaging
size_categories:
- 10K<n<100K
---
Data is measured at 30 cm, as shown below.
![DigiCam setup](setup.png)
After downloading and installing [LenslessPiCam](https://github.com/LCAV/LenslessPiCam), the [simulated PSF](https://huggingface.co/datasets/bezzam/DigiCam-CelebA-26K/blob/main/psf_simulated.png) can be obtained and compared with the measured one with the following command:
```bash
python scripts/sim/digicam_psf.py \
huggingface_repo=bezzam/DigiCam-CelebA-26K \
sim.waveprop=False \
sim.deadspace=True \
digicam.gamma=2.2 \
digicam.ap_center="[58,76]" \
digicam.ap_shape="[19,25]" \
digicam.rotate=0 \
digicam.horizontal_shift=-60 \
digicam.vertical_shift=-80
```
For a simulation that uses [wave optics](https://huggingface.co/datasets/bezzam/DigiCam-CelebA-26K/blob/main/psf_simulated_waveprop.png) (i.e. accounts for diffraction):
```
python scripts/sim/digicam_psf.py \
huggingface_repo=bezzam/DigiCam-CelebA-26K \
sim.waveprop=True \
sim.deadspace=True \
digicam.gamma=2.2 \
digicam.ap_center="[58,76]" \
digicam.ap_shape="[19,25]" \
digicam.rotate=0 \
digicam.horizontal_shift=-60 \
digicam.vertical_shift=-80
```