Developing innovative food safety solutions: an open-source toolkit for characterising foods

PRESS RELEASE - An international research collaboration between INRAE and the University of Tokyo has yielded an innovative toolkit for predicting food freshness and salt content. It utilises hyperspectral image analysis to map chemical changes in foods and to predict the presence of compounds that cannot be directly detected by spectral cameras. The objective is to optimise food transformation processes and reduce microbial spoilage. This work was published in the journal LWTFood Science and Technology.

Published on 15 June 2026

© Magnific

The food industry constantly grapples with the challenge of ensuring the quality and safety of fresh or transformed foods (e.g., different types of meat), which naturally vary in their characteristics and perishability. At present, factories continue to monitor food quality using destructive chemical analyses that are also slow and often highly technical. For example, for fish products, technicians evaluate product firmness by touch and carry out chemical analyses that will yield an overall average the following day at best. Furthermore, these analyses require ground samples.

What are the advantages of hyperspectral imaging?

Hyperspectral imaging (HSI) can detect "invisible” food characteristics (e.g., water content, fat content, trait changes) using spectral bands of visible and infrared light. Rapid and non-destructive, it is an alternative technique for monitoring food quality over the course of production. However, researchers and industry stakeholders have yet to widely adopt HSI because it generates highly complex data and proprietary software for analysing HSI data is costly.

INRAE joined forces with the University of Tokyo and headed up the development of a transparent, open-source tool with the aim of democratising and standardising HSI use.

To begin with, HSI can be employed to track chemical changes in foods (e.g., oxidation, colour variation): different types of spectral cameras detect visible and infrared wavelengths, yielding pixel-by-pixel information that is used to map a product’s surface. The researchers applied HSI to ripening sausages and were able to spatially quantify sausage drying and oxidation over time. The technique clearly revealed water loss dynamics, which started in the periphery of the sausages. This information could be used to optimise the sausage ripening process.

Predicting compound presence

The toolkit’s main innovation is that it can produce a map that predicts the presence of a target compound via an efficient form of AI (i.e., one that uses less energy and fewer computing resources). For example, the toolkit can predict the presence of salt, a compound that is "invisible” to the spectral cameras. Specifically, when used on trout fillets, the toolkit’s algorithm reliably predicted the presence of salt 98% of the time, by correctly identifying the indirect effects of salt on surface water dynamics. These precise spatial predictions could tremendously boost quality control. While traditional analyses provide an estimate of average salt levels, this toolkit reveals small-scale heterogeneities. Identifying conditions that could promote microbial contamination is essential to ensuring food safety. For example, bacteria could develop in highly localised zones with too little salt.

The toolkit can be used with all types of foods and biological tissues. A basic version is currently available for use as is, but readymade software might be developed over the course of a future project. The long-term objective is to generate a tool that can be deployed during industrial food transformation or preservation processes. For example, one application could be to provide an early warning system for bacterial growth in food.

An invention application (Déclaration d’inventions et de résultats valorisables, DI-RV-26-0053) has been submitted. The toolkit’s code has been made available to researchers via INRAE’s Forge repository:  

https://forge.inrae.fr/arnogermond/hsi-processing-python

However, INRAE asks that industrial stakeholders contact the research team before using or modifying the code.

REFErence

Lalle Y., Kominami Y., Germond A. (2026). An open-source python workflow to characterize food samples and food processes by hyperspectral image analysis coupled with machine learning. LWT - Food Science and Technology, DOI: https://doi.org/10.1016/j.lwt.2026.119461 

Learn more

Food, Global Health

Processing level of plant-based foods: impact on cardiovascular health

PRESS RELEASE - Consumption of plant-based products is associated with better cardiovascular health—provided they are of good nutritional quality and with little or no industrial processing. This is the finding of a research team from INRAE, Inserm, Université Sorbonne Paris Nord, and Cnam, based on an analysis of health data from a cohort of 63,835 adults. The results have been published in The Lancet Regional Health – Europe.

06 October 2025

Food, Global Health

Food safety and meat preparation: hand hygiene of Europeans at the heart of prevention

PRESS RELEASE - Hand washing is more than ever at the heart of government prevention campaigns, especially to fight against Covid-19. Meanwhile, other pathogens take advantage of our lack of vigilance on hand hygiene, especially bacteria from the surface of raw meats, such as chicken. Researchers from INRAE and the ESA (École Supérieure d’Agricultures d’Angers), together with the SafeConsume H2020 project researchers, conducted a European study on hand washing during the preparation of a raw chicken meal at home.

22 March 2021

Food, Global Health

Quality of foods of animal origin based on production and processing conditions

On 29 May 2020, INRAE released the conclusions of a joint scientific assessment of the quality of foods of animal origin. Commissioned by the French Ministry of Agriculture and Food and FranceAgriMer (French authority for agriculture and sea products), the assessment looked at the properties that play a role in animal-based food quality and their key characteristics. It also examined how such properties vary due to livestock-farming conditions and processing procedures.

29 May 2020