androiddev2 hours ago

RevoDraw - Draw custom images on Revolut card designs using ADB and OpenCV Body: **What My Project Does** RevoDraw is a Python tool that lets you draw custom images on Revolut's card customization screen (the freeform drawing mode). It provides a web UI where you can: - Upload any image

reddit.com

Monday, February 2, 2026

2 min read
RevoDraw - Draw custom images on Revolut card designs using ADB and OpenCV Body: **What My Project Does** RevoDraw is a Python tool that lets you draw custom images on Revolut's card customization screen (the freeform drawing mode). It provides a web UI where you can: - Upload any image
Share:

https://i.redd.it/iphvqnql26hg1.gif What My Project Does RevoDraw is a Python tool that lets you draw custom images on Revolut's card customization screen (the freeform drawing mode). It provides a web UI where you can: Upload any image and convert it to drawable paths using edge detection (Cann...

RevoDraw - Draw custom images on Revolut card designs using ADB and OpenCV Body: **What My Project Does** RevoDraw is a Python tool that lets you draw custom images on Revolut's card customization screen (the freeform drawing mode). It provides a web UI where you can: - Upload any image

https://i.redd.it/iphvqnql26hg1.gif

What My Project Does

RevoDraw is a Python tool that lets you draw custom images on Revolut's card customization screen (the freeform drawing mode). It provides a web UI where you can:

  • Upload any image and convert it to drawable paths using edge detection (Canny, contours, adaptive thresholding)
  • Automatically detect the drawing boundaries from a phone screenshot using OpenCV
  • Preview, position, scale, rotate, and erase parts of your image
  • Execute the drawing on your phone via ADB swipe commands

The tool captures a screenshot via ADB, uses Hough line transforms to detect the dotted-line drawing boundaries (which form an L-shape with two exclusion zones), then converts your image to paths and sends adb shell input swipe commands to trace them.

Target Audience

This is a fun side project / toy for Revolut users who want custom card designs without drawing by hand. It's also a decent example of practical OpenCV usage (edge detection, line detection, contour extraction) combined with ADB automation.

Comparison

I couldn't find any existing tools that do this. The alternatives are:

  • Drawing by hand on your phone (tedious, imprecise)
  • Using Revolut's preset designs (limited options)

RevoDraw automates the tedious part while giving you full control over what gets drawn.

Tech stack: Flask, OpenCV, NumPy, ADB

GitHub: https://github.com/K53N0/revodraw

This started as a quick hack to draw something nice on my card without wasting the opportunity on my bad handwriting, then I went way overboard. Happy to answer questions about the OpenCV pipeline or ADB automation!

submitted by /u/LeoGFN
[link] [comments]

Read the full article

Continue reading on reddit.com

Read Original

More from reddit.com