Closed pintusorn closed 3 years ago
There are some changes in parameters and API in version 2.0 you need to account for.
min_aspect_ratio
is set for human detection. If you want to detect square objects, lower it to 0.1visualizer_cfg
for drawing, verbose only prints debugging information now. This is more flexible.See docstring in the code for parameter tuning. For this version, it is also recommended to set labels and create your custom YOLO class in app.py so that you don't have to mess with internal API code.
Hello,
I use a custom weight running on FastMOT and it is working fine.
There are 3 classes in my custom weight.
I am focusing on Motorcycle_with_Human and Car classes.
However, it seems like Car class has this flaw for detection. You can see it in the video I attached here: https://drive.google.com/file/d/1v6RValCM9L7Dz3w-NVbuAMUiWUIM4FeA/view?usp=sharing
Here is my code for mot.json,
Here is the label.py
Lastly, this is a YOLOv4Tiny class inside yolo.py
I am not sure why it happens. I used this weight before on the older version of your code, it seems to detect fine
Moreover, when I add verbose tag on this current code version, there is nothing happen, just the original detection box as you can see in the video.
Is it something to do with variables? Do I need to adjust anything?
Thank you very much in advance