Preprint
Article

This version is not peer-reviewed.

Surgical Instrument Recognition in Laparoscopic Cholecystectomy Using YOLOv8

Submitted:

30 June 2026

Posted:

01 July 2026

You are already at the latest version

Abstract
The recognition of surgical instruments using Artificial Intelligence (AI) in Minimally Invasive Surgery (MIS) offers significant opportunities for data-driven improvements in surgical training and patient safety, with surgical instrument recognition being a critical component. MIS remains challenging due to complex intraoperative conditions that limit conventional real-time object detection AI algorithms. This paper optimises the state-of-the-art YOLOv8 object detection architecture for surgical instrument recognition and takes a novel approach to deal with imbalance of the dataset. A large-scale dataset of 25 surgical videos, consolidated from CholecTrack20, CholecT50, and Cholec80, underwent custom cleaning and strategic partitioning to address severe class imbalance. A systematic tournament identified YOLOv8l as the best-performing variant of the YOLOv8 versions, achieving Mean Average Precision (mAP)@0.5 of 64.4% on the test set. Despite hyperparameter tuning, the attempt led to overfitting, while the data-balancing strategy, despite a slight reduction in overall mAP@0.5 to 60.4%, the approach significantly improved per-class accuracy, notably doubling performance for the rarely used instruments such as Scissors and Clippers. This study establishes a new performance baseline for surgical instrument recognition using a carefully configured YOLOv8l model, underscoring that data imbalance, rather than architecture, is the primary limitation. Future progress for surgical instrument recognition will hinge on data-centric strategies for robust and clinically reliable models.
Keywords: 
;  ;  ;  ;  

1. Introduction

Background and Motivation

Over the last few decades, surgical practice has shifted significantly toward Minimally Invasive Surgery (MIS). In the UK alone, laparoscopic operations are performed annually [1,2,3,4], valued for reducing patient trauma, recovery time, and costs relating to the operations [5]. Central to these procedures is an Endoscope; the surgeon operates completely dependent on the video feed from the camera as shown in Figure 1, providing a rich source of intraoperative data [6].
To improve patient safety and address the significant cause of preventable death from medical errors [7], there is a growing need for “Context-Aware Operating Rooms” [8]. Such systems influence the advances in Computer Vision (CV) and Machine Learning (ML) to track workflows and offer real-time decision-making aid [9]. However, the success of these high-level applications depends on one functional building block: the robust and accurate data which recognition of surgical instrument AI algorithms heavily depend on.

Problem Statement

Object detection AI models are highly dependent on the environment in which the video is captured, the quality of the pixels, background, and the sharp edges of the objects within the frames dictated by the model’s robustness and reliability. On the contrary, the surgical domain presents a unique and extreme environment for Deep Learning (DL) algorithms.
While object detection is a well-solved problem for everyday images such as animals, vehicles, fingerprints, and facial expressions, this assumption breaks down when it comes to surgical instruments inside a patient. This is due to the homogeneity of the environment, which is visually monotonous, consisting primarily of red and pink tissues with a low contrast background. Unlike rigid objects, tissues, and organs are constantly in motion and undergo deformation. The instruments are often made of shiny, reflective metals that can cause glare, and specular highlights which confuse the model. Another challenge to overcome is the major visual obstructions, these dynamic events make the tasks more difficult for architectures like YOLO [10]. The visual challenges include; occlusions when using multiple instruments, surgical smoke caused by electrocautery procedures, blood, and fluids, and finally, the reflection of the instruments caused by the bright light of the endoscope.
The research question arising from these profound challenges is to what extends YOLOv8 [11] architecture can be trained to recognise surgical instrument robustly and accurately.

Aims and Objectives

The primary aim of this paper is to utilise YOLOv8 architecture to detect surgical instruments sourced from real laparoscopic cholecystectomy videos in real time. To achieve this goal; first, parsed, cleaned, and converted CholecTrac20 [12] dataset into a standardised format for YOLO training, defined 7 distinct classes as shown in the Table 1. Second, another dataset CholecT50 [13] was consolidated to improve performance of YOLOv8l.
Furthermore, the models were trained and compared all 5 versions of YOLOv8 which are n, s, m, l, and xl to analyse the trade-off between accuracy and speed. Next, an optimisation framework was utilised to perform an automatic hyperparameter tuning to maximise the model’s performance. Finally, a data balancing strategy conducted to re-evaluate the accuracy of the model.
The remainder of this paper is organised as; Section 2 identifies the current research gap and related work, followed by section 3, which details the methodology, including the datasets and YOLOv8 experiments. Section 4 presents the empirical findings and optimisation outcomes, then interprets these results against established benchmark and discuss the study’s limitations, Finally, section 4 summarises the key contributions and directions for future research.

