Your next summer DIY project is an AI-powered doodle camera

SunMag

Products / SunMag 106 Views 0

With lengthy summer time evenings comes the right alternative to mud off your previous bins of circuits and wires and begin to construct one thing. In case you’re brief on inspiration, you may be interested by artist and engineer Dan Macnish’s how-to information on constructing an AI-powered doodle digital camera utilizing a thermal printer, Raspberry pi, a touch of Python and Google’s Quick Draw knowledge set.

“Enjoying with neural networks for object recognition at some point, I questioned if I might take the idea of a Polaroid one step additional, and ask the digital camera to re-interpret the picture, printing out a cartoon as an alternative of a trustworthy photograph.” Macnish wrote on his blog concerning the venture, referred to as Draw This.

To make this work, Macnish drew on Google’s object recognition neural community and the data set created for the sport Google Fast, Draw! Tying the 2 techniques along with some python code, Macnish was capable of have his creation acknowledge actual photographs and print out one of the best corresponding doodle within the Fast, Draw! knowledge set

However since output doodles are restricted to the info set, there might be some discrepancy between what the digital camera “sees” and what it generates for the photograph.

“You level and shoot – and out pops a cartoon; the digital camera’s greatest interpretation of what it noticed,” Macnish writes. “The result's all the time a shock. A meals selfie of a wholesome salad may flip into an unlimited scorching canine.”

If you wish to give this a go for your self, Macnish has uploaded the directions and code wanted to construct this undertaking on GitHub.

Comments