/Ofoct-API

Unofficial API for ofoct.com in .NET (will be updated soon)

Primary LanguageC#

Ofoct-API

Unofficial API for Ofoct/AudioToText in .NET

Incomplete, it's for the audio-to-text tool only till now.
Can be used to solve audio captcha.

Website Tool Description

This is an online tool for recognition audio voice file (mp3, wav, ogg, wma) to text.

Supported audio file formats: mp3, wav, wma, ogg

Usage

var audioToText = new AudioToText();

First Way

// upload a file from your pc
var application = audioToText.UploadFile("application.ogg");

// convert the aduio file to text
var application_baidu = audioToText.Convert(application, AudioToText.Engine.Baidu);
var application_cmu = audioToText.Convert(application, AudioToText.Engine.CMU_Sphinx);

Second Way

// convert the audio file directly
var application = audioToText.Convert("application.ogg", AudioToText.Engine.Baidu);