public void OCRImage() { if (IsItemSelected && SelectedItem.IsImageFile) { TaskHelpers.OCRImage(SelectedItem.Info.FilePath); } }
public async Task OCRImage() { if (IsItemSelected && SelectedItem.IsImageFile) { await TaskHelpers.OCRImage(SelectedItem.Info.FilePath); } }
private void DoOCR() { if (Data != null && Info.DataType == EDataType.Image) { TaskHelpers.OCRImage(Data, Info.FileName); } }
private void DoOCR() { if (Image != null && Info.DataType == EDataType.Image) { _ = TaskHelpers.OCRImage(Image, Info.TaskSettings); } }
private void DoOCR() { if (Image != null && Info.DataType == EDataType.Image) { TaskHelpers.OCRImage(Image, Info.TaskSettings).GetAwaiter().GetResult(); } }
public void OCRImage() { if (IsItemSelected && SelectedItem.IsImageFile) { TaskHelpers.OCRImage(SelectedItem.Info.FilePath).RunSynchronously(); } }
private void DoOCR() { if (Data != null && Info.DataType == EDataType.Image) { TaskHelpers.OCRImage(Data, Info.FileName, Info.FilePath, Info.TaskSettings).RunSynchronously(); } }