I basically wanna tell Google Vision to read from top to bottom, left to right. In this example you can see the part on top being recognized as last instead of first. I guess, i could painfully manually go through all the vertices and check coords, but I'd like to avoid that if possible. I've been searching in the docs, but couldn't find anything and/or simply don't know enough about OCR in general.
const r = await vs.batchAnnotateImages({ requests: [
{
features: [{type: 'TEXT_DETECTION'}],
image: { content: base64String },
imageContext: {
languageHints: ["ja"]
},
}]})