Stay organized with collections
Save and categorize content based on your preferences.
Text Detection performs Optical Character Recognition (OCR) to detect
visible text from frames in a video, or video segments, and returns the
detected text along with information about the frame-level location and
timestamp in the video for that text.
Text Detection is particularly useful for media & entertainment use cases,
including, detecting and extracting cast lists at the end of shows and movies,
or detecting the presence of burnt-in subtitles.
Text detection is available for the languages
supported by the Cloud Vision API.
To detect visible text from a video or video segments, call the
annotate
method and specify
TEXT_DETECTION
in the features field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 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)."]]