GithubHelp home page GithubHelp logo

hackerminds / dictowriter Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 618 KB

This project is about building a mechanical prototype of a Speech to Text Plotter able to write on the given solid surface. Also trying to build a speech synthesizer as the feed back system.

Python 100.00%
gcode-interpreter python3 speech-synthesizer speech-recognition text-plotter dicto-writter speech-to-text cnc-plotter

dictowriter's Introduction

DICTO-WRITTER

This project is about building a mechanical prototype of a Speech to Text Plotter able to write on the given solid surface. Also trying to build a speech synthesizer as the feed back system.

Install Library

  1. SpeechRecognition 3.8.1

    sudo pip3 install SpeechRecognition
    

    Library for performing speech recognition, with support for several engines and APIs, online and offline. Also check for other requirments at https://pypi.org/project/SpeechRecognition/

  2. Install Pyaudio

    sudo apt-get install portaudio19-dev 
    sudo pip install pyaudio
    
    

    If the problem occur during installation pyaudio in raspiberry Pi try this, If your system is not "broken", you may be successful with this sequence:

    1. sudo apt-get update 
    2. sudo apt-get upgrade 
    3. sudo apt-get install portaudio19-dev 
    4. sudo pip install pyaudio ```
    
    In general: 1. updates the package list on your system, and 2.
    upgrades all installed packages. These two steps should usually be
    done before you install any new packages.
    
    If your system still complains of broken packages and such, try this
    sequence:
    
    
    1. sudo apt-get update
    2. sudo apt-get upgrade
    3. sudo apt-get dist-upgrade
    4. sudo apt-get install portaudio19-dev
    5. sudo pip install pyaudio
    
    Briefly, the difference between step 2 and step 3 is this:
    
    `sudo apt-get dist-upgrade`  will add & remove packages if necessary,
    and attempts to deal "intelligently" with changed dependencies.
    
    `sudo apt-get upgrade`  under no circumstances are currently installed
    packages removed, or packages not already installed retrieved and installed. This may be considered "safer" than  `dist-upgrade`, but not as effective in all cases.
    
    [1]reference : [https://raspberrypi.stackexchange.com](https://raspberrypi.stackexchange.com/questions/84666/problem-on-installing-pyaudio-on-raspberry-pi)
    
  3. Python Serial Port Extension for Win32, OSX, Linux

    sudo pip3 install pyserial
    

TEXT TO CNC CODE(GCODE)

To use a library that converts text to gcode FIXED : HF2GCODE IS BEST SOLUTION (CONFIRMED )

Installation

unzip hf.zip
cd hf2gcode-master/src
make # COMPILE THE C SOURCE CODE
mv hf2gcode-master h2g # RENAME FOLDER

To test installed sucessfully

cd h2g/src
./hf2gcode -font "rowmans" -y 0 -x 0 -o text_to_write.gcd --min-gcode "Welcome to DictoWriter!"

SOURCE CODE : https://github.com/Andy1978/hf2gcode

Go to the testing brach for more detail

https://github.com/hackerminds/DICTO-WRITTER/tree/testing_branch https://badgen.net/github/last-commit/hackerminds/DICTO-WRITTER/

dictowriter's People

Contributors

shrivatsabhat avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dictowriter's Issues

GUI assets are missing.

Traceback (most recent call last):
  File "dictoWriterGUI.py", line 211, in <module>
    root.iconbitmap(icon_path)
  File "/usr/lib/python3.6/tkinter/__init__.py", line 1871, in wm_iconbitmap
    return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
_tkinter.TclError: bitmap "E:\Visual_Studio_Code\python\GUI\Dicto-Writter_small.ico" not defined

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.