Machine recognition of mahjong tiles