Datasets:
image image | source_id string | parent_id string | is_mixed int64 | label_name string | original_filename string | augmentation string | is_augmented bool |
|---|---|---|---|---|---|---|---|
veg_000__v00 | veg_000 | 0 | single | p1.jpg | dihedral_identity+photometric_jitter | true | |
veg_000__v01 | veg_000 | 0 | single | p1.jpg | dihedral_rot90+photometric_jitter | true | |
veg_000__v02 | veg_000 | 0 | single | p1.jpg | dihedral_rot180+photometric_jitter | true | |
veg_000__v03 | veg_000 | 0 | single | p1.jpg | dihedral_rot270+photometric_jitter | true | |
veg_000__v04 | veg_000 | 0 | single | p1.jpg | dihedral_flip+photometric_jitter | true | |
veg_000__v05 | veg_000 | 0 | single | p1.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_000__v06 | veg_000 | 0 | single | p1.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_000__v07 | veg_000 | 0 | single | p1.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_000__v08 | veg_000 | 0 | single | p1.jpg | padded_rotation+photometric_jitter | true | |
veg_000__v09 | veg_000 | 0 | single | p1.jpg | dihedral_flip_rot270+photometric_jitter+sensor_noise | true | |
veg_001__v00 | veg_001 | 0 | single | p2.jpg | dihedral_identity+photometric_jitter | true | |
veg_001__v01 | veg_001 | 0 | single | p2.jpg | dihedral_rot90+photometric_jitter | true | |
veg_001__v02 | veg_001 | 0 | single | p2.jpg | dihedral_rot180+photometric_jitter | true | |
veg_001__v03 | veg_001 | 0 | single | p2.jpg | dihedral_rot270+photometric_jitter | true | |
veg_001__v04 | veg_001 | 0 | single | p2.jpg | dihedral_flip+photometric_jitter | true | |
veg_001__v05 | veg_001 | 0 | single | p2.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_001__v06 | veg_001 | 0 | single | p2.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_001__v07 | veg_001 | 0 | single | p2.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_001__v08 | veg_001 | 0 | single | p2.jpg | padded_rotation+photometric_jitter | true | |
veg_001__v09 | veg_001 | 0 | single | p2.jpg | dihedral_flip_rot180+photometric_jitter+sensor_noise | true | |
veg_002__v00 | veg_002 | 0 | single | p3.jpg | dihedral_identity+photometric_jitter | true | |
veg_002__v01 | veg_002 | 0 | single | p3.jpg | dihedral_rot90+photometric_jitter | true | |
veg_002__v02 | veg_002 | 0 | single | p3.jpg | dihedral_rot180+photometric_jitter | true | |
veg_002__v03 | veg_002 | 0 | single | p3.jpg | dihedral_rot270+photometric_jitter | true | |
veg_002__v04 | veg_002 | 0 | single | p3.jpg | dihedral_flip+photometric_jitter | true | |
veg_002__v05 | veg_002 | 0 | single | p3.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_002__v06 | veg_002 | 0 | single | p3.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_002__v07 | veg_002 | 0 | single | p3.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_002__v08 | veg_002 | 0 | single | p3.jpg | padded_rotation+photometric_jitter | true | |
veg_002__v09 | veg_002 | 0 | single | p3.jpg | dihedral_identity+photometric_jitter+sensor_noise | true | |
veg_003__v00 | veg_003 | 0 | single | p4.jpg | dihedral_identity+photometric_jitter | true | |
veg_003__v01 | veg_003 | 0 | single | p4.jpg | dihedral_rot90+photometric_jitter | true | |
veg_003__v02 | veg_003 | 0 | single | p4.jpg | dihedral_rot180+photometric_jitter | true | |
veg_003__v03 | veg_003 | 0 | single | p4.jpg | dihedral_rot270+photometric_jitter | true | |
veg_003__v04 | veg_003 | 0 | single | p4.jpg | dihedral_flip+photometric_jitter | true | |
veg_003__v05 | veg_003 | 0 | single | p4.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_003__v06 | veg_003 | 0 | single | p4.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_003__v07 | veg_003 | 0 | single | p4.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_003__v08 | veg_003 | 0 | single | p4.jpg | padded_rotation+photometric_jitter | true | |
veg_003__v09 | veg_003 | 0 | single | p4.jpg | dihedral_flip_rot180+photometric_jitter+sensor_noise | true | |
veg_004__v00 | veg_004 | 0 | single | p5.jpg | dihedral_identity+photometric_jitter | true | |
veg_004__v01 | veg_004 | 0 | single | p5.jpg | dihedral_rot90+photometric_jitter | true | |
veg_004__v02 | veg_004 | 0 | single | p5.jpg | dihedral_rot180+photometric_jitter | true | |
veg_004__v03 | veg_004 | 0 | single | p5.jpg | dihedral_rot270+photometric_jitter | true | |
veg_004__v04 | veg_004 | 0 | single | p5.jpg | dihedral_flip+photometric_jitter | true | |
veg_004__v05 | veg_004 | 0 | single | p5.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_004__v06 | veg_004 | 0 | single | p5.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_004__v07 | veg_004 | 0 | single | p5.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_004__v08 | veg_004 | 0 | single | p5.jpg | padded_rotation+photometric_jitter | true | |
veg_004__v09 | veg_004 | 0 | single | p5.jpg | dihedral_identity+photometric_jitter+sensor_noise | true | |
veg_005__v00 | veg_005 | 0 | single | p6.jpg | dihedral_identity+photometric_jitter | true | |
veg_005__v01 | veg_005 | 0 | single | p6.jpg | dihedral_rot90+photometric_jitter | true | |
veg_005__v02 | veg_005 | 0 | single | p6.jpg | dihedral_rot180+photometric_jitter | true | |
veg_005__v03 | veg_005 | 0 | single | p6.jpg | dihedral_rot270+photometric_jitter | true | |
veg_005__v04 | veg_005 | 0 | single | p6.jpg | dihedral_flip+photometric_jitter | true | |
veg_005__v05 | veg_005 | 0 | single | p6.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_005__v06 | veg_005 | 0 | single | p6.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_005__v07 | veg_005 | 0 | single | p6.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_005__v08 | veg_005 | 0 | single | p6.jpg | padded_rotation+photometric_jitter | true | |
veg_005__v09 | veg_005 | 0 | single | p6.jpg | dihedral_flip_rot180+photometric_jitter+sensor_noise | true | |
veg_006__v00 | veg_006 | 0 | single | p7.jpg | dihedral_identity+photometric_jitter | true | |
veg_006__v01 | veg_006 | 0 | single | p7.jpg | dihedral_rot90+photometric_jitter | true | |
veg_006__v02 | veg_006 | 0 | single | p7.jpg | dihedral_rot180+photometric_jitter | true | |
veg_006__v03 | veg_006 | 0 | single | p7.jpg | dihedral_rot270+photometric_jitter | true | |
veg_006__v04 | veg_006 | 0 | single | p7.jpg | dihedral_flip+photometric_jitter | true | |
veg_006__v05 | veg_006 | 0 | single | p7.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_006__v06 | veg_006 | 0 | single | p7.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_006__v07 | veg_006 | 0 | single | p7.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_006__v08 | veg_006 | 0 | single | p7.jpg | padded_rotation+photometric_jitter | true | |
veg_006__v09 | veg_006 | 0 | single | p7.jpg | dihedral_flip_rot270+photometric_jitter+sensor_noise | true | |
veg_007__v00 | veg_007 | 0 | single | p8.jpg | dihedral_identity+photometric_jitter | true | |
veg_007__v01 | veg_007 | 0 | single | p8.jpg | dihedral_rot90+photometric_jitter | true | |
veg_007__v02 | veg_007 | 0 | single | p8.jpg | dihedral_rot180+photometric_jitter | true | |
veg_007__v03 | veg_007 | 0 | single | p8.jpg | dihedral_rot270+photometric_jitter | true | |
veg_007__v04 | veg_007 | 0 | single | p8.jpg | dihedral_flip+photometric_jitter | true | |
veg_007__v05 | veg_007 | 0 | single | p8.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_007__v06 | veg_007 | 0 | single | p8.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_007__v07 | veg_007 | 0 | single | p8.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_007__v08 | veg_007 | 0 | single | p8.jpg | padded_rotation+photometric_jitter | true | |
veg_007__v09 | veg_007 | 0 | single | p8.jpg | dihedral_rot90+photometric_jitter+sensor_noise | true | |
veg_008__v00 | veg_008 | 0 | single | p9.jpg | dihedral_identity+photometric_jitter | true | |
veg_008__v01 | veg_008 | 0 | single | p9.jpg | dihedral_rot90+photometric_jitter | true | |
veg_008__v02 | veg_008 | 0 | single | p9.jpg | dihedral_rot180+photometric_jitter | true | |
veg_008__v03 | veg_008 | 0 | single | p9.jpg | dihedral_rot270+photometric_jitter | true | |
veg_008__v04 | veg_008 | 0 | single | p9.jpg | dihedral_flip+photometric_jitter | true | |
veg_008__v05 | veg_008 | 0 | single | p9.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_008__v06 | veg_008 | 0 | single | p9.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_008__v07 | veg_008 | 0 | single | p9.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_008__v08 | veg_008 | 0 | single | p9.jpg | padded_rotation+photometric_jitter | true | |
veg_008__v09 | veg_008 | 0 | single | p9.jpg | dihedral_rot270+photometric_jitter+sensor_noise | true | |
veg_009__v00 | veg_009 | 0 | single | p10.jpg | dihedral_identity+photometric_jitter | true | |
veg_009__v01 | veg_009 | 0 | single | p10.jpg | dihedral_rot90+photometric_jitter | true | |
veg_009__v02 | veg_009 | 0 | single | p10.jpg | dihedral_rot180+photometric_jitter | true | |
veg_009__v03 | veg_009 | 0 | single | p10.jpg | dihedral_rot270+photometric_jitter | true | |
veg_009__v04 | veg_009 | 0 | single | p10.jpg | dihedral_flip+photometric_jitter | true | |
veg_009__v05 | veg_009 | 0 | single | p10.jpg | dihedral_flip_rot90+photometric_jitter | true | |
veg_009__v06 | veg_009 | 0 | single | p10.jpg | dihedral_flip_rot180+photometric_jitter | true | |
veg_009__v07 | veg_009 | 0 | single | p10.jpg | dihedral_flip_rot270+photometric_jitter | true | |
veg_009__v08 | veg_009 | 0 | single | p10.jpg | padded_rotation+photometric_jitter | true | |
veg_009__v09 | veg_009 | 0 | single | p10.jpg | dihedral_flip+photometric_jitter+sensor_noise | true |
Frozen Vegetables — Mixed vs. Single
Purpose
This dataset was built for Carnegie Mellon University course 24679 HW1. It is intended as an exercise in collecting and augmenting image data, which can be binarily classified. The dataset consists of images of mixed frozen vegetables, and a single type of frozen vegetables. It can therefore be utilized to train a model to distinguish these two binary categories (mixed or not mixed).
Composition
30 original photographs, all 224x224 RGB, plus 300 synthetic variants derived from them.
| column | description |
|---|---|
image |
224x224 RGB image |
is_mixed |
binary target — 1 if two or more vegetable types are visible |
label_name |
mixed / single |
source_id, parent_id |
identity and lineage |
original_filename |
the source photo a row descends from |
augmentation, is_augmented |
which transforms produced the row |
Class balance in the original split: single 15, mixed 15. The augmented split preserves this exactly, since every parent contributes the same number of children.
Collection
All photos were taken by me with an android phone camera. Aspect ratio was set to be 1:1 before pouring frozen vegetables onto a cutting board. Vegetables were arranged into various groups of mixed vegetables first, and photographed 15 times. The same was then done with vegetables arranged into groups featuring a single kind. A pan was also used in some photos and the angle of the camera changed to introduce variety (more surfaces were not used to reduce the number of dishes I needed to do when preparing dinner).
Preprocessing
As I set my phones camera to take photos in 1:1, no cropping of the images was necessary. After transferring them to my computer, I just edited the resolution of each image to 224x224 using the built in windows tool. Photos were also renamed to use a standard convention (p1, p2, ..., p30) rather than the long auto-generated android ones. This was done to make preparation of the corresponding csv of image names and the binary target simpler.
Augmentation
10 variants per photograph, 300 synthetic images total.
| variants | geometry | photometric |
|---|---|---|
| 8 | the eight dihedral transforms of the square (lossless pixel permutations) | brightness, contrast, saturation jitter |
| 1 | free rotation ±25° with expand=True and edge-median padding, resized back to 224 |
brightness, contrast, saturation jitter |
| 1 | a random dihedral transform | jitter, Gaussian sensor noise, slight blur |
Label preservation
The label is copied from the parent and never recomputed, so it cannot drift. The real risk is a transform that removes the evidence for the label, and two common augmentations were excluded for exactly that reason:
- No zoom-in or random-resized crop. A crop that removes the single carrot cube from an otherwise all-broccoli plate turns a genuinely mixed image into a picture of a single vegetable while the inherited label still reads mixed. Every geometric transform used here is content-preserving: free rotation expands and pads rather than cropping, so no pixel ever leaves the frame.
- No hue rotation. Shifting hue can collapse the colour distinction between an orange carrot and a piece of squash, which is precisely the evidence the label rests on. Brightness, contrast, and saturation are adjusted; hue is not.
The eight dihedral transforms are valid because the photographs are top-down and have no privileged orientation, and they are exactly lossless — pure pixel permutations with no resampling. Every synthetic image is verified to be 224x224 RGB and not pixel-identical to its parent.
Splits
original— the 30 photographs I took.augmented— the 300 synthetic variants. Each carriesparent_id.
No train/validation/test partition is imposed. Any downstream split must group by
parent_id: ten variants share a parent, and splitting naively would put near-identical
images on both sides of the boundary and inflate reported accuracy.
Intended use and limits
This data is intended as an exercise for 24679 HW1 to build familiarity with collecting and augmenting image-based data. It can be used for practice creating models, or to observe how augmenting impacts model accuracy. It is not intended as data for a commercial vegetable classifier or similar "real-world" application.
- The effective sample size is 30, not 330. Ten variants of one photograph are not ten independent observations.
- Samples are limited to one camera in the same kitchen. Vegetables are from a single bag of mixed frozen vegetables so the variety is limited. The background surfaces are also limited, so as to reduce contamination and not waste food.
- Vegetables were photographed immediately after removing the bag from the freezer, rather than allowing them to thaw first. As a result, their level of frozenness varies between photos, resulting in gloss, extra moisture, different amounts of frost, and some trails of thawed liquid in various photos.
- As these vegetables came out of a bag of mixed frozen vegetables and not different bags, there are small pieces and bits of color transfer visible in some photos. Labeling as mixed vs non-mixed was therefore subjective as very small pieces of a different vegetable may be visibile in a phot labeled non-mixed.
- Only a handful of vegetable types appear, so the model has no notion of any other produce.
Ethical notes
No people, faces, hands, or body parts appear in any image. No packaging, brand marks, logos, or printed text are visible, so no third-party intellectual property is included. No location metadata is published — the images are re-encoded through PIL during the resize step, which discards the original EXIF. The subject matter is frozen vegetables on a plate and carries no privacy or sensitivity concerns.
License
CC BY 4.0.
AI usage disclosure
All photos were manually taken, preprocessed, and organized by me. Both the original split and augmented split are free of artificially generated images.
Claude was used to assist with the accompanying code in accordance with CMU 24679s guidelines. I began by collecting my data, preparing the images in a zip file, and creating a csv with the binary classifiers for each image manually. Claude was then fed both of these along with the assignment description and in-class provided example code. It was specifically asked not to generate anything yet, so I could discuss augmentation methods first. I prompted it to rotate, resize, flip, adjust brightness, switch to black and white, etc. asking how many would be necessary to meet the required threshhold for augmented samples. Claude advised against resizing and adjusting colors, as some vegetables would be hard to distinguish based on geometry alone and some photos of mixed vegetables could crop out the unlike ones, resulting in an image of one vegetable type labeled mixed. After determining which augmentation methods it prescribed to proceed with, Claude generated the rest of the code. Claude also handled the label preservation as part of this, along with the generation of an initial Dataset Card (mostly for formatting) which was then heavily revised/rewritten by me, including this section.
- Downloads last month
- 39