Bagikan melalui


OcrResult.Lines Properti

Definisi

Mendapatkan koleksi objek OcrLine yang mewakili baris teks yang terdeteksi dalam gambar dengan metode RecognizeAsync .

public:
 property IVectorView<OcrLine ^> ^ Lines { IVectorView<OcrLine ^> ^ get(); };
IVectorView<OcrLine> Lines();
public IReadOnlyList<OcrLine> Lines { get; }
var iVectorView = ocrResult.lines;
Public ReadOnly Property Lines As IReadOnlyList(Of OcrLine)

Nilai Properti

Kumpulan objek OcrLine yang mewakili baris teks yang terdeteksi dalam gambar dengan metode RecognizeAsync .

Keterangan

Saat Anda memanggil metode RecognizeAsync dari kelas OcrEngine , metode mengembalikan objek OcrResult . OcrResult berisi kumpulan objek OcrLine, yang Anda akses melalui properti BarisOcrResult. Setiap objek OcrLine berisi kumpulan objek OcrWord , yang Anda akses melalui properti Words dari setiap OcrLine.

Berlaku untuk