robotology / assistive-rehab

Assistive and Rehabilitative Robotics
https://robotology.github.io/assistive-rehab/doc/mkdocs/site
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

Refine and test speech failure detection on R1SN003 #308

Closed vvasco closed 2 years ago

vvasco commented 2 years ago

The branch feat/etapas-speech includes the current implementation of eventCollector which continuously monitors the outputs of googleSpeech and googleSpeechProcessing modules, storing the data to evaluate if any errors occurred with the following structure:


{
    "Trial" : 
     [         
         {
             "Number": 0,        
             "Speech" : 
             {
                 "error-messages" : 
                 [ 
                     {
                          "google-speech": "e1",
                          "google-speech-process": "e1process"
                     },
                     {
                           "google-speech": "e2",
                           "google-speech-process": "e2process"
                      }
                 ]
                 },
             }
       ]
 }

We need to: