예제 #1
0
 public void OCRImage()
 {
     if (IsItemSelected && SelectedItem.IsImageFile)
     {
         TaskHelpers.OCRImage(SelectedItem.Info.FilePath);
     }
 }
예제 #2
0
 public async Task OCRImage()
 {
     if (IsItemSelected && SelectedItem.IsImageFile)
     {
         await TaskHelpers.OCRImage(SelectedItem.Info.FilePath);
     }
 }
예제 #3
0
 private void DoOCR()
 {
     if (Data != null && Info.DataType == EDataType.Image)
     {
         TaskHelpers.OCRImage(Data, Info.FileName);
     }
 }
예제 #4
0
파일: WorkerTask.cs 프로젝트: yy520a/ShareX
 private void DoOCR()
 {
     if (Image != null && Info.DataType == EDataType.Image)
     {
         _ = TaskHelpers.OCRImage(Image, Info.TaskSettings);
     }
 }
예제 #5
0
 private void DoOCR()
 {
     if (Image != null && Info.DataType == EDataType.Image)
     {
         TaskHelpers.OCRImage(Image, Info.TaskSettings).GetAwaiter().GetResult();
     }
 }
예제 #6
0
 public void OCRImage()
 {
     if (IsItemSelected && SelectedItem.IsImageFile)
     {
         TaskHelpers.OCRImage(SelectedItem.Info.FilePath).RunSynchronously();
     }
 }
예제 #7
0
 private void DoOCR()
 {
     if (Data != null && Info.DataType == EDataType.Image)
     {
         TaskHelpers.OCRImage(Data, Info.FileName, Info.FilePath, Info.TaskSettings).RunSynchronously();
     }
 }