Java 谷歌OCR边界多边形
嗨,我很难理解谷歌云OCR系统中的边界多边形是什么,我知道它是检测到的文本周围的一个框。大概是Java 谷歌OCR边界多边形,java,google-cloud-platform,ocr,google-cloud-vision,Java,Google Cloud Platform,Ocr,Google Cloud Vision,嗨,我很难理解谷歌云OCR系统中的边界多边形是什么,我知道它是检测到的文本周围的一个框。大概是 *description: "The" bounding_poly { vertices { x: 204 y: 132 } vertices { x: 267 y: 135 } vertices { x: 265 y: 171 } vertices { x: 202 y: 168
*description: "The"
bounding_poly {
vertices {
x: 204
y: 132
}
vertices {
x: 267
y: 135
}
vertices {
x: 265
y: 171
}
vertices {
x: 202
y: 168
}
}
description: "fresh"
bounding_poly {
vertices {
x: 278
y: 140
}
vertices {
x: 349
y: 144
}
vertices {
x: 347
y: 185
}
vertices {
x: 276
y: 181
}*
x和y坐标是每个方框的角,在java中,如何检测文本是否在同一行上。他们有图书馆来做这件事
谢谢。我相信您可以参考此堆栈,从方法内部接近文本对齐,并获得带有页面、块等参数的
fulltextnotation
结构化响应,然后进行比较。这不是一种兴趣吗?我相信您可以参考这个堆栈,从方法内部接近文本对齐方式,并获得带有页面、块等参数的fulltextnotation
结构化响应,然后进行比较。这不是一种兴趣吗?