3. Methodology

This section outlines a systematic and data-driven methodology for addressing the research question proposed in the previous section. This approach is structured in a pipeline beginning with curation of the dataset, followed by a tournament of all the YOLOv8 variants and two distinct experiments to maximise the performance of the chosen model.

Hardware and Software Implementation

All the codes were written in Python 3.10 programming language using PyTorch framework, training was conducted on a workstation equipped with NVIDIA RTX 3060 GPU with 12GB of VRAM and an Intel core i5 CPU processor, utilising Ultralytics YOLOv8 library with CUDA acceleration.

The Dataset

The primary dataset used in this study is CholecTrack20, which is specialised tracking subset of a larger Cholec80 [25] and CholecT50 surgical datasets. While Cholec80 provides the raw video footage, CholecTrack20 provides the high frequency bounding box annotations required for object detection. To increase the diversity of the training set, we sourced an additional 5 annotated videos from CholecT50 that were not part of the standard CholecTrack20 release, creating a consolidated dataset of 25 unique surgical videos.
The relationship between the datasets is hierarchical: Cholec80 serves as the master set, CholecT50 provides multi-task labels for 50 of those videos, and the CholecTrack20 provides dense tracking data for 20 videos as shown in Figure 2. To prevent temporal leakage, we ensured that frames from the same video were never shared between different splits. The dataset was partitioned by Video ID, ensuring that the model was tested on entirely unseen data. All the videos are high-quality videos from laparoscopic operations performed by 13 surgeons, taken at 25 FPS.
All the videos are high-quality videos from laparoscopic operations performed by 13 surgeons, taken at 25 FPS.
The raw dataset folder as shown in Figure 3 contains CholecTrac20 and CholecT50 folders, labelled as VID01, VID02, ... etc. Each VID folder contains the corresponding JSON files which include the annotation of the instrument for each frame, categories including the instrument, their operations, and video information.
From the raw data, all the JSON files underwent rigorous processing, a Python script was written to automatically go through the JSON files using JSON library. The script read all the JSON files and extracted key information such as instrument visibility within the frame; the visibility flag was set to 1 (instrument is clearly visible), 0 for significantly occluded instruments. This approach was adopted because the first training outcome was low performing and computationally expensive, hence, only the frames with visibility flag = 1 were selected.
Subsequently the script extracted the coordinates of which the instruments were detected, a list of numbers [x-centre, y-centre, box-width, box-height] which identify where exactly the instrument sits in the frame. Finally, the script converted the cleaned and validated annotation data into a format that is required for training YOLO architecture.
YOLOv8 requires a single text file for each corresponding frame containing the class ID and the coordinates of the box around the instrument as shown in Table 2, all the text files were then saved in the Processed data folder.
The conventional method of splitting the training and test data as 80%–20% random frame-based split and standard n-fold cross validation were explicitly rejected to address severe class imbalance and to prevent temporal data leakage which often occur when highly correlated adjacent frames are shared between the training and test sets. Instead, to ensure the model’s ability to generalise to entirely new surgical cases, a custom Python script was written to go through all the 25 videos and count the appearances of each instrument, then we allocated the videos based on how often the rare instruments appear, the videos with high instances of the rare classes were allocated for training. The final partition consisted of 12 videos for training (62.7%) of total instances, 3 videos for validation (10.2%), and 10 videos for testing (27.1%). This specific distribution, detailed in Table 3, was designed to maximise the model’s exposure to rare classes; while maintaining an independent 10 complete surgical videos for testing, this provides a more authentic assessment of clinical reliability than standard random split.
To ensure the reliability of our finding and their compatibility with existing literature, we divided our evaluation into two phases, initially we followed the official CholecTrack20 benchmark protocol, utilising 20 videos with prescribed split ration of 5:1:4. This was to verify our model’s performance against the established 79.1%. Table 4 shows the strategic split for training our model was 6:1:3.
Finally, the processed data split between the images folder which contains test, train, and validation frames, along with the labels folder that contains the annotation for these frames (ground truth) is shown in Figure 4.

Baseline Model Tournament for YOLOv8 Variants

