Robot arm Portrait Drawing

版本 1.0.1 (618.6 KB) 作者: Yushuo
We have a picture or drawing and we want draw it with robot arm, it will export a CSV file contain strokes (X,Y,Z,Yaw,pitch,roll)
21.0 次下载
更新时间 2023/2/7

You can watch the result at https://www.youtube.com/watch?v=KDQSH_u8n48

You can see the project detail at: https://wordpress.com/post/evrid.wordpress.com/24

Required Products

  • MATLAB R2022a or later
  • Image Processing Toolbox
  • Computer Vision System Toolbox
  • Statistics and Machine Learning Toolbox
  • Robotics System Toolbox

%First download the folder, put the image we want process inside there, then create a test.csv file (by create test.txt first then change test.txt to test.csv), then click open calculateFinalUpload.m then we enter the origion (by go to the center of the paper then write down the x and y value) and ScaleValue and LiftPenHeight we want, then it ask us to ask us to select a file, we change file type to ALL FILES and select a image located within the same folder of the MATLAB program, then the output will go to test.csv

For Fanuc robot: then open HandlingPro, right click on Targets, "import point data", select the csv we have then right click "Target Groups", click "add target group", select the one we created then right click "edit target group" then we import all targets, in "Motion Line Data", deselect both approach and retreat, then click generate TP file, then export the TP to our drive then load to the robot arm.

Inspired by: Using Targets in Roboguide to Visualize Path Planning of a FANUC Robot https://sites.asee.org/edgd/wp-content/uploads/sites/22/2017/12/Part25-Li.pdf Parts code from: Tohru Kikawada (2022). Portrait Drawing using Computer Vision and Robot Manipulator (https://www.mathworks.com/matlabcentral/fileexchange/67926-portrait-drawing-using-computer-vision-and-robot-manipulator), MATLAB Central File Exchange. Retrieved June 20, 2022.

you can see the steps at https://www.youtube.com/watch?v=k4gOBWY9oB4

引用格式

Yushuo (2024). Robot arm Portrait Drawing (https://github.com/Evrid/Portrait-Drawing-with-Robot-arm-Coordinate-Conversion-using-Computer-Vision), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.1

changed links

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库