A yellowing of the skin and eyes, called jaundice, is the consequence of an abnormally high bilirubin concentration in the blood. All across the world, both newborns and adults are afflicted by this illness. Jaundice is common in new-borns because their undeveloped livers have an imbalanced metabolic rate. Kernicterus is caused by a delay in detecting jaundice in a newborn, which can lead to other complications. The degree to which a newborn is affected by jaundice depends in large part on the mitotic count. Nonetheless, a promising tool is early diagnosis using AI-based applications. It is straightforward to implement, does not require any special skills, and comes at a minimal cost. The demand for AI in healthcare has led to the realisation that it may have practical applications in the medical industry. Using a deep learning algorithm, we created a method to categorise jaundice cases. In this study, we suggest using the binary spring search procedure (BSSA) to identify features and the XGBoost classifier to grade histopathology images automatically for mitotic activity. This investigation employs real-time and benchmark datasets, in addition to targeted methods, for identifying jaundice in infants. Evidence suggests that feature quality can have a negative effect on classification accuracy. Furthermore, a bottleneck in classification performance may emerge from compressing the classification approach for unique key attributes. Therefore, it is necessary to discover relevant features to use in classifier training. This can be achieved by integrating a feature selection strategy with a classification classical. Important findings from this study included the use of image processing methods in predicting neonatal hyperbilirubinemia. Image processing involves converting photos from analogue to digital form in order to edit them. Medical image processing aims to acquire data that can be used in the detection, diagnosis, monitoring, and treatment of disease. Newburn jaundice detection accuracy can be verified using image datasets. As opposed to more traditional methods, it produces more precise, timely, and cost-effective outcomes. Common performance metrics such as accuracy, sensitivity, and specificity were also predictive.