convert to opencv2
remove unused variable
add copyright and license header
better skin color detection
cosmetics