card processing generates hamming dist, scan js captures photo from web cam.