Design and Development of a Surgical Instrument Detection System using Faster R-CNN
Main Article Content
Abstract
This study aims to design and develop an AI-based tool for detecting and counting surgical instruments to reduce human counting errors and improve accuracy in medical workflows. The target instruments include surgical scissors, scalpel handles, and forceps, and the proposed system uses a Faster R-CNN object detection model implemented in MATLAB as the core method. The research process includes preparing an image dataset, labeling the instruments, splitting the data into training and testing sets, and training the Faster R-CNN model so that the system can automatically localize, classify, and count instruments. The system is then evaluated under different conditions, including varying the number and positions of instruments in each image and changing background characteristics, to assess performance as the environment becomes more complex. Experimental results show that the system can effectively detect and classify surgical instruments, particularly with a white background, which yields a high accuracy rate of 95%. However, performance tends to decrease when more instruments are present in the image or when the background is changed to green, especially in terms of detection completeness and counting accuracy, reflecting the model’s limitations under more challenging visual conditions. Overall, the developed system demonstrates potential for practical use in controlled environments and provides a foundation for the future development of intelligent medical systems.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
- The original content that appears in this journal is the responsibility of the author excluding any typographical errors.
- The copyright of manuscripts that published in PKRU SciTech Journal is owned by PKRU SciTech Journal.
References
(1) นภวรี จันทวงศ์. (2559). เครื่องมือผ่าตัดทางสูติศาสตร์และนรีเวช [ออนไลน์], สืบค้นจาก https://w1.med.cmu.ac.th/ obgyn/lecturestopics/ topic-review/4581/ (25 มกราคม 2568).
(2) สำนักงานพัฒนาธุรกรรมทางอิเล็กทรอนิกส์. (2564). ปัญญาประดิษฐ์ในการให้บริการของภาครัฐ [ออนไลน์], สืบค้นจาก https://www.etda.or.th/th/Useful-Resource/Knowledge-Sharing/ Articles/AI-in-Government-Services.aspx (25 มกราคม 2568).
(3) Ahmed, F. A., Yousef, M., Ahmed, M. A., Ali, H. O., Mahboob, A., Ali, H., Shah, Z., Aboumarzouk, O., Al Ansari, A., & Balakrishnan, S. (2025). Deep learning for surgical instrument recognition and segmentation in robotic-assisted surgeries: A systematic review. Artificial Intelligence Review, 58(1), 1–31.
(4) Dassault Systèmes. (2026). SOLIDWORKS 2026 [Software]. [online], retrieved from https://www.solidworks.com (28 มกราคม 2568).
(5) Deol, E. S., Henning, G., Basourakos, S., Vasdev, R. M. S., Sharma, V., Kavoussi, N. L., Karnes, R. J., Leibovich, B. C., Boorjian, S. A., & Khanna, A. (2024). Artificial intelligence model for automated surgical instrument detection and counting: An experimental proof-of-concept study. Patient Safety in Surgery, 18(24), 1–8.
(6) Gonzalez, R. C., & Woods, R. E. (2018). Digital image processing (4th ed.). Pearson Education.
(7) Hfocus. (2562). แนะ 6 วิธีลดสิ่งแปลกปลอมตกค้างในร่างกายผู้ป่วยหลังผ่าตัด พร้อมเผยที่พบมากสุดคือผ้าก๊อซ. [ออนไลน์], สืบค้นจาก https://www.hfocus.org/content/2019/09/17691 (28 มกราคม 2568).
(8) Lelachaicharoeanpan, J., & Vongbunyong, S. (2021). Classification of surgical devices with artificial neural network approach (pp. 154–159). In 7th International Conference on Engineering, Applied Sciences and Technology (ICEAST). IEEE.
(9) Dynamic Intelligence Asia. (ม.ป.ป.). Machine learning และ deep learning คืออะไร เรียนรู้ต่างกันอย่างไร [ออนไลน์], สืบค้นจาก https://www.dia.co.th/articles/machine-learning-vs-deep-learning/ (28 มกราคม 2568).
(10) MathWorks. (2023). trainFasterRCNNObjectDetector. [online], retrieved from https://www.mathworks.com/help/vision/ref/trainfasterrcnnobjectdetector.html (28 มกราคม 2568).