OcrResult.Lines Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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.