Evaluating the Efficacy of On-Device AI in Radiological Image Classification: Using CoreML for Brain Tumor Detection

Authors

Keywords:

Artificial Intelligence, Radiology, Magnetic Resonance Imaging (MRI), Brain Neoplasms, Image Interpretation, Computer-Assisted, Machine Learning, Pattern Recognition Automated

Abstract

Background: The rapidly expanding prevalence of AI in patient care and treatment planning reflects its transformative potential in improving healthcare outcomes and efficiency. AI applications in radiology can aid in accuracy of diagnosis and alleviating physician workload. However, one barrier to integration of AI is its financial burden due to subscription-based software costs, ongoing updates, and hardware requirements. A potential way to offset these costs is the adoption of local, on-device machine learning workflows, implemented through accessible development environments such as Apple’s Xcode in combination with Create ML and the Core ML framework. 

 

Methods: This project evaluated the accuracy of a Core ML–based image classification model for detecting brain tumors on MRI images and assessed the feasibility of leveraging the Xcode development environment to train machine learning (ML) image classification models with Create ML. Utilizing de-identified, publicly available brain MRI datasets, a supervised image classification model developed using Apple’s Create ML Image Classifier was trained to differentiate between glioma, meningioma, pituitary tumors, and healthy brain images. Standardization of images was done using Create ML Image Feature Print v2, which automatically scaled each image to 360 x 360 pixels. A total of 7,023 images were in the dataset with 5,970 (85%) images utilized for training and 1,053 (15%) images used for testing. 

 

Results: After 21 training iterations, the classifier achieved 93% accuracy on the test images, with precisions of 96% for healthy, 95% for pituitary tumor, 93% for glioma, and 87% for meningioma. 

 

Conclusion: The model demonstrates consistently higher performance across all categories, with slightly lower scores for glioma and meningioma. As shown by our CoreML model achieving 93% accuracy in identifying brain MRI tumor subtypes, utilizing the Xcode development environment and CoreML is a viable and promising way for future development of effective and cost-efficient diagnostic radiology tools for brain tumor detection.

Downloads

Published

2026-08-19

How to Cite

Ninan, D., Khandavilli, V., Castro, R., Kansal , P., Memon, A., Lin, J., … Havo, D. (2026). Evaluating the Efficacy of On-Device AI in Radiological Image Classification: Using CoreML for Brain Tumor Detection. International Journal of Medical Students. Retrieved from https://ijms.info/IJMS/article/view/4904