1 | initial version |
Before applying too sophisticated methods, I'd try to detect the finger according to its skin color. So just use some threshold(s) to detect the skin color, set a mask according to it and fill the mask with the part of your saved card. Maybe converting to a different color space like HSV will work better than in RGB.