Ignoring whether touchscreen laptops are actually a good idea, I "OOF"ed out loud at this line.
> Filter for skin colors and binary threshold
Skin has an extremely broad range of colors that are also lighting dependent. I'd have gone with background subtraction.