Futurism logo

Free photo to 3D turned a rubber duck into a biscuit

Creative AI Tests, episode five: two free tools, Depth Anything and TripoSR, three stock photos and a laptop with no graphics card.

By Gautam AtmakuriPublished 8 days ago • 4 min read

In about twenty seconds, a single photo of a grey mug became a mug I could spin around on screen. Handle, rim, the lot. A rubber duck went through the same tool and came out flat, like a biscuit.

Last week I promised to turn one photo into 3D with a free tool. I ended up trying two, on three photos, all on my laptop.

The honest bit first

These aren't my photos yet. I used three free ones from Pexels: a plain grey mug, a rubber duck by a pool and a small succulent in a concrete pot.

Both tools are free and open source, and they go about the job in very different ways. Depth Anything guesses how far away each part of the photo is from the camera. That gives you a depth map, and I turned it into a 3D relief. TripoSR is more ambitious. It guesses the whole object, including the sides and the back it never saw.

Everything ran on my laptop's processor. No graphics card. And before either tool touched a photo, the same free cut-out tool, rembg, removed the background, so both of them got exactly the same object to work with.

I recorded the run in the terminal, so the numbers in the video are the real output. For each photo my script timed the tool, counted the triangles in the model and checked whether the shape was closed. The depth tool took about two seconds a photo. TripoSR took about twenty, and most of that went on loading the model and building the mesh.

The mug

From the front, the depth version looks right. Then you turn it, and it's a shell. There's nothing behind it at all, and the edges stretch out into spikes. A depth map only knows the front of things, so it can't do any better.

TripoSR made a whole mug: handle, rim and an open top. It guessed the back as well, and the guess is believable. Spin it round and the back looks like a mug's back should.

The duck

Here the depth relief smeared out sideways again, which I'd half expected by now.

The full-object tool got the outline right, and the colours. But turn the duck side on and it's less than half as thick as it is long. A duck-shaped biscuit. The reason is simple once you see it: the photo was taken side on, so the tool never saw how wide the duck is. It had to make something up, and it went thin.

The plant

The plant was the surprise. I assumed spiky leaves would be the hardest test of the three, but TripoSR built the pot and the leaves all the way round. Up close, though, the sharp red tips came out blunt and rounded. Good from a distance. Not so good up close.

What actually decides the result

One photo can't show the back of anything. That means every free tool is guessing, and the angle of the photo decides how good the guess is.

The mug and the plant were both shot from slightly above, and both came out well. The duck was shot side on. That's the whole difference, as far as I can tell from three photos.

Mr. Mummu, who turns up in these posts now and then, ran into the same wall with a pumpkin. He wanted a 3D version of his best one for the garden club, and every attempt came back as a pumpkin pancake. His photos were all taken lying flat on the lawn, perfectly side on, because he wanted the pumpkin to look "heroic". After the fourth pancake he fetched the kitchen step stool and wrote a new line in the notebook marked "Urgent", under "milk": stand up, see the top. The next pumpkin came out round. He's taken every photo from the stool since, and the cat now leaves the room when it comes out.

If you want to try it

Use a plain background. Get the whole object in the frame. Shoot from slightly above, so the tool can see the top and one side. And start with simple, solid shapes before you try anything fiddly.

Good enough for a prop, not a part

I'd happily use this for a quick prop, a mock-up, or a rough shape to start from. I wouldn't use it to measure anything, or to print a part that has to fit. My honest limit here is the sample: three stock photos, one laptop and two tools. Photos I take myself might behave differently, and I'll find that out when I shoot some.

You can watch the whole test, a bit over three and a half minutes, on my YouTube channel, Gautam Atmakuri, in the Creative AI Tests playlist. The link is in the first comment. Next week brings another free creative test.

What would you turn into 3D first?

Free photo to 3D is fast and fun. But what you get back is a confident guess, not a scan.

tech

About the Creator

Gautam Atmakuri

I once spent seven days blindfolded, silent and without food to see what my senses were hiding. I write about that, my baby boy, barefoot running, Tirupati to Auckland life, and the business, marketing and tech I build at AumnI digital.

Enjoyed the story? Support the Creator.

Subscribe for free to receive all their stories in your feed. You could also become a paid subscriber or give them a one-off tip, letting them know you appreciate their work.

Subscribe For Free

Reader insights

Share your insights about this piece.

How does it work?

Add your insights

Comments

There are no comments for this story

Be the first to respond and start the conversation.

Sign in to comment
    Written by Gautam Atmakuri