How to output all class in order from left to right from top to bottom in Yolo7?
Question:
I tested with random images and the output like this:
3 Cars,4 persons,5 Dogs
how to print all class from left to right from top to bottom:
car,person,person,person,dog,person,car,dog……
Answers:
By changing the detect.py file like this, you will get the result you want.
Result:
enter image description here
I tested with random images and the output like this:
3 Cars,4 persons,5 Dogs
how to print all class from left to right from top to bottom:
car,person,person,person,dog,person,car,dog……
By changing the detect.py file like this, you will get the result you want.
Result:
enter image description here