Author Topic: Hungarian recognition and TTS using Google  (Read 12626 times)

0 Members and 1 Guest are viewing this topic.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #75 on: June 05, 2020, 02:07:42 PM »
I think the absolute position 340,240 for the mouse click depends on the Monitor resulution - I have a 32" and use 680,240.
To bad that we can't use the RoboB to control the webplayer  :'(


Yes, it's just an example.  Hopefully it can work with minor adjustments but it will need to be modified.  For one thing it is all in English, not Hungarian!

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #76 on: June 05, 2020, 06:05:31 PM »
amazing, it works
Thanks a lot!

Now Im workign on the detailed setup, while Im learning more and more about the CV.
Thanks one more for your support..both of you!
« Last Edit: June 06, 2020, 03:09:16 AM by krysn95 »

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #77 on: June 06, 2020, 03:10:35 AM »
Guys, is it possible to use a prefix only in case of a command and not for the whole system?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #78 on: June 06, 2020, 08:07:29 AM »
Technically no, but it sounds like you just need to change your command and not use any prefix.

Maybe you should explain in more detail what you hope to accomplish.

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #79 on: June 06, 2020, 02:36:25 PM »
Im asked in conncetion ith the "The exact command is just the part of the recognized sentence" question
(what Im already asked on the firs page)But I just realized that the TCP Pattern part working  exactly like this, so this is solved:-)

Previously you also helped me in connection ith the command chain question:

Command #1--> "Switch the TV on"
Command #2--> "Turn the dinnig room ligh off"

My question is, How Can I launch this to command in one order?--> "Switch the TV on and turn the dinnig room ligh off"



your answer was:
Although you can theoretically accomplish this by using the regular expression filters to identify a connecting phrase such as "and" (see the video) it is important to note that any commands that already included that phrase will be broken.

Could you please give me a bit more explanition how can I solve this?

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #80 on: June 07, 2020, 05:22:12 AM »

Why make things complicated when they can be solved more easily?
I assume that your circuit example serves a certain purpose like watching TV - you can create a new command in VC which contains exactly these two actions. As execution phrase you could then use "watch TV" (or "Switch the TV on and turn the dinnig room ligh off").
We call this procedure -  a scene.
A VoxCommmando command can contain several actions that are executed one after the other, so it is not needed to call different commands in a row.
« Last Edit: June 07, 2020, 10:24:37 AM by Kalle »
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #81 on: June 08, 2020, 10:18:24 AM »
Why make things complicated when they can be solved more easily?
I assume that your circuit example serves a certain purpose like watching TV - you can create a new command in VC which contains exactly these two actions. As execution phrase you could then use "watch TV" (or "Switch the TV on and turn the dinnig room ligh off").
We call this procedure -  a scene.
A VoxCommmando command can contain several actions that are executed one after the other, so it is not needed to call different commands in a row.
+1

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #82 on: June 17, 2020, 07:21:26 PM »
Understood!

but here is another question:-)

As you know, in my system there is a central pc with a few indeedent mini pc stick what is cathing the orders with thier own microphones.

Sometimes more than on mic hear the command, and because of this, the main pc multiple the requested command (do 2x times)

My question is, how can I solve this?

Thanks!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #83 on: June 17, 2020, 09:59:27 PM »
It may not be ideal from a user point of view but the easiest solution would be to use a different prefix in each room.

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #84 on: June 18, 2020, 08:47:44 AM »
Hmm..any other solution?
Is it possible to dissable the exact command start, while it is already running?

Or put a "vc dont listen" command in the beginning of the command chain...or something like this?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #85 on: June 18, 2020, 08:53:41 AM »
Is it possible to dissable the exact command start, while it is already running?

Or put a "vc dont listen" command in the beginning of the command chain...or something like this?
I'm sorry but I really don't understand what you are saying.

I can't think of any obvious solutions that would not cause more problems than they solve.

Are you using multiple VoxCommando machines or do you have multiple web browsers connecting to a single VoxCommando machine?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #86 on: June 18, 2020, 09:40:00 AM »
If your voice is being recognized by two microphone in different rooms then the most obvious solution to me is to move the microphones farther apart, or lower the input volume of the microphones.

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #87 on: June 18, 2020, 10:27:34 AM »
It is hard to follow your problems.


So I guess only your main PC has VC installed and all the mini PC-Sticks working as a mic with Google - or?
Maybe then it is possible to create a logic in VC to never execute a command twice, but I think James is right and it creates other problems.
« Last Edit: June 19, 2020, 03:17:35 AM by Kalle »
***********  get excited and make things  **********

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #88 on: June 20, 2020, 09:15:30 AM »
Im using multiple web browsers connecting to a single VoxCommando machine.

The main point is to using multiple microphone for the better accuracy (each microphone have own pc stick and sending the recognized command throug the Chrome page to the VC running pc)

Sometimes more than one mic recognizing the command and sending to the VC running computer and because of this, the VC execute the command multiple.

The question is, how can I prevent this twice command execute?
Or how can I create a logic in VC to never execute a command twice?

Sorry for my english..hopefully now more understabable the question :)
« Last Edit: June 20, 2020, 03:54:44 PM by krysn95 »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #89 on: June 21, 2020, 10:56:48 AM »
Here are my suggestions.

1) Move the microphones farther away from each other, or lower the input volume (input level, gain) of the microphones

2) Use a different prefix in each room.

I don't think there is any other solution that makes sense.  Turning VC off will have no effect because commands coming from TCP connections execute no mater whether VC is on, off or in standby.

In theory I could modify the TCP plugin so that there is a delay after one command is accepted, where any other commands that arrive will be ignored for a period of time.  However, even if I make this modification for you, there is no guarantee that you will get the "good" command arriving first.  Both commands will probably be arriving at almost exactly the same time and you will be just as likely to have the text from the microphone that is hearing you less clearly arrive first, and the text from the microphone that you are closer to will be ignored.