Optimization of Tracking Algorithm on Mouse Movement Monitoring Platform in Medical Testing

Authors

  • Sutrisno Ibrahim Universitas Sebelas Maret Indonesia
  • Rahmat Rohmani Universitas Sebelas Maret Indonesia
  • Joko Hariyono Universitas Sebelas Maret Indonesia
  • Faisal Rahutomo Universitas Sebelas Maret Indonesia
  • Nanang Wiyono Universitas Sebelas Maret Indonesia
  • Ratih Yudhani Universitas Sebelas Maret Indonesia

DOI:

https://doi.org/10.26877/asset.v8i3.2879

Keywords:

elevated plus maze, mouse tracking, biomedical, YOLO, DeepSORT, kalman filtering

Abstract

Accurate monitoring of mouse behavior in the Elevated Plus Maze (EPM) is essential for anxiety-related biomedical research, yet manual observation is time-consuming, subjective, and prone to human error. This study proposes an optimized automated tracking framework that integrates YOLOv8 detection with tracking methods including an adaptive Kalman Filter and DeepSORT, and compares them with conventional trackers such as CSRT and GOTURN. System performance was evaluated using Intersection over Union (IoU), Center Location Error (CLE), and Frames Per Second (FPS), with the Weighted Scoring Method (WSM) used for overall performance comparison. Experimental results show that the proposed YOLOv8 with adaptive Kalman filtering (frame interval = 5) provides the best balance between accuracy and computational efficiency. The approach achieved an IoU of 0.89 and CLE of 2.34 while increasing processing speed from 10.44 FPS to 22.55 FPS, representing an improvement of approximately 116% compared with the baseline configuration. Despite a slight increase in failure rates, the framework maintained stable real-time tracking performance under laboratory conditions. These results demonstrate that the proposed system improves both tracking efficiency and robustness, offering a reliable automated solution for high-throughput behavioral monitoring. The framework is particularly suitable for laboratory automation environments, supporting more objective behavioral assessment and improved data integrity in preclinical biomedical research.

Author Biographies

  • Sutrisno Ibrahim, Universitas Sebelas Maret

    Department of Electrical Engineering, Faculty of Engineering, Sebelas Maret University, Ir. Sutami 36A Kentingan, Jebres, Surakarta, Central Java, 57126, Indonesia.

  • Rahmat Rohmani, Universitas Sebelas Maret

    Department of Electrical Engineering, Faculty of Engineering, Sebelas Maret University, Ir. Sutami 36A Kentingan, Jebres, Surakarta, Central Java, 57126, Indonesia.

  • Joko Hariyono, Universitas Sebelas Maret

    Department of Electrical Engineering, Faculty of Engineering, Sebelas Maret University, Ir. Sutami 36A Kentingan, Jebres, Surakarta, Central Java, 57126, Indonesia.

  • Faisal Rahutomo, Universitas Sebelas Maret

    Department of Electrical Engineering, Faculty of Engineering, Sebelas Maret University, Ir. Sutami 36A Kentingan, Jebres, Surakarta, Central Java, 57126, Indonesia.

  • Nanang Wiyono, Universitas Sebelas Maret

    Department of Medicine, Faculty of Medicine, Sebelas Maret University, Ir. Sutami 36A Kentingan, Jebres, Surakarta, Central Java, 57126, Indonesia.

  • Ratih Yudhani, Universitas Sebelas Maret

    Department of Medicine, Faculty of Medicine, Sebelas Maret University, Ir. Sutami 36A Kentingan, Jebres, Surakarta, Central Java, 57126, Indonesia.

References

[1] Z. Nikolay, K. Nikolay, X. Gao, Q. Wei Li, G. Peng Mi, and Y. Xiang Huang, “Design and testing of novel seed miss prevention system for single seed precision metering devices,” Comput. Electron. Agric., vol. 198, no. May, p. 107048, 2022, doi: https://doi.org/10.1016/j.compag.2022.107048

[2] C. Ari, D. P. D’Agostino, D. M. Diamond, M. Kindy, C. Park, and Z. Kovács, “Elevated plus maze test combined with video tracking software to investigate the anxiolytic effect of exogenous ketogenic supplements,” J. Vis. Exp., vol. 2019, no. 143, pp. 1–10, 2019, doi: https://doi.org/10.3791/58396

[3] P. González-Gaspar et al., “Analixity: An open source, low-cost analysis system for the elevated plus maze test, based on computer vision techniques,” Behav. Processes, vol. 193, no. November, 2021, doi: https://doi.org/10.1016/j.beproc.2021.104539.

[4] Z. Liu et al., “Development and experimental validation of a system for agricultural grain unloading-on-the-go,” Comput. Electron. Agric., vol. 198, no. August 2021, p. 107005, 2022, doi: https://doi.org/10.1016/j.compag.2022.107005.

[5] A. Auguste, W. Kaddah, M. Elbouz, G. Oudinet, and A. Alfalou, “Behavioral analysis and individual tracking based on kalman filter: Application in an urban environment,” Sensors, vol. 21, no. 21, 2021, doi: https://doi.org/10.3390/s21217234.

[6] G. Sun et al., “DeepBhvTracking: A Novel Behavior Tracking Method for Laboratory Animals Based on Deep Learning,” Front. Behav. Neurosci., vol. 15, no. October, pp. 1–10, 2021, doi: https://doi.org/10.3389/fnbeh.2021.750894

[7] M. Sourioux et al., “3-D motion capture for long-term tracking of spontaneous locomotor behaviors and circadian sleep/wake rhythms in mouse,” J. Neurosci. Methods, vol. 295, no. November 2017, pp. 51–57, 2018, doi: https://doi.org/10.1016/j.jneumeth.2017.11.016.

[8] T. Fong, H. Hu, P. Gupta, B. Jury, and T. H. Murphy, “PyMouseTracks: Flexible Computer Vision and RFID-Based System for Multiple Mouse Tracking and Behavioral Assessment,” eNeuro, vol. 10, no. 5, pp. 1–17, 2023, doi: https://doi.org/10.1523/ENEURO.0127-22.2023.

[9] F. Wu, J. Duan, P. Ai, Z. Chen, Z. Yang, and X. Zou, “Rachis detection and three-dimensional localization of cut off point for vision-based banana robot,” Comput. Electron. Agric., vol. 198, no. May, p. 107079, 2022, doi: https://doi.org/10.1016/j.compag.2022.107079.

[10] M. Chen, C. Jin, Y. Ni, T. Yang, and G. Zhang, “Online field performance evaluation system of a grain combine harvester,” Comput. Electron. Agric., vol. 198, no. May, p. 107047, 2022, doi: https://doi.org/10.1016/j.compag.2022.107047.

[11] G. Kaul, J. McDevitt, J. Johnson, and A. Eban-Rothschild, “DAMM for the detection and tracking of multiple animals within complex social and environmental settings,” Sci. Rep., vol. 14, no. 1, pp. 1–15, 2024, doi: https://doi.org/10.1038/s41598-024-72367-2.

[12] A. Affan, H. A. Nasir, T. Manzoor, and A. Muhammad, “Mobile sensing for estimation of hydro-dynamic parameters for minimally gauged open channels,” Comput. Electron. Agric., vol. 198, no. May, p. 107072, 2022, doi: https://doi.org/10.1016/j.compag.2022.107072.

[13] U. F. Rahim, T. Utsumi, and H. Mineno, “Deep learning-based accurate grapevine inflorescence and flower quantification in unstructured vineyard images acquired using a mobile sensing platform,” Comput. Electron. Agric., vol. 198, no. May, p. 107088, 2022, doi: https://doi.org/10.1016/j.compag.2022.107088.

[14] D. Held, S. Thrun, and S. Savarese, “Learning to Track at 100 FPS with Deep,” Comput. Vis. – ECCV 2016 Lect. Notes Comput. Sci., pp. 749–765, 2016, [Online]. Available: http://davheld.github.io/GOTURN/GOTURN.html

