You are browsing as a guest. Sign up (or log in) to start making projects!

Doodle Cam

Hardware
  • 1 Devlogs
  • 1 Total hours

Doodle Cam is a Raspberry Pi powered handheld, polaroid style camera that captures photos and transforms them into hand-drawn art styles using AI. The first preset mimics a crayon/squiggly children's drawing with wobbly outlines. A small LCD screen on the camera displays the converted artwork right after you shoot. Images will save directly to the SD card, and you transfer them to your computer by plugging in. I plan to add more art presets in the future.

Open comments for this post

1h 6m 43s logged

Here you go:

Doodle Cam-Devlog #1
So Doodle Cam is a camera I’m building on a Raspberry Pi that takes a photo and turns it into a cool art style, kind of like a filter but on a real camera. There’s no printing, you just plug it into your computer with a USB cable to get the pictures off. Right now I’m writing all the code in Python on my laptop first before I put it on the Pi. At first I wanted to make it look like a kid’s crayon drawing. I tried doing it with just OpenCV code, then I tried using AI with the Replicate API. The AI looked the best, but I figured out it can’t run on a Raspberry Pi because it’s way too slow, and it also costs money for every picture. So I switched to doing everything offline with OpenCV instead. I changed the first preset to a black-and-white pencil sketch since OpenCV is actually really good at that, and I’ve been tweaking it a bunch, removing the background, smoothing the photo, adding dark outlines so the face shows up, and adding shading so it looks more like a real drawing.
Next I want to get the code running on the actual Raspberry Pi with the camera. After that I’ll add a little screen so you can see the sketch right after you take the photo. Then I’ll set it up so the Pi shows up like a USB drive when you plug it in, add a button to take pictures and switch presets, and make more styles like cartoon and watercolor.

Here you go:

Doodle Cam-Devlog #1
So Doodle Cam is a camera I’m building on a Raspberry Pi that takes a photo and turns it into a cool art style, kind of like a filter but on a real camera. There’s no printing, you just plug it into your computer with a USB cable to get the pictures off. Right now I’m writing all the code in Python on my laptop first before I put it on the Pi. At first I wanted to make it look like a kid’s crayon drawing. I tried doing it with just OpenCV code, then I tried using AI with the Replicate API. The AI looked the best, but I figured out it can’t run on a Raspberry Pi because it’s way too slow, and it also costs money for every picture. So I switched to doing everything offline with OpenCV instead. I changed the first preset to a black-and-white pencil sketch since OpenCV is actually really good at that, and I’ve been tweaking it a bunch, removing the background, smoothing the photo, adding dark outlines so the face shows up, and adding shading so it looks more like a real drawing.
Next I want to get the code running on the actual Raspberry Pi with the camera. After that I’ll add a little screen so you can see the sketch right after you take the photo. Then I’ll set it up so the Pi shows up like a USB drive when you plug it in, add a button to take pictures and switch presets, and make more styles like cartoon and watercolor.

Replying to @adam_wu0630

0
2

Followers

Loading…