Обнаружение объектов на Python, что возвращает команда «save_txt=True» в следующем коде: «result= model('V3.mp4',save=Tr ⇐ Python
-
Гость
Обнаружение объектов на Python, что возвращает команда «save_txt=True» в следующем коде: «result= model('V3.mp4',save=Tr
In Google-Colaboratory (Python) I trained a model to detect the ball object in a video. I want to see the results of the model and I use the following command: result= model('V3.mp4',save=True, save_txt=True) In addition to saving me the video with the ball detection, I included the command "save_txt=True" because I also need to generate a .txt file with the coordinates of the individual frames detected by the model.
Within each frame, where only one ball was detected, there are the following number values: 0 0.777123 0.55625 0.0212264 0.0625
As a base model and weights to train my model I used yolov8.
I thank you for your help.
Can you tell me what exactly these five values indicate?
Источник: https://stackoverflow.com/questions/780 ... urn-in-the
In Google-Colaboratory (Python) I trained a model to detect the ball object in a video. I want to see the results of the model and I use the following command: result= model('V3.mp4',save=True, save_txt=True) In addition to saving me the video with the ball detection, I included the command "save_txt=True" because I also need to generate a .txt file with the coordinates of the individual frames detected by the model.
Within each frame, where only one ball was detected, there are the following number values: 0 0.777123 0.55625 0.0212264 0.0625
As a base model and weights to train my model I used yolov8.
I thank you for your help.
Can you tell me what exactly these five values indicate?
Источник: https://stackoverflow.com/questions/780 ... urn-in-the