Elenco delle lingue da utilizzare per TEXT_DETECTION. Nella maggior parte dei casi, un valore vuoto produce i risultati migliori, in quanto consente il rilevamento automatico della lingua. Per le lingue basate sull'alfabeto latino, non è necessario impostare languageHints. In rari casi, quando la lingua del testo nell'immagine è nota, l'impostazione di un suggerimento aiuterà a ottenere risultati migliori (anche se sarà un ostacolo significativo se il suggerimento è errato). Il rilevamento del testo restituisce un errore se una o più delle lingue specificate non sono tra le lingue supportate.
Per impostazione predefinita, l'API Cloud Vision include solo il punteggio di confidenza per il risultato DOCUMENT_TEXT_DETECTION. Imposta il flag su true per includere anche il punteggio di confidenza per TEXT_DETECTION.
advancedOcrOptions[]
string
Un elenco di opzioni OCR avanzate per perfezionare il comportamento dell'OCR.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-16 UTC."],[[["`languageHints` is a list of strings used to specify languages for text detection, but leaving it empty usually yields the best results due to automatic language detection, and it is not needed for Latin-based languages."],["`textDetectionParams` is an object that contains parameters to adjust how text and document text are detected within the content."],["`enableTextDetectionConfidenceScore` is a boolean flag that, when set to true, includes confidence scores for TEXT_DETECTION results, which are only included for DOCUMENT_TEXT_DETECTION results by default."],["`advancedOcrOptions` is a list of string values used to fine-tune the OCR behavior."]]],[]]