Discussions

Ask a Question
Back to All

JPG to TXT , language

Hello,

I'm using:

// Code snippet is using the ConvertAPI C# Client: https://github.com/ConvertAPI/convertapi-dotnet

var convertApi = new ConvertApi("secret_uYgxv12rvPvv08sT");
var convert = await convertApi.ConvertAsync("jpg", "txt",
new ConvertApiFileParam("File", @"C:\path\to\my_file.jpg")
);
await convert.SaveFilesAsync(@"C:\converted-files");

To convert a 4.5MB jpg file and is taking


How to set the OcrLanguage in advance when the text could come in different languages?


Thank You.