1. A computer-implemented method comprising: identifying, by a machine having a memory and at least one processor, a portion of video content as having text, the identifying comprising: converting a frame of the video content to grayscale; performing edge detection on the frame; performing dilation on the frame to connect vertical edges within the frame; binarizing the frame; performing a connected component analysis on the frame to detect connected components within the frame; merging the connected components into a plurality of text lines; refining the plurality of text lines using horizontal and vertical projections; filtering out at least one of the plurality of text lines based on a size of the at least one of the plurality of text lines to form a filtered set of text lines; binarizing the filtered set of text lines; and filtering out at least one of the text lines from the binarized filtered set of text lines based on at least one of a shape of components in the at least one of the text lines and a position of components in the at least one of the text lines to form the portion of the video content having text; identifying text within the identified portion of the video content; and determining a category for the identified text.
1. A computer-implemented method comprising: identifying, by a machine having a memory and at least one processor, a portion of video content as having text, the identifying comprising: converting a frame of the video content to grayscale; performing edge detection on the frame; performing dilation on the frame to connect vertical edges within the frame; binarizing the frame; performing a connected component analysis on the frame to detect connected components within the frame; merging the connected components into a plurality of text lines; refining the plurality of text lines using horizontal and vertical projections; filtering out at least one of the plurality of text lines based on a size of the at least one of the plurality of text lines to form a filtered set of text lines; binarizing the filtered set of text lines; and filtering out at least one of the text lines from the binarized filtered set of text lines based on at least one of a shape of components in the at least one of the text lines and a position of components in the at least one of the text lines to form the portion of the video content having text; identifying text within the identified portion of the video content; and determining a category for the identified text. 11. The method of claim 1 , wherein identifying text within the identified portion of the video content comprises performing optical character recognition on the identified portion of the video content.