Comment on Show HN: A Chrome extension that adds moustaches to every face on the webComments−Sephr15yThis is not that novel of an extension. It's essentially the following (see https://github.com/forward/mustachio-chrome/blob/master/must...): var i = document.images.length; while(i--) document.images[i].src = "http://mustachy.heroku.com/?src=" + document.images[i].src; I might be more impressed if the author ported mustachio (https://github.com/afeld/mustachio) to JavaScript.−aidanfeldman15yway ahead of ya: https://github.com/afeld/mustachio-js−biot15yDoesn't that just run on node.js? Replacing the image with a canvas tag that renders the original image + mustache image would require no server.−aidanfeldman15yCorrect, though there does need to be a server component to communicate with the Face.com API. Face detection is a much slower process than image compositing, so this is really the limiting factor.
Comments
This is not that novel of an extension. It's essentially the following (see https://github.com/forward/mustachio-chrome/blob/master/must...):
I might be more impressed if the author ported mustachio (https://github.com/afeld/mustachio) to JavaScript.way ahead of ya: https://github.com/afeld/mustachio-js
Doesn't that just run on node.js? Replacing the image with a canvas tag that renders the original image + mustache image would require no server.
Correct, though there does need to be a server component to communicate with the Face.com API. Face detection is a much slower process than image compositing, so this is really the limiting factor.