[15] R. G. Freitas, F. R. S. Pereira, A. A. Dos Reis, P. S. G. Magalhães, G. K. D. A. Figueiredo, and L. R. do Amaral, “Estimating pasture aboveground biomass under an integrated crop-livestock system based on spectral and texture measures derived from UAV images,” Comput. Electron. Agric., vol. 198, no. May, 2022, doi: https://doi.org/10.1016/j.compag.2022.107122.

[16] S. Isik and G. Unal, “Open-source software for automated rodent behavioral analysis,” Front. Neurosci., vol. 17, no. April, 2023, doi: https://doi.org/10.3389/fnins.2023.1149027.

[17] C. Chen, J. Lu, M. Zhou, J. Yi, M. Liao, and Z. Gao, “A YOLOv3-based computer vision system for identification of tea buds and the picking point,” Comput. Electron. Agric., vol. 198, no. March, p. 107116, 2022, doi: https://doi.org/10.1016/j.compag.2022.107116

[18] S. Zhao et al., “A lightweight dead fish detection method based on deformable convolution and YOLOV4,” Comput. Electron. Agric., vol. 198, no. May, p. 107098, 2022, doi: https://doi.org/10.1016/j.compag.2022.107098.

[19] Y. Wang, G. Yan, Q. Meng, T. Yao, J. Han, and B. Zhang, “DSE-YOLO: Detail semantics enhancement YOLO for multi-stage strawberry detection,” Comput. Electron. Agric., vol. 198, no. March, p. 107057, 2022, doi: https://doi.org/10.1016/j.compag.2022.107057.

[20] Z. Yu, Y. Li, Z. Liang, and Z. Tang, “Development of single measuring point overall balancing method based on multi-cylinder dynamic balance detection system,” Comput. Electron. Agric., vol. 198, no. June, p. 106968, 2022, doi: https://doi.org/10.1016/j.compag.2022.106968.

[21] A. Du et al., “Automatic livestock body measurement based on keypoint detection with multiple depth cameras,” Comput. Electron. Agric., vol. 198, no. May, 2022, doi: https://doi.org/10.1016/j.compag.2022.107059.

[22] C. N. Vong, L. S. Conway, A. Feng, J. Zhou, N. R. Kitchen, and K. A. Sudduth, “Corn emergence uniformity estimation and mapping using UAV imagery and deep learning,” Comput. Electron. Agric., vol. 198, no. May, p. 107008, 2022, doi:https:/doi.org/10.1016/j.compag.2022.107008.

[23] J. Zhao et al., “A deep learning method for oriented and small wheat spike detection (OSWSDet) in UAV images,” Comput. Electron. Agric., vol. 198, no. May, p. 107087, 2022, doi: https://doi.org/10.1016/j.compag.2022.107087.

[24] N. Sakamoto, H. Kakeno, N. Ozaki, Y. Miyazaki, K. Kobayashi, and T. Murata, “Marker-less tracking system for multiple mice using Mask R-CNN,” Front. Behav. Neurosci., vol. 16, no. January, pp. 1–10, 2023, doi: https://doi.org/10.3389/fnbeh.2022.1086242.

[25] T. Del Rosario Hernández, N. R. Joshi, S. V. Gore, J. A. Kreiling, and R. Creton, “An 8-cage imaging system for automated analyses of mouse behavior,” Sci. Rep., vol. 13, no. 1, pp. 1–14, 2023, doi: https://doi.org/10.1038/s41598-023-35322-1.

[26] R. Sholehurrohman, M. R. Habibi, I. S. Ilman, R. Taufiq, and M. Muhaqiqin, “Analisis Metode Kalman Filter, Particle Filter dan Correlation Filter Untuk Pelacakan Objek,” Komputika J. Sist. Komput., vol. 12, no. 2, pp. 21–28, 2023, doi: https://doi.org/10.34010/komputika.v12i2.9567.

[27] C. Guo, Y. Chen, C. Ma, S. Hao, and J. Song, “A Survey on AI-Driven Mouse Behavior Analysis Applications and Solutions,” Bioengineering, vol. 11, no. 11, pp. 1–39, 2024, doi: https://doi.org/10.3390/bioengineering11111121.

