Contour Drawing Code for "Incorporating Shape Dependent Power Law in Motion Planning for Drawing Robots"
This repository contains the Python code used to generate contours from input images as described in the article:
"Incorporating shape dependent power law in motion planning for drawing robots."
This code represents a key step in the pipeline, where contours are drawn for each input image. The process begins with an input image file, which is processed by this Python script to extract contours based on shape-dependent characteristics. The resulting contour data is then ready to be used as input for a robot motion planning system implemented in MATLAB. Also, PyInstaller was used to convert the Python scripts into executable files.
Watch the demo of the process here
The contour drawing process is inspired by the method described in the paper:
Photo-Sketching: Inferring Contour Drawings from Images https://arxiv.org/abs/1901.00542
If you use this code or the related data for your research, please cite our paper:
Majid Abedinzadeh Shahri, Nematollah Saeidi, Vahid Hajipour,
Incorporating shape dependent power law in motion planning for drawing robots,
Robotics and Autonomous Systems
Volume 182
2024,
104801,
ISSN 0921-8890,
https://doi.org/10.1016/j.robot.2024.104801.
(https://www.sciencedirect.com/science/article/pii/S0921889024001854)