Skip to main content
QUICK REVIEW

[Paper Review] RoboCoDraw: Robotic Avatar Drawing with GAN-based Style Transfer and Time-efficient Path Optimization

Tianying Wang, Wei Qi Toh|arXiv (Cornell University)|Dec 11, 2019
Advanced Vision and ImagingComputer Science22 references5 citations
TL;DR

RoboCoDraw is a real-time robotic drawing system that generates personalized cartoon avatars from real human faces using a GAN-based style transfer method (AvatarGAN) and optimizes robotic drawing paths via a Random-Key Genetic Algorithm (RKGA) with 2-opt and Lin-Kernighan local search heuristics. The system achieves a 17.34% average reduction in drawing time compared to baseline greedy path planning, enabling efficient, interactive, and entertaining robotic art creation with high likeness and aesthetic quality.

ABSTRACT

Robotic drawing has become increasingly popular as an entertainment and interactive tool. In this paper we present RoboCoDraw, a real-time collaborative robot-based drawing system that draws stylized human face sketches interactively in front of human users, by using the Generative Adversarial Network (GAN)-based style transfer and a Random-Key Genetic Algorithm (RKGA)-based path optimization. The proposed RoboCoDraw system takes a real human face image as input, converts it to a stylized avatar, then draws it with a robotic arm. A core component in this system is the Avatar-GAN proposed by us, which generates a cartoon avatar face image from a real human face. AvatarGAN is trained with unpaired face and avatar images only and can generate avatar images of much better likeness with human face images in comparison with the vanilla CycleGAN. After the avatar image is generated, it is fed to a line extraction algorithm and converted to sketches. An RKGA-based path optimization algorithm is applied to find a time-efficient robotic drawing path to be executed by the robotic arm. We demonstrate the capability of RoboCoDraw on various face images using a lightweight, safe collaborative robot UR5.

Motivation & Objective

  • To develop a real-time, interactive robotic drawing system that transforms real human faces into stylized cartoon avatars for entertainment.
  • To preserve facial features (e.g., face shape, eye shape, haircut) in generated avatars to ensure high likeness to input faces.
  • To optimize robotic drawing paths for time efficiency, minimizing physical drawing duration while maintaining sketch quality.
  • To eliminate the need for manual annotations or facial landmark labeling in training.
  • To integrate a lightweight collaborative robot (UR5) with a custom marker holder for stable, pressure-consistent drawing on uneven surfaces.

Proposed method

  • Proposes AvatarGAN, a two-stream CycleGAN variant trained on unpaired real face and cartoon avatar images to generate high-likeness avatars without paired data.
  • Applies a line extraction algorithm to convert the generated cartoon avatar into a sketch representation suitable for robotic drawing.
  • Employs a Random-Key Genetic Algorithm (RKGA) with two-level local improvement heuristics (2-opt and Lin-Kernighan) to optimize the sequence of drawing path points.
  • Uses a uniform crossover strategy with a 0.7 probability of selecting from the first parent and a 0.5 chance of reversing the parent's tour before crossover.
  • Applies mutation by shuffling the decimal part of keys with 0.05 probability and flipping the integer part with 0.05 probability.
  • Integrates the system with a UR5 robotic arm and a spring-loaded marker holder to maintain consistent pressure on uneven whiteboard surfaces.

Experimental results

Research questions

  • RQ1Can a GAN-based style transfer method generate cartoon avatars with high likeness to real human faces without paired training data?
  • RQ2How effective is the proposed RKGA-based path optimization in reducing robotic drawing time compared to baseline methods?
  • RQ3Can the system achieve real-time, interactive drawing of personalized avatars using a collaborative robot in a public-facing setting?
  • RQ4To what extent does the integration of AvatarGAN and path optimization enhance the overall user experience in robotic drawing?
  • RQ5How does the system perform under varying complexity, such as multiple avatars in a single drawing task?

Key findings

  • AvatarGAN outperforms vanilla CycleGAN and CariGANs in preserving facial features, generating avatars with significantly better likeness to input faces.
  • The RKGA with 2-opt and Lin-Kernighan heuristics achieved a 17.34% average improvement in path fitness over the greedy baseline, reducing drawing time.
  • The system completed 20 integrated trials with an average drawing time of 43.2 seconds and a total preprocessing time of 9.9 seconds, enabling real-time interaction.
  • The path optimization method demonstrated consistent performance across five complex avatar groupings, each averaging 74 lines to draw.
  • The spring-loaded marker holder effectively compensated for z-axis errors, ensuring consistent pressure and stable line quality on uneven surfaces.
  • The system successfully generated aesthetically pleasing, line-art-style drawings from avatar sketches, enhancing visual appeal compared to pixel-shade replication methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.