Machine-learning based classification of microscopic blood smear images for early detection of malaria