The purpose of this program is to compute the blood alcohol concentration after using a SpitStrip. SpitStrip is a product of a student-run business that reacts to the saliva of a human and changes color. This software then analyzes the color, and can return the exact BAC (Blood Alcohol Concentration). In order to assure accuracy in the image quality, both the scale and the results are inputted so the program automatically calibrates. This program is developed in Java.
This is the main screen of the program, with sample images used.
This is an example of regression formulas created in the example.
The following features are present as of the latest version:
f(x) = 0.015x^3 -0.06x^2 +0.075x -0.002used to adjust input to scale (with
r= 0.998123) Uses linear regression analysis for each color (Red Green Blue) to accurately determine BAC Gets color RGB reading from Java AWT Robot (images can be inputted even outside of the window) Uses basic OOP (Object Oriented Programming) principles for equations Easy to use graphical user interface (uses swing) Program Documentation
Simple demonstration of the application and how it works.