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
-1
votes
1 answer

Get the average processing speed in YOLO

When using Yolo (v5 or v8) to process a video, it shows the detection speed per frame, like below (e.g. 80.6 ms). Now, is there a flag to get the average speed across all frames? video 1/1 (563/570) /home/human/yolov5/video.mp4: 384x640 1 human,…
Tina J
  • 4,983
  • 13
  • 59
  • 125
-1
votes
0 answers

Close live inferencing window using in YOLOV8

I am trying to close popup window when i call model.predict using YOLOv8. I want to close window in code only, not using clt+c or q on popup window. Here is my code import numpy import datetime import imutils model =…
NIrbhay Mathur
  • 153
  • 1
  • 1
  • 10
-1
votes
1 answer

YOLOv8 no prediction results

Get interested in yolov8 and after few youtube tutorials i tried to train custom dataset. After all manipulations i got no prediction results :( 2nd image - val_batch0_labels, 3rd image - val_batch0_pred I tried to do this in pycharm and google…
zltx
  • 13
  • 2
-1
votes
2 answers

Python 3.11.2 | YOLOv8 - how save to own folder

How can I save results to my own folder? I using YOLOv8 I tried to do this : from ultralytics import YOLO model = YOLO('yolov8n.pt', 'v8') # input video path input_path =…
LTS FG
  • 19
  • 5
-1
votes
1 answer

A problem with convert yolov8 recognition sys to exe by pyinstaller

I use Pyinstaller with Python 3.9.13,when i use this commend "pyinstaller interface.py --onefile -w" to convert the project to exe file ,I have this problem : it is can not find ultralytics\yolo\..etc it is can not find ultralytics\yolo\..etc when I…
deve
  • 1
  • 1
-1
votes
1 answer

Failing to install Pytorch on raspberry pi 4

I am currently trying to deploy a Yolo model to raspberry pi so I am trying to install Ultralytics and torch(which is included in Ultralytics I guess) but it shows an error every time. the second image is the error I got when I tried to install…
mangs
  • 29
  • 4
-1
votes
1 answer

Yolov8 on Raspberry Pi model 4B 64 bit OS

I am trying to run a yolov8 model on my Raspberry Pi and have installed ultralytics using pip3 install ultralytics command. But whenever I try to import YOLO in Thonny using from ultralytics import YOLO my terminal just outputs Process ended with…
-2
votes
1 answer

Predict a class from the results of a detected object of trained YOLOv8 model in python

I have a trained model and I have detected my required object using following code import cv2 from PIL import Image from ultralytics import YOLO image = cv2.imread("screenshot.png") model = YOLO('runs/detect/train4/weights/best.pt') results =…
GNChishti
  • 39
  • 10
-2
votes
0 answers

Name error: plot_bboxes. Is there any library to import?

Help to solve this error.name error : plot_bboxes. I have add the codes I used. plot_bboxes(image, results[0].boxes.boxes, score=False) NameError: name 'plot_bboxes' is not defined
-2
votes
0 answers

How can I create a fake image dataset using midjourney to train a yolo model?

I need to train an object detection model with yolo algorithm. I collected some images from google but they're not quite suitable for my task. I need some more specific. let's say I need a dataset of railroad which there are some obstacle on it. But…
-2
votes
1 answer

Yolov8 model returned None on inference after training

I am working on a object detection and counting project , i encountered a problem where the model was found to be returning a None object on inference after training it for 100 epochs in a dataset of 600(300 images augmented) images. I used roboflow…
-3
votes
1 answer

Crop bounding box of image of only Person Class

I have trained my yolov8 model and now i have best.pt file to predict the object. But i want that when i will give the image to my model then it only crop the bounding boxes of Person Class not cars and helmets bouding boxes. Please help me model =…
-3
votes
1 answer

Need help installing lap

pip install lap WARNING: Ignoring invalid distribution -pencv-python (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution -rotobuf (c:\python310\lib\site-packages) Collecting lap Using cached lap-0.4.0.tar.gz (1.5 MB) …
saas
  • 1
  • 2
1 2 3
10
11