Questions tagged [yolov8]

You Only Look Once (YOLO) is a real-time object detection system written in C. Use this tag for questions about YOLO version 8.

You Only Look Once (YOLO) is a real-time object detection system developed for high speed object detection within images.

165 questions
0
votes
1 answer

Yolov8 Pyinstaller exe file constantly reruns itself

I converted a very simple application that I developed with Yolov8 to exe with pyinstaller. The script runs very well but when I run the exe file it constantly reruns itself. My codes are as follows: from ultralytics import YOLO model =…
Ali Eren
  • 3
  • 3
0
votes
1 answer

How to move my crosshair to the bounding box my model creates

I am working on a project involving creating an AI-powered bot to full play Counter-Strike by itself. I have a working script that uses the YOLOv8 object detection algorithm to identify players on the screen, and draw a the bounding box around…
0
votes
1 answer

How to change azure custom vision annotation format to yolo v8 format In python

I have scripted to download annotated image from azure custom vision with following API. API gives probability score of an area where a license plate is detected and its corresponding bounding box. there will be multiple probabilities as image may…
0
votes
0 answers

Can not see the result of two functions using multiprocessing

I need to process two videos using yolov8 and opencv simultaneously so I decided to use two functions and run them in parallel using multiprocessing. but I just get one of the functions (videos) run while executing. I have been digging around for…
Hmd
  • 1
  • 1
0
votes
0 answers

Get Bounding Box details from YOLOv8 inference

I am running a YOLOv8x model which has been trained on custom data. I want to get the inference results in a way which looks similar to this. The below snippet is an output from running an inference on Roboflow: { "predictions": [ { "x":…
Shonith
  • 1
  • 2
0
votes
0 answers

Testing yolo object detection via webcam. Only webcam is showing, no detection

I am trying to make an streamlit app which will detect objects via webcam This is the code import cv2 import streamlit as st import numpy as np from streamlit_webrtc import VideoProcessorBase, webrtc_streamer, VideoTransformerBase from ultralytics…
0
votes
0 answers

YoloV8 deploy (EXE/WINDOWS)

i, currently have a model trained, with an GUI using customtkinter. Everything working fine in Pycharm. But when i try deploy to exe with auto-py-to-exe, this issue happens. Every time my software uses the function from yolo, my GUI be…
Milk
  • 1
  • 1
0
votes
2 answers

YOLOv8 - What is the clean and correct way to specify augmentation parameter?

as the title says, how do I set parameters for augmentation while using YOLOv8? I want to use the Python SDK and not the CLI commands. The mantainer of the repo refer several times to https://docs.ultralytics.com/modes/predict/#arguments but I don't…
0
votes
1 answer

YOLOv8 - getting output from a middle layer

I need to extract data from any middle layer. I need it for making comparing images, the idea is that if the model recognizes a cat it would check if that image of a cat matches the previous images of cats. I have done the following: model =…
0
votes
1 answer

Why does YOLO add 'background' class to the object detection even when we have not added that class? How to remove it?

Why does YOLO add 'background' class to the object detection even when we have not added that class? How to remove it? I am trying to train YOLO v8x model on custom data. In the confusion matrix I saw that background class has been added which I…
0
votes
1 answer

In deep learning, the image resolution is too large, resulting in memory overflow

In deep learning, the image resolution is too large, resulting in memory overflow. So I want to split the image into small pieces and export the annotation information in json to a txt file. And the annotation information of each txt corresponds to…
0
votes
0 answers

Hyperlink Generation and Display on Object Detection(using YOLOv8)

I am currently using YOLOv8 object detection to detect fruits through an external camera. Fruits are being detected successfully, but I need to have the hyperlink of the detected fruit to appear right above the bounding box(near the label),clicking…
Navneeth
  • 1
  • 1
0
votes
2 answers

No Module named numpy error while trying to deploy my streamlit app

I have stated numpy==1.25.1 in my requirements.txt file and it is getting installed as well while deploying my app. '''Collecting numpy==1.25.1 Downloading numpy-1.25.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.7 MB) …
0
votes
1 answer

YOLO v8 RESET ALL

I trained a yolo v8 according to the video posted on roboflow but now I want to create a new version using other objects, however, I am not able to "delete" the previous yolo. Every time I run my program it goes back to using the previous yolo. I…
0
votes
1 answer

YOLOv8 making false positives detections

I have trained 215 pics which are contains chess pieces with using yolov8m.pt as pre-trained model and epoch value was 75. !yolo task=detect mode=train model=yolov8m.pt data={dataset.location}/data.yaml epochs=75 imgsz=800 plots=True Then when I…