# YOLOv8 Model Detecting Background Objects as Hand Gestures

**URL:** <https://discuss.roboflow.com/t/yolov8-model-detecting-background-objects-as-hand-gestures/9238>\
**Category:** 🤝  Community Help\
**Created:** [March 28, 2025, 2:02pm UTC](https://discuss.roboflow.com/t/yolov8-model-detecting-background-objects-as-hand-gestures/9238 "2025-03-28T14:02:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ufedo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/ufedo/32/7003_2.png) [@Ufedo](https://discuss.roboflow.com/u/Ufedo)\
**Post date:** [March 28, 2025, 2:02pm UTC](https://discuss.roboflow.com/t/yolov8-model-detecting-background-objects-as-hand-gestures/9238/1 "2025-03-28T14:02:11Z")

</div>

Hello Roboflow community,  
My name is Philip and I’m working on a hand gesture recognition model using YOLO for Sign Language. However, I’m facing an issue where the trained model sometimes detects my face or random background objects as a hand gesture. I carried out annotation of my hand gesture datasets (I only annotated 2 classes: A and B; cause I wanted to see how it works) on roboflow and trained the model using google colab. I also used 100 images for each of these classes.

Here is what I’ve done:  
I’ve tried adjusting confidence & IoU thresholds but the issue persists.  
Increased training epochs to 100.  
Used bounding boxes and hand landmarks for annotation.

**Project Type** : Object Detection

**Model Used** : YOLOv8  
**Operating System & Browser** : Windows 10 and Chrome  
**Project Universe Link or Workspace/Project ID:** [Serious Object Detection Dataset by Example](https://universe.roboflow.com/example-qm9pe/serious)

Below is an example of what I meant.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/2/29c47e8bd5624a1cda72d2a463f85405e5285f8a.jpeg)

I’d really appreciate any advice on resolving this issue. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Automatez](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/automatez/32/8971_2.png) [@Automatez](https://discuss.roboflow.com/u/Automatez)\
**Post date:** [March 31, 2025, 8:23pm UTC](https://discuss.roboflow.com/t/yolov8-model-detecting-background-objects-as-hand-gestures/9238/2 "2025-03-31T20:23:21Z")

</div>

Hey Ufedo! I went to browse your images but they were no longer available. So I can only guess here, but one option is to make sure about 10% of your images are “null” images - no hand at all, only your face and the background. You can’t just leave them unannotated either - you have to actually mark them as null (Dataset \> (check the box for each null image) \> Actions \> Mark Null. This will help it learn not to detect your face and other background items. Best of luck!

---

<div class="post-metadata">

**Author:** ![Ufedo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/ufedo/32/7003_2.png) [@Ufedo](https://discuss.roboflow.com/u/Ufedo)\
**Post date:** [April 5, 2025, 12:37pm UTC](https://discuss.roboflow.com/t/yolov8-model-detecting-background-objects-as-hand-gestures/9238/3 "2025-04-05T12:37:42Z")

</div>

Ok thank you sir, I will try that.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [April 26, 2025, 12:38pm UTC](https://discuss.roboflow.com/t/yolov8-model-detecting-background-objects-as-hand-gestures/9238/4 "2025-04-26T12:38:36Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