The five distinct size models of YOLOv8 (n, s, m, l, and x). First, the models were trained on strategic split processed data. The training process was set to an image size of 640 x 640 pixels, a batch size of 8 for safe operation and preventing Out of Memory (OOM) error and 50 epoch, then each model’s validation optimised weights (best.pt) checkpoint was evaluated against the unseen test set. Finally, the best performing model (champion model) was selected based on the optimal trade-off between test set mAP and total training time.

Experimental Improvements

After identifying our best performing model, the first experiment conducted on the best performing model was an automated hyperparameter tuning using Genetic Algorithm (GA) integrated into Optuna optimisation framework. The tuning process ran for 25 iterations, and each trial ran over 10 epochs as shown in Figure 5, to identify the optimal configuration of optimisation and augmentation, “the best recipe” for the model to be retrained on.
The second experiment conducted was to close the data imbalance gap. This data-centric approach down-sampled the higher appearance of instruments in the training set. The model was trained on this dataset with substantial copy-pace augmentation to over-sample the rare classes. See the comparison in Figure 12.

Final Evaluation and Model Selection

The definitive edition for this paper was selected by comparing the performance of three candidates, on the training set: The tournament champion, the Balanced model, and the Tuned model; a comprehensive comparison is discussed in the next sections.

4. Results

This section presents the findings of the methodology described, from model selection to the execution of the final training model.

Model Selection Tournament Results

The tournament results to figure out the best performing variant of YOLO v8 were each variant trained for 50 epochs and evaluated on 9,895 images from the test set.
Table 5. a. Tournament validation results for YOLOv8 variants. b. mAP @0.5 for each YOLOv8 variant.
Table 5. a. Tournament validation results for YOLOv8 variants. b. mAP @0.5 for each YOLOv8 variant.
a
Model Variant Validation mAP@50 Training Time(hrs) Grasper (Val) Bipolar (Val) Hook (Val) Scissors (Val) Clipper (Val) Irrigator (Val) Spec.bag
(Val)
YOLOv8n 67.7% 4.8 88.2% 93.2% 97.4% 33.7% 71.9% 20.5% 68.9%
YOLOv8s 72.4% 5.7 91.2% 89.3% 97.8% 50.0% 75.8% 31.1% 71.4%
YOLOv8m 73.2% 10.1 91.0% 92.6% 97.3% 54.1% 83.5% 18.7% 75.5%
YOLOv8l 73.2% 14.7 91.3% 91.7% 97.1% 50.4% 86.7% 22.4% 73.0%
b
Model Variant Validation mAP@0.5 Test mAP@0.5
YOLOv8n 67.70% 59.70%
YOLOv8s 72.40% 61.20%
YOLOv8m 73.20% 62.80%
YOLOv8l 73.20% 64.40%
The validation performance for each model is shown in Figure 6a,b.

Overall maP@0.5 of Each Model

Based on the above analysis, the YOLOv8 large variant was selected as the best-performing model, achieving an mAP@0.5 of 64.4% in the testing phase, it provided a near-optimal balance of performance and efficiency, achieving about 99% accuracy of YOLOv8x in two-third of the training time.

Hyperparameter Tuning Result

The Python script for tuning was executed to initiate a 10-epoch-long search for optimal hyperparameters using genetic algorithms and discovered the fittest candidates listed in Table 6.
The final Yolo v8l model was then retrained using the optimal hyperparameters discovered by the tuning process. The training was halted after 100 epochs as the model’s performance plateaued. The final evaluation of this model on the official test yielded an overall mAP@0.5 of 61%. This provides a classic example of overfitting, this critical finding suggests that for this type of datasets, the robust default hyperparameters may be superior to those found by automated tuning on a small validation split.

Data Balancing Experiment Result

The resulting model was evaluated on unseen 10-video test set, yielding a final overall mAP@0.5 of 60.4%, while this headline metric was approximately 4% lower than the baseline model, the per-class analysis reveals the profound success of the method. The model trained on the balanced data achieved noticeably higher AP scores, rare instrument’s performance more than doubled from 24.2% to 51.0% for Scissors and the Clippers increased from 47.8% to 74.5%.
However, despite these gains, the Scissors and Irrigator classes remained significantly below the overall average. This performance gap is primarily attributes to extreme data scarcity, specifically the 34 to 1 instance ratio between Grasper and Scissors shown in Table 3, this limits the model’s ability to learn diverse feature representations.
Furthermore, the intricate geometry of these thin instruments often causes them to fuse with the visually ominous surgical background or be obscured by glares from the endoscope’s camera light. The Irrigator class faces additional challenges from motion blur during rapid cleaning actions, which degrades the sharp edges required for the YOLOv8 architecture to generate high confidence detection, these results demonstrate that while under-sampling is an exceptionally effective technique for improving generalisation across rare classes, as seen in Figure 7, the final performance ceiling is currently dictated by these data-centric challenges rather than model architecture, the per-class mAP@0.5 for all three models shown in Figure 8.

