Analysis of Smartphone Images for the Determination of Total Phenols in Vegetable Oils
Authors/Creators
Description
Analysis of Smartphone Images for the Determination of Total Phenols in Vegetable Oils
This project provides a Python-based tool for analyzing the total phenol content in vegetable oils using RGB values from smartphone images. The RGB color system is utilized to calculate absorption values, which are then correlated with phenol concentrations through calibration curves.
Although initially designed for vegetable oils, the algorithm is versatile and can be adapted for the analysis of total phenols (or similar compounds) in other matrices, such as beverages, plant extracts, or environmental samples.
Key Features:
RGB absorption calculation from user-input intensity values.
Generation of calibration curves using linear regression for all RGB channel combinations (R, G, B, RGB, RG, RB, GB).
Calculation of unknown sample concentrations based on selected color channel(s).
Graphical output of calibration curves.
Excel export of analysis results.
Technical info
Dependencies:
Python 3.x
NumPy
Pandas
Matplotlib
SciPy
Openpyxl
Install using pip: pip install numpy pandas matplotlib scipy openpyxl
The script is interactive and guides the user through each step, including:
Entering concentration units and RGB values for calibration.
Generating absorption values and calibration curves.
Entering RGB values for unknown samples.
Exporting results to Excel.
Files
Files
(8.3 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:4014f323d6012ca95ced4bda49f914c5
|
8.3 kB | Download |
Additional details
Dates
- Created
-
2024-05-14
Software
- Repository URL
- https://github.com/SanitaVucane/Analysis-of-Smartphone-images-in-RGB-colour-system
- Programming language
- Python
- Development Status
- Active