Painting-stroke-generation-for-robot-arm-or-CNC-machine
Painting-stroke-generation-for-robot-arm-or-CNC-machine
Required Products
MATLAB R2022a or later
Image Processing Toolbox
Computer Vision System Toolbox
Statistics and Machine Learning Toolbox
So the code take in a picture, make strokes, sort the strokes by color (because we don't want wash the pen too often), display number of strokes for each color, add the add water and color procedure of a few strokes interval.
After I load all strokes for color01, Roboguide became not responding (guess too much strokes), so I just used first 300 lines and the result can be seen https://www.youtube.com/watch?v=4dgLnZiYgOo
Output in format of: x,y,z,yaw,pitch,roll
One output file I got has 200k lines.
Possible improvements: *Reduce stroke number no overlapping strokes *Generate no overlapping small strokes on the image, the color is by the base color
To import the output to Roboguide, see https://www.youtube.com/watch?v=k4gOBWY9oB4
% parts code from Painterly Rendering with Curved Brush Strokes of Multiple Sizes %https://github.com/fionazeng3/Painterly-Rendering-with-Curved-Brush-Strokes-of-Multiple-Sizes
Cite As
Yushuo (2024). Painting-stroke-generation-for-robot-arm-or-CNC-machine (https://github.com/Evrid/Painting-stroke-generation-for-robot-arm-or-CNC-machine), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |
|