我正在使用视觉API和C#从图像中提取文本,它工作正常,但是我想检测图像中具有最大字体大小的文本。 视觉API和C#怎么可能?
TextData = "";
ImageAnnotatorClient client = ImageAnnotatorClient.Create();
IReadOnlyList < EntityAnnotation > textAnnotations = client.DetectText(image);
foreach(EntityAnnotation text in textAnnotations) {
TextData += (" " + ($ "{text.Description}"));
}
textBox1.Text = TextData;