Detecting Barcodes in Images with Python and OpenCV
pyimagesearch.com
pyimagesearch.com
"Stampedes of middle-aged midwestern women, their toothless gums bloodthirsty for 75% off the latest season of Game of Thrones at the local Wal-Mart."
Could turn off a lot of people (women, older people, Wal-Mart shoppers, etc.) from what is otherwise a fun and well written technical post. I'd like to see HN being more inclusive. That said, enjoyed and upvoted the article.
There are levels of humour, but I agree with GP that the quoted quip is pretty rude (the toothless gum bit) , and it isn't even that funny!
Being a privileged white male isn't what it used to be.
You're going too far. "Written so badly," "written by someone with poor taste," call it whatever you will. But don't insult him just because you think his joke was offensive.
Don't forget there's a human being at the other end. Getting this kind of feedback is very discouraging and disappointing.
In fact, it's not even feedback, it's just an insult.
Which, if you ask me, is poor taste.
If you're a bloodthirsty, toothless, middle-age woman -- sorry this submission was not meant for you. Carry on, and read another one of the millions of posts on the internet.
Set up an API for the script so you can try it out without coding it up: https://api.blockspring.com/pkpp1233/d80c0541e3b744bb7695be2...
And helpfully enough, my code needed a pretty good crop on the barcode, and that's what this article gives you.
Also, a ton of the barcode scanning mobile apps use zbar as well (they all use zbar's default interface unchanged).
Since closing(image, str.elem.) == erode(dilate(image, str.elem), str.elem), it feels like you could better use an erosion (remove noise) followed by a closing (to fill up the empty spaces) instead of the other way around?