Voice Recognition in PHP?

29,748

PHP doesn't have this functionality built in but there are APIs available for this Sphinx is one.

Share:
29,748
I'll-Be-Back
Author by

I'll-Be-Back

Updated on July 05, 2022

Comments

  • I'll-Be-Back
    I'll-Be-Back almost 2 years

    I am looking for Voice Recognition in PHP.

    I have a lot of wav files (10-15 seconds) and I would like Voice Recognition to recognise 1 or 2 words from each wav file and then flag it to database or csv.

    All the files have the same voice and accent (same person lol)

    Example pseudocode:

    $voice = new play('file.wav');
    $result = $voice->recognise("Good Morning");
    if ($result) { 
      echo "Matched Good Morning"; 
      //flag to database or csv
     } else { 
      echo "No match found";
     }
    

    Which PHP Voice Recognition library can do this?