News for hackers. Stuff that matters.

shoumikchow

Re:Ask HN: Who wants to be hired? (June 2021) on Sunday June 06, 2021 @08:40PM (#27417760)
Location: Texas, USA

Remote: Yes

Willing to relocate: Yes

Technologies: Python, MongoDB, Docker, PyTorch, Tensorflow, Keras, Numpy, OpenCV, AWS

Résumé/CV: https://shoumikchow.com/resume

Email: [email protected]

Website: https://shoumikchow.com

Github: https://github.com/shoumikchow

I have a CS Masters (with thesis), primarily working with neural networks using graphs and images. Looking for full-time opportunities as a Machine Learning Engineer/Deep Learning Engineer, preferably related to Computer vision but can work with NLP as well.

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.
Thanks for the comment! I'll look into it and aim for the next major point release.
Interesting idea! I'll have to do some studying as to how to make that happen, so I doubt I'll be adding that option anytime soon but I'll be adding it to the icebox.

Thank you for the comment!

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.
I don't understand the hate. I don't have to solve P=NP to post on HN. If I did solve something complicated, I'd be publishing a paper, not posting here. I thought this is something that might help the community. If people are upvoting it, it's because they think it might help them - save 20 minutes if nothing else.

Either way, your comments might be against HN guidelines [1].

[1] https://news.ycombinator.com/showhn.html

You are correct that you do not need this library to draw bounding boxes with a label. You can use OpenCV or Pillow to draw it.

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.

Personally, I've always used OpenCV with all object detection and object recognition tasks I've worked on to take advantage of the many CV functions it provides. So it was only natural for me to use OpenCV since it wouldn't require an additional dependency like Pillow.

I could've definitely used Pillow, but is there any tangible advantage to using Pillow over OpenCV?