Live data from Hacker News

Show HN: bbox-visualizer – Make drawing and labeling bounding boxes easy as cake

github.com

21–25 of 25 posts

Re: Show HN: bbox-visualizer – Make drawing and labeling bounding boxes easy as cake

#21
post #4

Earlier quoted context omitted.

Looking over the library quickly, I really like it, that being said, Pillow is a much smaller and more self contained library than OpenCV, some projects try and avoid openCV if not necessary and this would extend to this project as well.

Thanks for the constructive comment! I'll try and see if it is at all possible to implement it in Pillow and maybe re-implement it in a major release, unless it is terribly convoluted.

Sorry for my slow response, 3vidence has covered my main thoughts, but I've added a bit to his comment.

In terms of convolution of implementing it, there may be a little more effort in terms of figuring some offsets (e.g., path widths may extend bounds), but it shouldn't be anything excessive I don't think.

Re: Show HN: bbox-visualizer – Make drawing and labeling bounding boxes easy as cake

#22
post #21

Earlier quoted context omitted.

Thanks for the constructive comment! I'll try and see if it is at all possible to implement it in Pillow and maybe re-implement it in a major release, unless it is terribly convoluted.

Sorry for my slow response, 3vidence has covered my main thoughts, but I've added a bit to his comment. In terms of convolution of implementing it, there may be a little more effort in terms of figuring some offsets (e.g., path widths may extend bounds), but it shouldn't be anything excessive I don't think.

Thanks for the comment! I'll look into it and aim for the next major point release.

Re: Show HN: bbox-visualizer – Make drawing and labeling bounding boxes easy as cake

#24

How does this compare to https://github.com/tensorflow/models/blob/master/research/ob... ? (Tensorflow is not needed for some of those functions)

Hi! This exists as a standalone library which means you don't have to go through the trouble of cloning the tensorflow/models repository and using the specific functions you need. Moreover, I'd argue this code is easier to follow (ymmv) than Tensorflow's and it would be easier to debug if the user needs to make modifications themselves. Additionally, this library also gives you some extra visualizations you can use on your bounding boxes.

Re: Show HN: bbox-visualizer – Make drawing and labeling bounding boxes easy as cake

#25
post #19

Nice one. More useful to me would be something similar that operates on tensors on the GPU. Doing image annotations on host/CPU often becomes a bottleneck.

Out of curiosity, what throughput do you have that would require GPU labelling? The most resource heavy bit is text rendering I guess, but that could be cached per class-name and reduced to a memcopy. Otherwise drawing rectangles is pretty quick on a CPU to the point where I'd imagine the memory transfer to the GPU is probably comparable to the draw ops? I've got OpenCV down to around 10ms per image (single thread, p…

it could be nice to avoid the overhead of moving the gpu box tensors to cpu, potentially.
Post reply on HN