5. Conclusions

This study shows a systematic evaluation of YOLOv8l architecture for surgical instrument detection, achieving 64.4% on a consolidated 25- video dataset, while this performance demonstrates improvement in specific category such as specimen bag, other classes remained challenging compared to previous benchmark. It also highlights the persistent challenge of intraoperative environment. A key finding was the failure of automated hyperparameter tuning, the genetic algorithm overfitted the small validation sample of 3 videos, yielding a reduced test mAP@0.5 of 61%. This suggests that for imbalanced surgical data, robust default configuration may be superior to automated tuning on a small split. Ultimately, this research underscores that the ceiling for surgical computer vision is currently dictates by data-centric challenges rather than architectural limitations. Future progress will rely on the development of high-quality, balanced datasets than hyperparameter refinement.

Supplementary Materials

The following supporting information can be downloaded at the website of this paper posted on Preprints.org.

Author Contributions

Conceptualisation, A.G.; Methodology, A.G.; software, A.G.; writing—original draft preparation, A.G.; writing—review and editing, A.G., T.T., S.A., G.W.; supervision, T.T. All authors have read and agreed to the published version of the manuscript.”.

Funding

This research has not received external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data is publicly available upon request at Datasets—Research Group CAMMA, https://camma.unistra.fr/datasets/ accessed on 25 March 2025.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript.
AI Artificial Intelligence
MIS Minimally Invasive Surgery
YOLO You Only Look Once
mAP Mean Average Precision
CV Computer Vision
ML Machine Learning
DL Deep Learning
R-CNN Region-Based Convolutional Neural Network
RGB Red, Green, and Blue
FPS Frames Per Second
CPU Central Processing Unit
GPU Graphical Processing Unit
CUDA Computer Unified Device Architecture
JSON Java Script Object Notation
OOM Out of Memory
AG Genetic Algorithm

