Hyperspectral imaging for food quality & safety
Foreign material, contamination, grading, freshness and fraud, inspected on every item at line speed and without touching the product.
Sampling isn’t enough
Lab tests check a few samples per batch. Hyperspectral imaging checks the chemistry of every item, so you can find same-colour foreign material, measure composition and catch adulteration that RGB sorters, metal detectors and X-ray miss. Gowen et al. (2007) described it as an emerging process analytical tool for food quality and safety.
- Low-density plastics and organic foreign bodies
- Moisture, fat and protein per item
- Bruising, ripeness, freshness
- Species and variety adulteration (e.g. coffee)
How it’s deployed
Inline sorting
Push-broom camera over a conveyor, with an air-jet or mechanical reject driven by real-time classification.
Grading & routing
Products routed to grades or markets by predicted composition.
Lab QC
Benchtop scanning stage for incoming goods, method development and audits.
Evidence from published research
Selected findings from peer-reviewed studies. Full citations are below.
| Application | Finding | Source |
|---|---|---|
| Woody breast in chicken | Industrial NIR scanner reached 100% correct classification on an industrial test set of 79 fillets | Wold et al., PLOS ONE 2017 |
| Wooden breast vs normal | 96% correct classification of wooden breast from normal fillets using in-line NIRS | Wold & Løvland, Meat & Muscle Biology 2020 |
| Robusta in Arabica (roasted, ground) | NIR-HSI models predicted Robusta levels in Arabica blends | Sahachairungrueng et al., Foods 2022 |
| Coffee variety identification | Pixel-wise spectra identified coffee bean varieties; preprocessing mattered | Zhang et al., Sci. Reports 2018 |
| Aflatoxin in pistachios | Machine learning on hyperspectral images classified aflatoxin levels | Williams et al., Sensors 2025 |
| Aflatoxin B1 in almonds | A 3D CNN detected AFB1-contaminated almonds | Toxins 2025 |
Recommended Headwall sensors
Frequently asked questions
Can it replace metal detectors and X-ray?
No, it complements them. Metal detection finds metals, and X-ray finds dense objects. Hyperspectral finds organic and plastic contaminants and quality defects by their chemistry.
Does it work on wet or frozen product?
Often yes, but water dominates the NIR spectrum and temperature shifts bands. Models must be trained in the same condition as production.
References & further reading
Peer-reviewed sources. Where a study used a specific sensor, it’s noted as reported by the authors.
Food quality & safety
| # | Reference |
|---|---|
| 1 | Wold, J.P., Veiseth-Kent, E., Høst, V., Løvland, A. (2017). Rapid on-line detection and grading of wooden breast myopathy in chicken fillets by near-infrared spectroscopy. PLOS ONE 12(3):e0173384. 10.1371/journal.pone.0173384 Industrial NIR scanner |
| 2 | Wold, J.P., Løvland, A. (2020). NIR spectroscopic techniques for quality and process control in the meat industry. Meat and Muscle Biology 4(2). 10.22175/mmb.10020 |
| 3 | Caldas-Cueva, J.P., Mauromoustakos, A., Sun, X., Owens, C.M. (2021). Detection of woody breast condition in commercial broiler carcasses using image analysis. Poultry Science (2021). 10.1016/j.psj.2020.12.074 RGB image analysis |
| 4 | Sahachairungrueng, W. et al. (2022). Assessing the levels of Robusta and Arabica in roasted ground coffee using NIR hyperspectral imaging and FTIR spectroscopy. Foods 11(19):3122. 10.3390/foods11193122 Sensor as reported: Specim FX17e |
| 5 | Zhang, C., Liu, F., He, Y. (2018). Identification of coffee bean varieties using hyperspectral imaging: influence of preprocessing methods and pixel-wise spectra analysis. Scientific Reports 8:2166. 10.1038/s41598-018-20270-y |
| 6 | Williams, L., Shukla, P., Sheikh-Akbari, A., Mahroughi, S., Mporas, I. (2025). Measuring the level of aflatoxin infection in pistachio nuts by applying machine learning techniques to hyperspectral images. Sensors 25(5):1548. 10.3390/s25051548 |
| 7 | Authors as listed in journal (2022). Detection of aflatoxin B1 in single peanut kernels by combining hyperspectral and microscopic imaging technologies. Sensors 22(13):4864. 10.3390/s22134864 |
| 8 | Authors as listed in journal (2025). Deep learning-based detection of aflatoxin B1 contamination in almonds using hyperspectral imaging: a focus on optimized 3D Inception–ResNet model. Toxins 17(4):156. 10.3390/toxins17040156 |
| 9 | Authors as listed in journal (2025). Hyperspectral imaging for foreign matter detection in foods: advances, challenges, and future directions. Foods 14(17):3026. 10.3390/foods14173026 Review |
| 10 | Authors as listed in journal (2023). A review of recent advances for the detection of biological, chemical, and physical hazards in foodstuffs using spectral imaging techniques. Foods 12(11):2266. 10.3390/foods12112266 Review |
Foundations
| # | Reference |
|---|---|
| 1 | Gowen, A.A., O’Donnell, C.P., Cullen, P.J., Downey, G., Frias, J.M. (2007). Hyperspectral imaging – an emerging process analytical tool for food quality and safety control. Trends in Food Science & Technology 18(12):590–598. 10.1016/j.tifs.2007.06.001 |
Continue exploring the Hyperspectral Hub
Talk to a Headwall integration partner
As an official Headwall Photonics integration partner, we specify, integrate and support Headwall hyperspectral systems, from lab feasibility to full production lines. Send us samples and we’ll show you what the data can do.
- Feasibility trials on your samples
- Headwall sensor selection and integration
- Real-time classification wired into your line
Start a conversation
Email sales@automateandcontrol.co.uk or call +44 208 1333 585. Send a sample, a photo or a spec, and we’ll take it from there.
Contact our engineersHeadwall product range