Automated detection and staging of malaria parasites from cytological smears using convolutional neural networks