compare image P1 and word P2