Selective mirror enhanced video stream
AssigneeInternational Business Machines Corporation
InventorsMohamed Zouhaier Ramadhane, Juan Manuel Avalos Vega, Daniela Ofelia Rojas Barrientos, Cesar Augusto Rodriguez Bravo
Life of this patent
Estimating the term…
Abstract
An approach for enhancing a video stream. The approach processes a video stream and identifies frames comprising text. The approach marks text extraction locations and extracts the text from the frames. The approach determines if a mirroring effect should be applied to the text and applies if applicable, creating enhanced text. The approach inserts the enhanced text and smooths the edges of the inserted enhanced text. The approach merges the frames with the enhanced text into the video stream, creating an enhanced video stream and sends the enhanced video stream to requesting users.
Claims20
A computer-implemented method for enhancing a video stream, the computer-implemented method comprising:
- processing, by one or more processors, a video stream;
- identifying, by the one or more processors, one or more frames associated with the video stream wherein the one or more frames comprise text;
- marking, by the one or more processors, a text extraction location in the one or more frames, wherein index marks are pixel locations associated with a portion or all of the corners of a bounding polygon of the text extraction location;
- extracting, by the one or more processors, the text from the one or more frames;
- determining, by the one or more processors, if a portion of the text requires a mirroring effect;
- responsive to the portion of the text requiring the mirroring effect, applying, by the one or more processors, a mirroring effect to the portion of the text to create enhanced text;
- inserting, by the one or more processors, the enhanced text into the one or more frames at the text extraction location;
- smoothing, by the one or more processors, edges of the enhanced text in relation to the text extraction location;
- merging, by the one or more processors, the enhanced text into the video stream to create an enhanced video stream;
- and
- sending, by the one or more processors, the enhanced video stream to a requesting user.
A computer program product for enhancing a video stream, the computer program product comprising:
- one or more non-transitory computer readable storage media and program instructions stored on the one or more non-transitory computer readable storage media, the program instructions comprising:
- program instructions to process a video stream;
- program instructions to identify one or more frames associated with the video stream wherein the one or more frames comprise text;
- program instructions to mark a text extraction location in the one or more frames, wherein index marks are pixel locations associated with a portion or all of the corners of a bounding polygon of the text extraction location;
- program instructions to extract the text from the one or more frames;
- program instructions to determine if a portion of the text requires a mirroring effect;
- responsive to the portion of the text requiring the mirroring effect, program instructions to apply a mirroring effect to the portion of the text to create enhanced text;
- program instructions to insert the enhanced text into the one or more frames at the text extraction location;
- program instructions to smooth edges of the enhanced text in relation to the text extraction location;
- program instructions to merge the enhanced text into the video stream to create an enhanced video stream;
- and
- program instructions to send the enhanced video stream to a requesting user.
A computer system for improving endpoint security, the computer system comprising:
- one or more computer processors;
- one or more non-transitory computer readable storage media;
- and
- program instructions stored on the one or more non-transitory computer readable storage media, the program instructions comprising:
- program instructions to process a video stream;
- program instructions to identify one or more frames associated with the video stream wherein the one or more frames comprise text;
- program instructions to mark a text extraction location in the one or more frames, wherein index marks are pixel locations associated with a portion or all of the corners of a bounding polygon of the text extraction location;
- program instructions to extract the text from the one or more frames;
- program instructions to determine if a portion of the text requires a mirroring effect;
- responsive to the portion of the text requiring the mirroring effect, program instructions to apply a mirroring effect to the portion of the text to create enhanced text;
- program instructions to insert the enhanced text into the one or more frames at the text extraction location;
- program instructions to smooth edges of the enhanced text in relation to the text extraction location;
- program instructions to merge the enhanced text into the video stream to create an enhanced video stream;
- and
- program instructions to send the enhanced video stream to a requesting user.
Dependencies are inferred from the claim text.