Abstract
In retail environments, lighting is strategically used to enhance the visual appeal of food products, often masking actual freshness. This paper introduces the Food Vision Dataset (FVD), a specialized image collection designed to decouple food quality from environmental illumination. By capturing lettuce samples across various stages of decay under 15 distinct lighting configurations, FVD provides a benchmark for developing robust computer vision models capable of making fair and reliable quality predictions despite deceptive lighting.
Introduction
Consumer "acceptability"—the willingness to purchase or consume a product—is heavily influenced by visual cues. In grocery stores, warm and bright lighting is frequently employed to make produce appear fresher and meat more vibrant. While human perception is often used as the ground truth for training computer vision models, humans are susceptible to these environmental manipulations. If an AI model is trained on data where "freshness" is confounded by "flattering lighting," it will likely inherit these biases, leading to unreliable performance in real-world inspection scenarios. The Food Vision Dataset (FVD) addresses this by systematically varying both the physical state of the food and the external lighting conditions.
Methodology
The study focused on Romaine lettuce, a crop highly susceptible to visible browning and oxidation. The experimental setup was designed for maximum control:
- Sample Preparation: Nine lettuce samples were sliced using a standardized cutter and stored at 4°C to simulate typical retail handling.
- Temporal Tracking: Samples were imaged on five specific intervals (Day 0, 1, 3, 5, and 8) to capture the progression of decay.
- Imaging Environment: A professional photography light box and a Basler acA1920-40gc industrial camera were used.
- Fixed Camera Parameters: To ensure color shifts were physical rather than algorithmic, auto-white balance and auto-exposure were disabled. RGB balance ratios were fixed (Red/Green at 1, Blue at 2.25) to ensure that any color shifts in the images were due to the lighting or the food itself.
The Food Vision Dataset (FVD)
The resulting dataset comprises 675 high-resolution images (9 samples × 5 days × 15 lighting conditions). The illumination variables include:
- Color Temperatures: Five levels ranging from warm to cool (3500K, 4000K, 4250K, 4500K, and 4750K).
- Power Levels: Three intensities (17.5W, 20W, and 22.5W).
Unlike existing datasets that focus on general scene relighting or facial recognition, FVD is the first to explicitly link food appearance, consumer acceptance, and varied external lighting.
Key Insights and Results
The dataset highlights the "Naive AI Trap," where standard models repeat human perceptual errors. For instance, a brown leaf might appear green under specific warm lighting; without training on varied illuminants, a model would incorrectly classify it as fresh.
Qualitative analysis reveals significant effects:
- Power Effects: Higher wattage (22.5W vs. 17.5W) increases perceived vibrance, potentially masking early signs of spoilage.
- Temperature Effects: Cooler temperatures (4750K) make browning more apparent, while warmer temperatures (3500K) can hide oxidation.
The authors also emphasize that standard data augmentation techniques involving color jittering or gamma correction should be avoided with this dataset, as they would overwrite the precise illumination signals intended for study.
Conclusion and Future Work
The Food Vision Dataset provides a foundation for more transparent and reliable food quality assessment. Future research will expand the scope to other food groups like meats and fruits. Additionally, the dataset enables the development of "inverse" models that can estimate scene lighting or "normalize" images to a standard illuminant, ensuring that food safety and quality inspections remain accurate regardless of the retail environment.
Summary updated