Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Help required Design a front end for Julius Voice Recognition using Qt on a ARM device

Help required Design a front end for Julius Voice Recognition using Qt on a ARM device

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yravi
    wrote on last edited by
    #1

    Hi,

    Currently i am working on Voice Recognition project, successfully cross compiled julius speech lib and made run on arm board(friendlyARM mini2440) from terminal command.

    Now i am looking to develop a Qt frond end for Julius on ARM board. I want help regarding it.

                Using the below code i am trying to show the terminal output on text Browser and operate the recognition, But when i run the output binary on board  it is showing that "Qprocess has been terminated while it was running'" Error at the end and application is not working from there.
    
        PLEASE SUGGEST ME A WAY TO DESIGN A FRONT END OR HOW TO PROCESS THE TERMINAL OUTPUT IN A GUI WITHOUT ERRORS..Any ideas can be forwarded to yravi1484@gmail.com
    

    QString LinuxTexttoSend = "julius -input oss -C /home/julius/julius-3.5.2-quickstart-linux/julian.jconf";

    QProcess process;
    // Merge Channels so the output of binaries can be seen
    process.setProcessChannelMode(QProcess::MergedChannels);
    // Start whatever command is in LinuxTexttoSend
    process.start(LinuxTexttoSend, QIODevice::ReadWrite);
    // Run the command and loop the output into a QByteArray
    QByteArray data;
    
    while(process.waitForReadyRead())
    data.append(process.readAll());
    ui->textBrowser_linuxshell->setText(data.data());
    
    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      yravi
      wrote on last edited by
      #2

      QString LinuxTexttoSend = “julius -input oss -C /home/julius/julius-3.5.2-quickstart-linux/julian.jconf”;

      QProcess process;

      process.setProcessChannelMode(QProcess::MergedChannels);

      LinuxTexttoSend process.start(LinuxTexttoSend, QIODevice::ReadWrite);

      QByteArray data;

      while(process.waitForReadyRead())

      data.append(process.readAll());

      ui->textBrowser_linuxshell->setText(data.data());

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yravi
        wrote on last edited by
        #3

        Edited the code for better view..sorry for reposting...please any suggestion will be help me alot as working work long time

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved