Live data from Hacker News

Show HN: I built the most over-engineered Deal With It emoji generator

emoji.build

41–50 of 153 posts

Re: Show HN: I built the most over-engineered Deal With It emoji generator

#41
post #40

Found a bug If *after* generating a gif you change the gif size (bigger in my case) the new gif has the sunglasses appear in the same place. But if I change the size first and then generate everything work fine. Hope I explained it right

I immediately knew what you meant, because I ran into the bug while testing earlier today and apparently forgot to file it. So thanks for reporting - I've filed it now properly and should have it fixed soon.

Re: Show HN: I built the most over-engineered Deal With It emoji generator

#42
post #37

Earlier quoted context omitted.

That feature was removed because half the people who want black frames were offended that the app offered options that they didn't want to use.

What's interesting is that the moment that you introduce a feature that allows for sharing of the images, and you need a backend to host the images. You enter a world of pain where you inevitably will end up hosting illegal material, and it turns from a fun project to a serious project.

Yeah, that's why I'm keeping everything client-side. There's no backend. This is hosted on Cloudflare Pages, everything on the backend is static. Definitely not looking to host any generated images.

Re: Show HN: I built the most over-engineered Deal With It emoji generator

#43

It's great. I wish you could paste an image URL too, that would be slick. Oh, and it would be cool to have an option for the meme text to go under the image too, and to appear in the final frame of motion for the glasses. For now, I can DEAL WITH IT!

> It's great. I wish you could paste an image URL too, that would be slick.

Good suggestion - implemented in https://github.com/klimeryk/dealwithit/commit/12c2254e4a1e5f...

> Oh, and it would be cool to have an option for the meme text to go under the image too, and to appear in the final frame of motion for the glasses

Yup, on my radar! Upvote on GitHub: https://github.com/klimeryk/dealwithit/issues/31

Re: Show HN: I built the most over-engineered Deal With It emoji generator

#47

Hell yeah, this is great. I made a similar, but much worse, thing a while back https://jammaloo.com/DealWithIt/ It uses face-api.js to find the face, and then move the sunglasses over it. It's about a 5 meg model, so it's pretty slow to load. You can customize with a URL, or drag and drop an image on. Resizing the browser also moves the glasses around. Very happy to see someone take the idea way way way further!

Heck yeah! Love the touches like resize handling or rotation support! Contributions are more than welcome... hint hint ;)

> It uses face-api.js to find the face

Yeah, I'm using Google AI's Face Detector [1]. There's Tensorflow's Face Landmarks Detection [2] that looked most promising and accurate. But it had two bugs [3][4] that are blockers. The first one got fixed recently, but the other one is still pending.

[1] https://ai.google.dev/edge/mediapipe/solutions/vision/face_d...

[2] https://github.com/tensorflow/tfjs-models/tree/master/face-l...

[3] https://github.com/tensorflow/tfjs/issues/7905

[4] https://github.com/tensorflow/tfjs/issues/8290

Re: Show HN: I built the most over-engineered Deal With It emoji generator

#49

Infinite spinner for me: Stuck at "Loading AI models for face detection..." forever. I'd want to fix that before sharing it with recruiters as an example project. Desktop Safari 18.0.1 (18619.1.26.111.11, 18619)

As another data point it works on my M1 with Safari 17.2

Re: Show HN: I built the most over-engineered Deal With It emoji generator

#50

Infinite spinner for me: Stuck at "Loading AI models for face detection..." forever. I'd want to fix that before sharing it with recruiters as an example project. Desktop Safari 18.0.1 (18619.1.26.111.11, 18619)

Any console errors?
Post reply on HN