Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.58 KB

README.md

File metadata and controls

57 lines (38 loc) · 1.58 KB

###########################################################################

Hand writing to G-code

###########################################################################

REQUIREMENTS:

Python 3
opencv-python
RasterCarve
imutils
numpy
scipy

Introduction:

This small tool allows you to convert an image into gcode.
For an optimal conversion use a black writing on a sheet of paper, and the photo must have a good brightness and without borders.

GETTING STARTED:

  1. Go to the project folder and run the following command:
    pip3 install -r requirements.txt

  2. Run:
    python imageToGcode.py test/very-bad-photo.jpg

You can quickly visualize the gcode file thanks to free online services such as:
For the stl: https://openjscad.org


This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.