Ever wanted to have a cat twin?
About a week or two ago, a friend of mine told me about an idea he had for a human-to-cat-photo app. Over the next few days I created a quick version of it, and tada! Check it out below.
Caticature takes your uploaded photo and discovers a cat photo that looks the most like you. It’s far from perfect, but I think it’s a good start for whatever else I’d like to build next.
The Cat API – First, I needed an API that could give me cat images. The Cat API was the only easy-to-use cat API I could find.
NextJS – I’m generally a PHP dev, but I wanted something more lightweight and faster than PHP for Caticature. Since I’ve built a project or two on NextJS before, and I have a bit of experience in React, it was my obvious choice of framework. (Not to mention easy to deploy!)
DeepAI – I used the deepai NPM package to compare cat images to the image the user uploaded to find the most similar image.
And that’s it! If you have any questions, comments, or suggestions, feel free to let me know in the comments below. Or, shoot me an email at firstname.lastname@example.org.