I created an LED spectrum digitizing tool on my website because I got tired of straining my eyes.
The issue is that manufacturers often publish 3 to 5 spectra for a single LED series on one graph, which is not always convenient. My area of expertise is designing LED modules and lamps for horticultural lighting.
Sometimes I need to check exactly what portion of a white LED’s spectrum falls within the 650-670 nm range. Since broad-spectrum LEDs with a high color rendering index have become more affordable and more options are now available, the task at hand is designing a new generation of LED modules.
Here, for example, is the spectrum from the datasheet of the Bridgelux Thrive LED series.
The tool runs on Python, using the OpenCV library, with NumPy serving as the mathematical core. Digitization results in a data array comprising wavelength and intensity level.
The data array enables the mathematical calculation of the color rendering index and the division of the spectrum into distinct bands for ePAR analysis (my primary specialization). I have also added the feature to calculate CQS and TM-30 metrics.
This is highly valuable because LED bulb manufacturers typically specify the color rendering index based on the outdated CRI standard. CRI is fundamentally unsuited for evaluating LED light sources; it allows manufacturers to tailor the phosphor blend to achieve a high CRI score, whereas in reality, the rendered colors will be visibly distorted. This specific problem is effectively resolved by using the CQS and TM-30 evaluation methods.
The Duv parameter calculation is imprecise because the spectrogram image is too blurry.
Here is what I think would be useful for the forum:
- You can upload and digitize the spectra of various LEDs from different manufacturers, overlay them, and compare them directly on the graph.
- When you have a spectrum graph but lack specific numerical data (such as color temperature or color rendering index), you can obtain these metrics by digitizing the graph.
- You can overlay the actual solar spectrum onto the digitized LED spectrum.
- You can overlay the McCree curve onto the digitized spectrum (this is also from horticulture, a photosynthesis action spectrum, so perhaps not for the forum
).
Here is an example comparing the spectrum of a 4000K SunLike LED with the solar spectrum. The AM1.5G standard with a 1 nm step was used to plot the solar spectrum. I have strived to achieve maximum accuracy—at least to the extent permitted by the inherent limitations of this format.
After digitization, you can download a screenshot of the spectrum or the data array in JSON or CSV format.
Below is an example comparing the spectra of a 4000K SunLike LED and a 5000K Bridgelux Thrive LED alongside the solar spectrum.
Please share your feedback and criticism. Feel free to suggest features to add or point out anything that isn’t working well. Let me know if you find this tool useful at all. The idea came to me when I was analyzing spectrograms yet again and straining my eyes. I figured it might be helpful to others, though I’m honestly quite unsure if there’s any real demand for it.
I apologize in advance, but to prevent DDoS attacks and ensure security, the tool is only accessible to registered users. You can log in using your Google account or via standard registration. Please note that Facebook login is currently unavailable.
Thank you all!






















