Google cloud platform 禁用手写文本检测

Google cloud platform 禁用手写文本检测,google-cloud-platform,Google Cloud Platform,我正在使用Google.Cloud.Vision.V1来进行OCR。 在调用“ImageAnnotatorClient”类中的“DetectDocumentText”方法时,我需要在方法中禁用手写文本检测。 我只想执行OCR而不是ICR 这是我正在使用的代码段: FileInfo fi = new FileInfo(imageFile); var image = Image.FromFile(fi.FullName); var client = ImageAnnotatorClient.Crea

我正在使用Google.Cloud.Vision.V1来进行OCR。 在调用“
ImageAnnotatorClient
”类中的“
DetectDocumentText
”方法时,我需要在方法中禁用手写文本检测。 我只想执行OCR而不是ICR

这是我正在使用的代码段:

FileInfo fi = new FileInfo(imageFile);
var image = Image.FromFile(fi.FullName);
var client = ImageAnnotatorClient.Create();
var response = client.DetectDocumentText(image);

您能否指定您希望在ICR中检测的内容?你是在寻找字体还是训练一个模型来识别特定的笔迹?我只想做OCR。不应对文件执行ICR。结果应仅包括OCR结果。