Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Text Detection esegue il riconoscimento ottico dei caratteri (OCR) per rilevare
il testo visibile dai fotogrammi di un video o dai segmenti video e restituisce
il testo rilevato insieme alle informazioni sulla posizione a livello di fotogramma e
sul timestamp nel video per quel testo.
Il rilevamento del testo è particolarmente utile per i casi d'uso di media e intrattenimento,
tra cui il rilevamento e l'estrazione degli elenchi del cast alla fine di programmi e film
o il rilevamento della presenza di sottotitoli codificati.
Il rilevamento del testo è disponibile per le lingue
supportate dall'API Cloud Vision.
Per rilevare il testo visibile da un video o da segmenti di video, chiama il metodo
annotate e specifica
TEXT_DETECTION
nel campo features.
[[["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-09-04 UTC."],[],[],null,["# Text Detection\n\n*Text Detection* performs Optical Character Recognition (OCR) to detect\nvisible text from frames in a video, or video segments, and returns the\ndetected text along with information about the frame-level location and\ntimestamp in the video for that text.\n\nText Detection is particularly useful for media \\& entertainment use cases,\nincluding, detecting and extracting cast lists at the end of shows and movies,\nor detecting the presence of burnt-in subtitles.\n\nText detection is available for the [languages](/vision/docs/languages)\nsupported by the Cloud Vision API.\n\nTo detect visible text from a video or video segments, call the\n[`annotate`](/video-intelligence/docs/reference/rest/v1p2beta1/videos/annotate)\nmethod and specify\n[`TEXT_DETECTION`](/video-intelligence/docs/reference/rest/v1p2beta1/videos#Feature)\nin the `features` field.\n\nCheck out the [Video Intelligence API visualizer](https://zackakil.github.io/video-intelligence-api-visualiser/#Text%20Detection) to see this feature in action.\n\nFor examples of requesting text detection and getting the annotated results,\nsee [Text Detection](/video-intelligence/docs/text-detection)."]]