References

  1. Mandal, A. Laparoscopic Surgery History. Available online: https://www.news-medical.net/health/Laparoscopic-Surgery-History.aspx (accessed on 24 June 2024).
  2. Association of Laparoscopic Surgeons of Great Britain and Ireland., “Annual report and unaudited financial statements for the year ended 5 April 2022,” The Royal College of Surgeons of England, London, 2022.
  3. N. England, “Hospital Admitted Patient Care Activity, 2022-23,” 21 September 2023. [Online]. Available online: https://digital.nhs.uk/data-and-information/publications/statistical/hospital-admitted-patient-care-activity/2022-23.
  4. Royal College Surgeons, “Advancing the surgical workforce: 2023 UK surgical workforce census report.,” Royal College of Surgeons of England, London, 2024.
  5. E. Barrow, I. Anderson, S. Varely, A. Pichel, C. Peden, D. Saunders and D. Murray, “Current UK practice in emergency laparotomy,” PMC PubMed Central, p. 599, 2013.
  6. Darzi, S.; Munz, Y. The impact of minimally invasive surgical techniques. In Annual Review of Medicine; 2004; pp. 223–237. [Google Scholar] [CrossRef]
  7. The Surgeons, Diagram showing laparoscopic colorectal surgery setup. n.d. Available online: https://www.thesurgeons.sg/services/laparoscopic-colorectal-surgery/.
  8. L. T. Kohn, J. M. Corrigan and M. S. Donaldson, “To Err is Human: Building a Safer Health System,” National Academic Press, US, 2000.
  9. J. E. Bardram and N. Norskov, “A Context-aware Patient Safety System for the Operating Room,” Proceedings of the 10th International Conference on Ubiquitous Computing: Session: Context based Systems, p. 272–281, 2008. 2008.
  10. Maier-Hein, G. F. G. G. B. Surgical data science—from concepts toward clinical translation. Med. Image Anal. 2021, 102306. [Google Scholar] [CrossRef] [PubMed]
  11. J. D. S. G. R. &. F. A. Redmon, “You Only Look Once: Unified, Real-Time Object Detection.,” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)., 2016. Doi: arXiv:1506.02640. arXiv:1506.02640.
  12. J. Glenn, “Explore Ultralytics YOLOv8,” 12 11 2023. [Online]. Available online: https://github.com/ultralytics/ultralytics.
  13. C. I. Nwoye, K. Elgohary, A. Srinivas, F. Zaid, J. L. Lavanchy and N. Padoy, “CholecTrack20: A Multi-Perspective Tracking Dataset for Surgical Instruments,” 2025. Doi: rXiv:2312.07352v2.
  14. Nwoye, C.I.; Yu, T.; Gonzalez, C.; Seeliger, B.; Mascagni, P.; Mutter, D.; Marescaux, J.; Padoy, N. Rendezvous: Attention Mechanisms for the Recognition of Surgical Action Triplets in Endoscopic Videos. Med. Image Anal. 2022, 78, 102433. [Google Scholar] [CrossRef] [PubMed]
  15. Sarikaya, D.; Corso, J. J.; Guru, K. A. Detection and Localisation of Robotic Instruments in Robot-Assisted Surgery Videos Using Deep Neural Networks for Region Proposal and Detection. In IEEE Transactions on Medical Imaging; 2017. [Google Scholar]
  16. Jin, S. Yeung, J. Jopling, J. Krause, D. Azagury, A. Milstein and L. Fei-Fei, “Instrument Detection and Operative Skill Assessment in Surgical Videos Using Region-Based Convolutional Neural Networks,” 2018. Doi: arXiv:1802.08774. arXiv:1802.08774.
  17. P. Twinanda, D. Mutter, J. Marescaux, M. d. Mathelin and N. Padoy, “Single- and Multi-Task Architectures for Instrument Presence Detection Challenge at M2CAI 2016,” 2016. Doi: arXiv:1610.08851. Doi; arXiv:1610.08851.
  18. J. Redmon and A. Farhadi, “YOLO9000: Better, Faster, Stronger,” 2017. Doi: arXiv:1612.08242.
  19. Sugimori, H.; Sugiyama, T.; Nakayama, N.; Yamashita, A.; Ogasawara, K. Development of a Deep Learning-Based Algorithm to Detect the Distal End of a Surgical Instrument. Appl. Sci. 2020, vol. 10. [Google Scholar] [CrossRef]
  20. R. J and F. A, “YOLOv3: An Incremental Improvement,” arXiv, Chicago, 2018.
  21. Bochkovskiy, C.-Y. Wang and H.-Y. Liao, “YOLOv4: Optimal Speed and Accuracy of Object Detection,” 2020. Doi: arXiv:1804.02767. arXiv:1804.02767.
  22. G. Jocher, K. Nishimura, T. Mineeva and R. Vilariño, ““yolov5.” Code repository 9,” 2020.
  23. Jiang, K.; Pan, S.; Yang, L.; Yu, J.; Lin, Y.; Wang, H. Surgical Instrument Recognition Based on Improved YOLOv5. Appl. Sci. 2023. [Google Scholar] [CrossRef]
  24. Ran, B. Huang, S. Liang and Y. Hou, “Surgical Instrument Detection Algorithm Based on Improved YOLOv7x,” Sensors (Basel), 2023. [CrossRef] [PubMed]
  25. Ronneberger, P. Fischer and T. Brox, “U-Net: Convolutional Networks for Biomedical Image Segmentation,” 2015. arXiv:1505.04597.
  26. Twinanda, A. P.; Shehata, S.; Mutter, D.; Marescaux, J.; de Mathelin, M.; Padoy, N. EndoNet: A Deep Architecture for Recognition. 2016. [Google Scholar] [CrossRef] [PubMed]
