Text this: An algorithm of blood typing using serological plate images