Closed lonnylundsten closed 10 months ago
Thanks for writing the issue.
Predicting bounding boxes in images or an video, labels folder is generated.
yolo predict model=best.pt save_txt=True source='/Users/ryo/rcam/test_annotations/test/_test_min_pixels/images'
yolo predict model=yolov8n.pt save_txt=True source='Pexels Videos 4800.mp4'
When YOLO mode, we can open the labels folder and the annotations are shown correctly. When XML mode, we can import the labels folder and convert to the XML format, and the annotations are shown correctly.
To reproduce the problem, could you show us the image and YOLO text file? We can debug in our environment.
Best regards, Ryo
We could reproduce the problem with the save_conf option.
yolo predict model=best.pt save_txt save_conf source='/Users/ryo/rcam/test_annotations/test/_test_min_pixels/images'
We could fix the problem in our environment. When the new update is released, we will let you know.
The new version 2023.09.27 was released.
RectLabel can read YOLO bbox format and the confidence value.
2 0.858291 0.444129 0.107388 0.13604 0.879111
2 0.923084 0.762919 0.0915834 0.119568 0.816483
1 0.461847 0.497682 0.401854 0.232201 0.745329
2 0.623991 0.857444 0.124704 0.115432 0.700138
2 0.471908 0.719623 0.0527512 0.0871587 0.254708
In the next update, the confidence value is shown on each box.
The new version 2023.10.09 was released.
Please let us know your opinion.
Currently If you need our support to fix this problem, please let us know.
When importing labels from ultralytics yolov8, the localizations are now appearing as lines. I've tested the yolov8 output from Mac's using CPU and MPS and, also, a T100 GPU on Google Colab and the import is the same -- lines instead of boxes. I have not tried importing from yolov5 output.
I've attached an example of the imported yolo file in rectlabel, a close-up showing the line, and a saved image from yolov8.