Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
A deteção de texto realiza o reconhecimento ótico de carateres (OCR) para detetar texto visível em frames de um vídeo ou segmentos de vídeo e devolve o texto detetado juntamente com informações sobre a localização ao nível do frame e a indicação de tempo no vídeo para esse texto.
A deteção de texto é particularmente útil para exemplos de utilização de multimédia e entretenimento, incluindo a deteção e a extração de listas de elenco no final de programas e filmes, ou a deteção da presença de legendas incorporadas.
A deteção de texto está disponível para os idiomas
suportados pela Cloud Vision API.
Para detetar texto visível de um vídeo ou segmentos de vídeo, chame o método
annotate
e especifique
TEXT_DETECTION
no campo features.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-21 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)."]]