Polycystic Ovarian Syndrome (PCOS) Detection using Convolutional Neural Networks (CNN)
DOI:
https://doi.org/10.46610/JoETSE.2026.v03i03.003Keywords:
Convolutional neural network, Deep learning, Grad-CAM, MobileNetV2, PCOS detection, Polycystic ovary syndrome, Ultrasound image classificationAbstract
Polycystic Ovary Syndrome (PCOS) is a common hormonal disorder that affects women of reproductive age. Early identification and assessment of PCOS are important for better health management. This research presents PCOS Insight, a deep learning-based web application developed to classify ovarian ultrasound images into PCOS and Non-PCOS categories using Convolutional Neural Networks (CNNs). The proposed system uses the MobileNetV2 architecture with transfer learning to extract important features from ultrasound images and perform binary classification. The dataset was collected from Kaggle and contained 2,293 unique ultrasound images after removing exact duplicates using SHA-256 hashing. The cleaned dataset was divided into training, validation, and testing sets using stratified sampling to maintain a balanced class distribution. The trained model achieved a test accuracy of 94.62%, precision of 95.82%, specificity of 92.38%, F1-score of 91.46%, and ROC-AUC of 1.0000 on the reported test evaluation. These results demonstrate the model's ability to distinguish between PCOS and Non-PCOS images within the available dataset. To improve the interpretability of the predictions, Grad-CAM visualization is integrated into the application to highlight image regions that influence the model's output. The system is developed using the Django framework, providing a user-friendly interface for image uploading, validation, classification, and downloadable PDF report generation. The proposed application combines deep learning, image processing, and web technologies into a single platform for ovarian ultrasound image classification. It demonstrates the potential of artificial intelligence in medical image analysis and provides a foundation for further research. However, PCOS Insight is an academic prototype and has not been clinically validated. It is intended for educational and research purposes and should not be considered a replacement for professional medical diagnosis.
References
T. M. K. Teede et al., “Recommendations from the 2023 International Evidence-based Guideline for the Assessment and Management of Polycystic Ovary Syndrome,” Human Reproduction, vol. 38, no. 9, pp. 1655–1679, 2023.
S. A. Suha and M. N. Islam, “An extended machine learning technique for polycystic ovary syndrome detection using ovary ultrasound image,” Scientific Reports, vol. 12, 2022.
G. B. Paramasivam and R. R. Rajammal, “Modelling a self-defined CNN for effectual classification of PCOS from ultrasound images,” Technology and Health Care, vol. 32, no. 5, pp. 2893–2909, 2024.
P. Bedi, S. B. Goyal, A. S. Rajawat, and M. Kumar, “An integrated adaptive bilateral filter-based framework and attention residual U-Net for detecting polycystic ovary syndrome,” Decision Analytics Journal, vol. 10, 2024.
P. Moral, D. Mustafi, A. Mustafi, and S. K. Sahana, “CystNet: An AI driven model for PCOS detection using multilevel thresholding of ultrasound images,” Scientific Reports, vol. 14, 2024.
M. S. Sundari et al., “Transfer learning-enhanced CNN model for integrative ultrasound and biomarker-based diagnosis of polycystic ovarian disease,” Scientific Reports, vol. 15, 2025.
Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner, “Gradient-based learning applied to document recognition,” Proceedings of the IEEE, vol. 86, no. 11, pp. 2278–2324, 1998.
R. Yamashita, M. Nishio, R. K. G. Do, and K. Togashi, “Convolutional neural networks: An overview and application in radiology,” Insights into Imaging, vol. 9, pp. 611–629, 2018.
S. J. Pan and Q. Yang, “A survey on transfer learning,” IEEE Transactions on Knowledge and Data Engineering, vol. 22, no. 10, pp. 1345–1359, 2010.
M. Sandler, A. Howard, M. Zhu, A. Zhmoginov and L. -C. Chen, "MobileNetV2: Inverted Residuals and Linear Bottlenecks," 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 2018, pp. 4510-4520.
R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-CAM: Visual explanations from deep networks via gradient-based localization,” in Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2017, pp. 618–626.