[28] Y. Li, W. Gao, J. Jia, S. Tao, and Y. Ren, “Developing and evaluating the feasibility of a new spatiotemporal fusion framework to improve remote sensing reflectance and dynamic LAI monitoring,” Comput. Electron. Agric., vol. 198, no. 17, p. 107037, 2022, doi: https://doi.org/10.1016/j.compag.2022.107037.

[29] T. D. Pereira et al., “SLEAP: A deep learning system for multi-animal pose tracking,” Nat. Methods, vol. 19, no. 4, pp. 486–495, 2022, doi: https://doi.org/10.1038/s41592-022-01426-1.

[30] Y. Bai, Y. Fang, B. Zhang, and S. Fan, “Model robustness in estimation of blueberry SSC using NIRS,” Comput. Electron. Agric., vol. 198, no. May, p. 107073, 2022, doi: https://doi.org/10.1016/j.compag.2022.107073.

[31] N. Wojke, A. Bewley, and D. Paulus, “Simple online and realtime tracking with a deep association metric,” Proc. - Int. Conf. Image Process. ICIP, vol. 2017-Septe, pp. 3645–3649, 2017, doi: https://doi.org/10.1109/ICIP.2017.8296962 .

[32] H. Wang et al., “Fast detection of cannibalism behavior of juvenile fish based on deep learning,” Comput. Electron. Agric., vol. 198, no. May, p. 107033, 2022, doi: https://doi.org/10.1016/j.compag.2022.107033.

[33] J. Lee and K. il Hwang, “YOLO with adaptive frame control for real-time object detection applications,” Multimed. Tools Appl., vol. 81, no. 25, pp. 36375–36396, 2022, doi: https://doi.org/10.1007/s11042-021-11480-0.

[34] A. Stratmann, A. Kashev, M. Rice, and M. J. Toscano, “A first approach to investigate characteristics of piling behaviour in individual laying hens,” Appl. Anim. Behav. Sci., vol. 299, no. February, p. 106967, 2026, doi: https://doi.org/10.1016/j.applanim.2026.106967.

[35] Y. Zhang, W. Zhang, J. Yu, L. He, J. Chen, and Y. He, “Complete and accurate holly fruits counting using YOLOX object detection,” Comput. Electron. Agric., vol. 198, no. May, p. 107062, 2022, doi: https://doi.org/10.1016/j.compag.2022.107062.

[37] R. Hardianto, "Implementation of Object Detection With You Only Look Once Algorithm in Limited Face-To-Face Times in Pandemic," Journal of Applied Engineering and Technological Science (JAETS), vol. 4, no. 1, pp. 400-404, 2022, doi: https://doi.org/10.37385/jaets.v4i1.1161.

[38] B. Soewito, "Multi-Object Detection Using YOLOv7 Object Detection Algorithm on Mobile Device," Journal of Applied Engineering and Technological Science (JAETS), vol. 5, no. 1, pp. 305-320, 2023, doi: https://doi.org/10.37385/jaets.v5i1.3207.

[36] D. E. F. Adz Zahra, S. Ibrahim, J. Hariyono, F. Rahutomo, S. Pramono, M.H. Ibrahim, M. E. Sulistyono and N. Wiyono, "Video Processing and Monitoring Animal Movement Models to Measure Learning and Memory in the T Maze Spontaneous Alternation Test with YOLO Implementation," in 2024 FORTEI-International Conference on Electrical Engineering (FORTEI-ICEE), Badung, Indonesia, 2024, pp. 41-46.

[37] S. Ibrahim,”A comprehensive review on intelligent surveillance systems”, Communications in Science and Technology, 1 (1) (2016)

[38] S. Bala, “Improving Kidney Stone Detection with YOLOV10 and Channel Attention Mechanisms in Medical Imaging”, The Journal of Electronics, Electromedical Engineering, and Medical Informatics, vol. 7, no. 3, pp. 951-963, Jul. 2025.

Downloads

Published

2026-06-17

Issue

Section

Articles