element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
PiCasso Design Challenge
  • Challenges & Projects
  • Design Challenges
  • PiCasso Design Challenge
  • More
  • Cancel
PiCasso Design Challenge
Blog AI powered CNC Painting Machine - Blog #1 - Idea
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Attila Tőkés
  • Date Created: 21 Mar 2019 8:31 PM Date Created
  • Views 1027 views
  • Likes 6 likes
  • Comments 3 comments
Related
Recommended

AI powered CNC Painting Machine - Blog #1 - Idea

Attila Tőkés
Attila Tőkés
21 Mar 2019

THE IDEA

 

I have some spare stepper motors and CNC parts, so I thought to build an AI powered Painting Machine using the Raspberry Pi.

 

The machine will work as follows:

  • a source image / photo is provided
    • the RPi Cam could be also used to take a photo
  • the image / photo is given to a AI algorithm to transform it to the style of a famous painter
    • inspiration
      You don't have permission to edit metadata of this video.
      Edit media
      x
      image
      Upload Preview
      image

      (source: Two Minute Papers)
    • white paper:

      Chuan Li, Michael Wand - Combining Markov Random Fields and Convolutional Neural Networks for Image Synthesis
      (https://arxiv.org/pdf/1601.04589v1.pdf)

 

  • the output image is sent to a Raspberry Pi controlled CNC painting machine, which will output the image to a piece of paper
    • I thought to try different approaches, to see which works better:
      • color pen based
      • laser engraving
      • 3D printing few layers
      • etc.

 

The frame I want to build using OpenBuild parts (aluminium profiles, bearings, wheels, belts). It will look something like this:image

(https://www.instructables.com/id/DIY-5500mW-Laser-Engraver-Cutter/ )

 

Bill of Materials
(preliminary list)

  • PiCasso Design Challenge: The Kit
    • Raspberry Pi 3 B+ (/starter kit)
    • Raspberry Pi Camera V2
    • PiFace Digital 2
  • 2 x NEMA 17 stepper motors (I have these)
  • 2 x lead screws (I have these)
  • extruded aluminium profiles, bearings, wheels, belts, etc for the free (need to purchase)
  • 2 x stepper driver (DRV8825)
  • 1 x servo motor (I have these)
  • laser module (i have some from DVD drivers)

 

Of sure, all the hardware and software parts of project will be fully open source.

WHAT'S NEXT?

 

Today I got the challenge kit. Here it is along with some CNC parts I had:

image

 

The next 2 blog post / steps, I think, will be:

  1. CNC Frame - find an open source CNC frame, suitable for the project; order parts
  2. AI Algorithm - find an implementation / try to reproduce the image transformation algorithm from the linked white paper

 

Cheers,

Attila

  • Sign in to reply

Top Comments

  • rddorris
    rddorris over 6 years ago +2
    I really like this project. You might consider using these brush pens... https://www.amazon.com/Watercolor-Flexible-Beginners-Coloring-Calligraphy/dp/B07KLZC6YW/ref=sr_1_7?crid=35YAFYWTHM4X7&ke…
  • dubbie
    dubbie over 6 years ago +1
    This looks very interesting. You could also try an air-brush if you want everything a but fuzzy. They do have some tendency to drip though. Dubbie
  • javahead
    javahead over 6 years ago +1
    Great project. Have you seen this: https://www.npr.org/sections/alltechconsidered/2016/04/06/473265273/a-new-rembrandt-from-the-frontiers-of-ai-and-not-the… As a painter, the medium adds to the 'painterly…
Parents
  • javahead
    javahead over 6 years ago

    Great project.

    Have you seen this: https://www.npr.org/sections/alltechconsidered/2016/04/06/473265273/a-new-rembrandt-from-the-frontiers-of-ai-and-not-the…

    As a painter, the medium adds to the 'painterly' effect and is what seperates it from a printed image. Painters talk of those happy accidents that are the result of not having complete control over the medium.

    Looking forward to where this goes. Good luck!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • javahead
    javahead over 6 years ago

    Great project.

    Have you seen this: https://www.npr.org/sections/alltechconsidered/2016/04/06/473265273/a-new-rembrandt-from-the-frontiers-of-ai-and-not-the…

    As a painter, the medium adds to the 'painterly' effect and is what seperates it from a printed image. Painters talk of those happy accidents that are the result of not having complete control over the medium.

    Looking forward to where this goes. Good luck!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube