-
Notifications
You must be signed in to change notification settings - Fork 17
Color Calculator
In order to detect the hand, it is needed to calculate the color of the hand in that ambient.
Our solution is to ask the user to place the hand in a square, our region of interest, to take a sample of the skin color. With that sample, we extract the minimum, maximum and average of each value of the HSV color space (hue, saturation, and value).
The average will be used as the color to search for in the Hand Video Detection phase.
The minimum and maximum are used to determine a maximum value of sensitivity the user can allow.
A value of 0% sensitivity means that the user wants to identify only the color identified in the average, while a value of 100% sensitivity means the user allows the application to search for a range of colors between the minimum and the maximum identified.
By reducing the sensitivity, the user is able to reduce the amount of noise in the image, which can be caused by lighting or by objects with similar colors, and adapt the application to the conditions of his location.
Reducing the sensitivity to values close to 0% may cause the application to stop recognizing the user’s hand, so searching for a more stable value of sensitivity is recommended.
Made by BlueDi & Miguel Lucas