Python algorithm for Calculation of Total Phenolic Compounds in Vegetable Oils with Smartphone Image analysis
Authors:
Preprint
- 16 February 2024
- preprint
- Published by Springer Nature in Research Square
Abstract
In this research, a Python algorithm was developed that calculated one of the total concentrations of phenol in vegetable oils using the RGB colour system. The algorithm converts data obtained in the RGB colour system into absorbance values using NumPy, Pandas, Matplotlib and SciPy libraries. It allows for complex data calculations and analyses that are particularly accurate and more efficient than traditional methods such as MS Excel. Algorithm development is divided into six stages: library import, user data input and processing, absorbance calculations, linear regression and calibration curve drawing, data analysis and saving results in Excel format. The algorithm offers flexible use in both local Python development environments and online platforms such as Kaggle (https://www.kaggle.com/). It can also be used in the analyses of other plant extracts or chemical substances, where interpretations of RGB colour system data are used as a basis. This algorithm opens up new possibilities in scientific data analysis by taking advantage of modern technology and programming language.Keywords
All Related Versions
This publication has 17 references indexed in Scilit:
- Introduction to Bioactive Phytochemicals from Vegetable Oil and Oilseed Processing By-products2023
- A Simple Colorimetric Procedure for the Determination of Iodine Value of Vegetable Oils Using a Smartphone CameraJournal of Analysis and Testing, 2021
- Phenolic Antioxidants in Foods: Chemistry, Biochemistry and Analysis2021
- Quantification of extra virgin olive oil adulteration using smartphone videosTalanta, 2020
- Using a Flatbed Scanner and Automated Digital Image Analysis To Determine the Total Phenolic Content in BeerJournal of Chemical Education, 2019
- Hue Parameter Fluorescence Identification of Edible Oils with a SmartphoneACS Sensors, 2018
- Monitoring of fluoride in water samples using a smartphoneScience of The Total Environment, 2016
- An iPhone-based digital image colorimeter for detecting tetracycline in milkFood Chemistry, 2015
- Classification of edible vegetable oil using digital image and pattern recognition techniquesMicrochemical Journal, 2014
- Evaluation of Virgin Olive Oil Thermal Deterioration by Fluorescence SpectroscopyJournal of Agricultural and Food Chemistry, 2009