News for hackers. Stuff that matters.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by BugsJustFindMe on Monday September 25, 2017 @03:24PM (#15333267)
Not only is this not computer vision, but the image processing employed is quite naive and the results are poor. One need only move the Simplify slider all the way to the right on the default N/S America globe icon and then start inching it back to the left to see a solid example of this. I'm aware that I'm being very dismissive here, but the "it uses computer vision" marketing bs really grinds my gears.

It looks like it's just doing server-side http://www.imagemagick.org/Usage/morphology/#basic

Hello massive diamond kernels.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by dang on Monday September 25, 2017 @03:55PM (#15333545)
We took 'computer vision' out of the title above.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by unkown-unknowns on Monday September 25, 2017 @03:59PM (#15333575)
I am curious to know, does the HN software have an automatic trigger for comments that mention "title" or is it more a case of mods looking at the front page every now and then and if a comment about the title is sufficiently highly voted in a frontpaged post you look into it and make a decision?
Re:Show HN: Logo Crunch – Multi-resolution logo maker by dang on Monday September 25, 2017 @05:44PM (#15334444)
The latter. I used to have an automatic trigger but it broke when I ported my client software from one obscure Lisp to another, and I haven't yet gotten it working again.

Basically we do cmd+f title a lot.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @09:45PM (#15335557)
typically you would leave the large sizes as-is, the filters are mostly useful for the smaller sizes where you don't see the diamond kernel effect.

not sure why people so upset about the name, mathematical morphology is commonly used in computer vision. As far as marketing BS goes it's pretty tame compared to some of the stuff I've seen on hn.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by BugsJustFindMe on Tuesday September 26, 2017 @12:20PM (#15340079)
> morphology is commonly used in computer vision

Loops are commonly used in computer vision. And yet here we are not calling loops computer vision.

> not sure why people so upset about the name

Learned people get upset when they see grandiose or otherwise erroneous claims about trivial things, regardless of the field, because it signals either bumbling naiveté or intent to deceive, and both are perceived as dangers to the community.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Wednesday September 27, 2017 @08:00AM (#15346890)
I feel like we're just arguing over semantics. I agree that "computer vision" is a slight stretch, but it's hardly malicious.

> bumbling naiveté or intent to deceive

maybe the real danger to the community is unfounded hostility :/

Re:Show HN: Logo Crunch – Multi-resolution logo maker by mikerg87 on Monday September 25, 2017 @11:25AM (#15331188)
On iPhone, when I choose random Logo I always get image of North and South America on a globe.

The effects on scale are pretty good. Would be cool to see comparison vs more traditional image scaling methods. Thanks for sharing this

Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @12:12PM (#15331602)
I've limited it to that one for now so the server doesn't fall over, there are a few others that I'll add as I warm the cache
Re:Show HN: Logo Crunch – Multi-resolution logo maker by mattnewton on Monday September 25, 2017 @12:03PM (#15331523)
Happens to me as well when I choose random: https://xkcd.com/221/

It's fine though because it is a good demonstration graphic.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by chrisper on Monday September 25, 2017 @12:01PM (#15331492)
Is Central America missing for you?

But I get the same logo as well when tapping random on Pixel.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by rtkwe on Monday September 25, 2017 @01:43PM (#15332428)
Central America is there. It does kind of drop out of the reduced images when you get down towards 48x48 but that makes sense because it's the smallest feature.

As for the random button the author replied and they've locked it to a single image for now to help with the load on the servers. Single image is easier to cache the responses for.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by lordlarm on Monday September 25, 2017 @10:00AM (#15330518)
Can't get it to work on Firefox due to it trying to load jQuery from code.jquery.com where the CORS-policy disallows it. Specifically:

> Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://code.jquery.com/jquery-1.12.4.min.js. (Reason: CORS header 'Access-Control-Allow-Origin' missing).

Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @10:04AM (#15330551)
oops, fixed!
Re:Show HN: Logo Crunch – Multi-resolution logo maker by thelad on Monday September 25, 2017 @10:09AM (#15330599)
Looks to be fixed now, jquery loaded from same domain for me.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by yoshuaw on Monday September 25, 2017 @10:54AM (#15330936)
Is the code available for this? Would be amazing to integrate in a build pipeline. Thanks!
Re:Show HN: Logo Crunch – Multi-resolution logo maker by arve0 on Monday September 25, 2017 @11:21AM (#15331153)
This is pretty standard image processing techniques, which you can streamline yourself. Not sure if there exists out-of-the-box solutions, but you can easily create your own with for example scikit-image (python).

Here are some selected functions.

Opening: http://scikit-image.org/docs/stable/api/skimage.morphology.h...

Closing: http://scikit-image.org/docs/stable/api/skimage.morphology.h...

Dilate: http://scikit-image.org/docs/stable/api/skimage.morphology.h...

I recommend starting at the user guide: http://scikit-image.org/docs/stable/user_guide.html

Re:Show HN: Logo Crunch – Multi-resolution logo maker by duozerk on Monday September 25, 2017 @11:36AM (#15331297)
Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @11:16AM (#15331127)
sure, I can put it on github. Just have to re-write the interface for cli instead of REST.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by yoshuaw on Monday September 25, 2017 @01:18PM (#15332222)
Woot!
Re:Show HN: Logo Crunch – Multi-resolution logo maker by augustt on Monday September 25, 2017 @10:16AM (#15330669)
Would be nice if the image processing was implemented locally. The operations used don't seem too complicated for javascript + canvas.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by iKlsR on Monday September 25, 2017 @10:16AM (#15330671)
Also not working on latest stable Chrome x64, upload not working, just keeps going, no errors in console.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @10:39AM (#15330833)
server's at 90x but uploads do complete eventually.. just really slow right now from hn traffic!
Re:Show HN: Logo Crunch – Multi-resolution logo maker by yosito on Monday September 25, 2017 @10:43AM (#15330866)
Very useful tool! Thanks for sharing! Works perfectly on my iPhone.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by rocktronica on Monday September 25, 2017 @12:11PM (#15331596)
This is incredibly useful, regardless of the veracity of its "computer vision."

A technique that seems to work well for it with simple drawing style icons is to thicken and simplify as the image gets smaller, so it seems like the stroke of the drawing is consistent across sizes.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by rfolstad on Monday September 25, 2017 @11:35AM (#15331280)
really cool idea but it didn't work for me. It distorted the logo and made it look much worse. Would be great if you generated a unique url for each icon that is uploaded so i could share it with you.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by rocktronica on Monday September 25, 2017 @12:13PM (#15331620)
That would entail them permanently storing the images, which they probably don't want to do.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by leephillips on Monday September 25, 2017 @12:13PM (#15331614)
Genuinely useful, and easy to use. Thanks for sharing this!
Re:Show HN: Logo Crunch – Multi-resolution logo maker by amelius on Monday September 25, 2017 @11:38AM (#15331308)
Nice, but nowadays everybody uses SVG for their icons, because they render well at normal to higher resolutions.

Resorting to a bitmap at low resolutions seems a bit odd.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by brainfire on Monday September 25, 2017 @11:49AM (#15331397)
The techniques detailed on the page (reweighting lines, removing fine details) seem like a worthwhile reason to at least use a different file for the "tiny" image. Unless SVG renderers start using those techniques at a small enough size.

It looks like only Firefox or Opera would support an SVG favicon: https://en.wikipedia.org/wiki/Favicon#File_format_support

Re:Show HN: Logo Crunch – Multi-resolution logo maker by city41 on Monday September 25, 2017 @11:46AM (#15331371)
This is for favicons, where svg support is pretty spotty.

Even with svg, they ultimately become rasters once they are on the screen. So for favicons it might still be beneficial to control the scaling yourself with a tool like this.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by pcwalton on Monday September 25, 2017 @01:59PM (#15332540)
The techniques (for example, removing fine details) are applicable to SVG too.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by mshenfield on Monday September 25, 2017 @01:36PM (#15332351)
I've manually tried to hack together a few favicons. This seems like a way better solution if, like me, you don't have much design skill.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by tehlike on Monday September 25, 2017 @09:51AM (#15330432)
I am not sure if web site works on mobile.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by mholt on Monday September 25, 2017 @09:55AM (#15330464)
Genuine question: Are people creating app icons while they're on the go? Or am I the only one who defers all development to one's laptop (or desktop) computer.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by sogen on Monday September 25, 2017 @02:05PM (#15332596)
Agreed, I only work on my desktop, my phone is for not essential tasks. But we might be the minority, I’ve seen people use their tablets for Everything
Re:Show HN: Logo Crunch – Multi-resolution logo maker by grenoire on Monday September 25, 2017 @10:01AM (#15330523)
Maybe he's just trying it out on his phone?
Re:Show HN: Logo Crunch – Multi-resolution logo maker by tehlike on Monday September 25, 2017 @10:08AM (#15330585)
I wanted to try a random one to see what it actually was, because i was waiting someone in the parking lot.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by MayeulC on Monday September 25, 2017 @11:52AM (#15331424)
I did just the same, works quite well for me. Firefox on Android.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @10:53AM (#15330935)
does the page load? more details would help me identify the issue
Re:Show HN: Logo Crunch – Multi-resolution logo maker by tehlike on Monday September 25, 2017 @11:00AM (#15330980)
The page loads, but normally i see earth logo on desktop, but on phone it's just blank. This is on android chrome. Looks to be a issue with the margins/alignment of the image, i think.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @11:14AM (#15331105)
thanks, I'll look into it
Re:Show HN: Logo Crunch – Multi-resolution logo maker by stapled_socks on Monday September 25, 2017 @03:18PM (#15333200)
Is it supposed to work with transparency? I only get black pixels instead.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by diegorbaquero on Monday September 25, 2017 @10:22AM (#15330711)
Couldn’t get it to work in my iPhone . Too slow/times out
Re:Show HN: Logo Crunch – Multi-resolution logo maker by golergka on Monday September 25, 2017 @10:12AM (#15330631)
I wonder if it can be used for mip map generation.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by coreyp_1 on Monday September 25, 2017 @10:52AM (#15330921)
This is beautiful.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by foo101 on Monday September 25, 2017 @12:45PM (#15331922)
Unrelated: Does anybody know why the favicon of http://www.fast.ai/ an "H"?
Re:Show HN: Logo Crunch – Multi-resolution logo maker by rkeene2 on Monday September 25, 2017 @12:55PM (#15332028)
Based on a Google Image search of that image, I'd say "because the WordPress theme they are using sets that".
Re:Show HN: Logo Crunch – Multi-resolution logo maker by tombrossman on Monday September 25, 2017 @02:26PM (#15332764)
The theme is "Hyde", and that's the default favicon. https://github.com/poole/hyde
Re:Show HN: Logo Crunch – Multi-resolution logo maker by jv22222 on Monday September 25, 2017 @12:53PM (#15332005)
I'm going to guess it's from a legacy system and the code was copy/pasted when creating that new site... but will be interested to hear the final reason.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by burkaman on Monday September 25, 2017 @01:06PM (#15332121)
H for Jeremy Howard?
Re:Show HN: Logo Crunch – Multi-resolution logo maker by rkuykendall-com on Monday September 25, 2017 @10:19AM (#15330688)
Slow but fun.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by trevyn on Monday September 25, 2017 @10:07AM (#15330579)
Needs title fix, this isn't really "computer vision".
Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @10:10AM (#15330606)
maybe "basic computer vision"? dilate/erode/open/close filters come from computer vision afaik.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by mannigfaltig on Monday September 25, 2017 @10:11AM (#15330619)
These kind of fundamental methods in computer vision are commonly called "image processing".

"Computer vision" typically refers to computations that have an interpretative component (image analysis), i.e. programs that actually "see" something. Interpretation basically refers to the inference of the state of the "world" (or a part thereof) from an image. Image processing is often used in pre-processing for computer vision applications, but it also has many other purposes which do not need image analysis, such as in photo and video editing, as well as in generative applications, e.g. 3D engines and video games (which can in some sense be seen as the inverse of vision). Therefore, image processing is not exactly a subset of computer vision.

Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @10:46AM (#15330880)
at least I didn't call it AI :]
Re:Show HN: Logo Crunch – Multi-resolution logo maker by ComputerGuru on Monday September 25, 2017 @11:16AM (#15331130)
No but you did say:

> Discover the deep learning tech behind Brandmark

Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @11:42AM (#15331335)
that's more referring to the other stuff on the site
Re:Show HN: Logo Crunch – Multi-resolution logo maker by jerf on Monday September 25, 2017 @10:51AM (#15330916)
There's still time to correct that.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by pera on Monday September 25, 2017 @01:06PM (#15332123)
Digital filters are used for other things aside computer vision.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by dang on Monday September 25, 2017 @03:54PM (#15333540)
OK we changed it to the HTML doc title.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by pieterhg on Monday September 25, 2017 @10:02AM (#15330537)
Doesn't work.
Re:Show HN: Logo Crunch – Multi-resolution logo maker by pc86 on Monday September 25, 2017 @10:27AM (#15330761)
For all the complaining one sees on HN about bug reports from users, you'd think we could come up with something better than "Doesn't work."
Re:Show HN: Logo Crunch – Multi-resolution logo maker by falsedan on Monday September 25, 2017 @10:39AM (#15330834)

    When
    I visit the site for the first time

    Then
    I expect to see something related to the title from the HN submission

    Except
    I see a blank page and an app that has broken in a fundamental way that I do not have expertise/time to look into
Re:Show HN: Logo Crunch – Multi-resolution logo maker by Jack000 on Monday September 25, 2017 @10:06AM (#15330571)
what seems to be the problem? server getting hammered by hn traffic might have something to do with it