I seriously don't get it. Have we become so incapable that we can't draw rectangles and labels anymore by our self?
I seriously don't get it. Have we become so incapable that we can't draw rectangles and labels anymore by our self?
However, positioning the label to be exactly above the bounding box can be a little finicky. This just takes care of the math that you'd have to do to place it right above the box. I agree that I am not doing something revolutionary with the math here, but these functions are something that I've had to use over and over again and thought it would be nice to package the whole thing. This library abstracts everything behind two main functions.
There are also a few different visualizations that you can use.
Don't get me wrong, I like that you published it and I encourage it as much as I can. But if someone is capable of running complex object detection algorithms, they surely can position a label correctly without the need for another library?! This is just a couple of lines of code you can write without even thinking much about it.
Maybe I'm just out of touch, but it's so weird to me that people out there might find this useful.
Either way, your comments might be against HN guidelines [1].
Instead of down votes, I hope someone can answer my questions.