Figure 1. A typical Laparoscopic surgery set-up diagram [6].
Figure 1. A typical Laparoscopic surgery set-up diagram [6].
Preprints 220957 g001
Figure 2. The consolidated 25 videos dataset [12].
Figure 2. The consolidated 25 videos dataset [12].
Preprints 220957 g002
Figure 3. The raw dataset folder structure for both CholecTrack20 and CholecT50.
Figure 3. The raw dataset folder structure for both CholecTrack20 and CholecT50.
Preprints 220957 g003
Figure 4. Final processed data folder structure, ready for training the YOLOv8.
Figure 4. Final processed data folder structure, ready for training the YOLOv8.
Preprints 220957 g004
Figure 5. Tuning process for 25 iterations and 10 epochs each.
Figure 5. Tuning process for 25 iterations and 10 epochs each.
Preprints 220957 g005
Figure 6. This Figure shows the comparison of a: per-class mAP@0.5 of each model vs b: the.
Figure 6. This Figure shows the comparison of a: per-class mAP@0.5 of each model vs b: the.
Preprints 220957 g006
Figure 7. The performance result of YOLOv8l on balanced data shows improvement in rare classes.
Figure 7. The performance result of YOLOv8l on balanced data shows improvement in rare classes.
Preprints 220957 g007
Figure 8. mAP@0.5 of Performance compression of all three trained models.
Figure 8. mAP@0.5 of Performance compression of all three trained models.
Preprints 220957 g008
Table 1. class annotation of surgical instruments.
Table 1. class annotation of surgical instruments.
Class Instrument
[0] Grasper
[1]
[2]
[3]
[4]
[5]
[6]
Bipolar
Hook
Scissor
Clipper
Irrigator
Specimen bag
Table 2. The content of a .txt file for frame VID02_014376.txt that contains a Grasper and a Hook.
Table 2. The content of a .txt file for frame VID02_014376.txt that contains a Grasper and a Hook.
Class_id x_center y_center width
0 0.315625 0.428125 0.187500
1 0.748437 0.612500 0.103125
Table 3. Instrument appearance distributed across the consolidated dataset and final split.
Table 3. Instrument appearance distributed across the consolidated dataset and final split.
Instruments Total instances-25 videos (%) Allocated to Training Set Allocated to Validation Set Allocated to Test Set
Grasper 34,570 (53%) 21,429 3,847 9,294
Hook 21,095 (31.95) 12,976 2,106 6,013
Spec.bag 3,482 (5.27%) 2,212 254 1,016
Bipolar 2,609 (3.95%) 1,654 240 715
Irrigator 1,698 (2.57%) 1,400 15 283
Clipper 1,565 (2.37%) 1,039 154 372
Scissors 1,012 (1.53%) 683 90 239
Total 66,031 (100%) 41,393 6,706 17,932
Table 4. Detailed video allocation for extended 25 videos.
Table 4. Detailed video allocation for extended 25 videos.
Scheme 01. Total Videos
Training VID01, VID02, VID06, VID07, VID11, VID17, VID23, VID31, VID39, VID68, VID74, VID92 12
Validation VID04, VID37, VID96 3
Testing VID12, VID13, VID25, VID30, VID70, VID73, VID75, VID103, VID110, VID111 10
Table 6. The results of hyperparameter tuning.
Table 6. The results of hyperparameter tuning.
Category Hyper-parameter Optimal value found Purpose
Optimiser
(AdamW)
lr0 0.00777 The initial “speed” at which the model learns.
lrf 0.00807 How much does the learning speed slow down by the end of training for fine-tuning?
momentum 0.88914 Helps the optimiser to learn faster and avoid getting stuck on minor errors.
weight_decay 0.00044 A penalty that prevents the model from becoming too complex and “memorising” the training data.
warmup_epochs 3.48191 The number of initial epochs to gradually “warm up” the learning engine to prevent instability at the start.
Loss Functions box 6.80069 How much to penalise errors in the bounding box location and size?
cls 0.50592 How much to penalise errors in classifying the instrument (e.g., calling a Hook a Grasper).
dfl 1.7418 A specialised penalty to make the bounding box edges more precise.
Augmentations degrees 15.425 Randomly rotate images by up to these many degrees.
translate 0.10589 Randomly shift images horizontally and vertically by up to this percentage.
scale 0.50797 Randomly zoom in or out on images by up to this percentage.
shear 1.91155 Randomly slant or “skew” images by up to these many degrees.
hsv_h (Hue) 0.02576 Randomly adjust the colour tint of the images.
hsv_s (Saturation) 0.8197 Randomly adjust the colour intensity, sometimes creating grayscale effects.
hsv_v (Value) 0.57418 Randomly adjust the brightness of the images.
flipud 0.11835 The probability of flipping an image upside-down.
fliplr 0.54214 The probability of flipping an image left-to-right.
mosaic 0.91929 The probability of combining four images into one to create complex training scenes is high.
mixup 0.1233 The probability of blending two images and their labels to create new training examples.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings