Subtitle rendering method and device for virtual reality space, equipment and medium
AssigneeBeijing Zitiao Network Technology Co., Ltd.
InventorYepeng Chen
Life of this patent
Estimating the term…
Abstract
The embodiment of the disclosure relates to a caption rendering method and device for a virtual reality space, equipment and a medium, and the method includes the steps: separating caption content and picture content on a currently played virtual reality video frame, and mapping and rendering the picture content to a virtual reality panoramic space; determining a target space position in the virtual reality panoramic space according to the current sight direction of the user; and rendering the subtitle content at the target spatial position to generate spatial subtitles.
Claims18
A method for caption rendering in a virtual reality space, comprising:
- separating a caption content and a picture content on a currently displayed virtual reality (VR) video frame, and mapping and rendering the picture content to a VR panoramic space;
- determining a target spatial position in the VR panoramic space according to a user's current LOS (line-of-sight) direction, wherein the user's current LOS direction is a ray starting from the user;
- and
- rendering the caption content at the target spatial position to generate a spatial caption,
- wherein determining a target spatial position in the VR panoramic space according to a user's current LOS direction comprises:
- determining an initial position of a VR device worn by the user in the VR panoramic space as a center point position of the VR panoramic space;
- still taking the initial position as a center point position of the VR panoramic space in response to the VR device being moved;
- obtaining a preset radius distance;
- and
- starting from the center point position, taking a position extending to the preset radius distance in the user's current LOS direction as the target spatial position.
An electronic device, comprising:
- a processor;
- a memory for storing processor executable instructions;
- wherein the processor is used to read the executable instructions from the memory and execute the instructions to implement the following steps of:
- separating a caption content and a picture content on a currently displayed virtual reality (VR) video frame, and mapping and rendering the picture content to a VR panoramic space;
- determining a target spatial position in the VR panoramic space according to a user's current LOS (line-of-sight) direction, wherein the user's current LOS direction is a ray starting from the user;
- and
- rendering the caption content at the target spatial position to generate a spatial caption,
- wherein determining a target spatial position in the VR panoramic space according to a user's current LOS direction comprises:
- determining an initial position of a VR device worn by the user in the VR panoramic space as a center point position of the VR panoramic space;
- still taking the initial position as a center point position of the VR panoramic space in response to the VR device being moved;
- obtaining a preset radius distance;
- and
- starting from the center point position, taking a position extending to the preset radius distance in the user's current LOS direction as the target spatial position.
A non-transitory computer-readable storage medium on which a computer program is stored, wherein the computer program is used to perform the following steps of:
- separating a caption content and a picture content on a currently displayed virtual reality (VR) video frame, and mapping and rendering the picture content to a VR panoramic space;
- determining a target spatial position in the VR panoramic space according to a user's current LOS (line-of-sight) direction, wherein the user's current LOS direction is a ray starting from the user;
- and
- rendering the caption content at the target spatial position to generate a spatial caption,
- wherein determining a target spatial position in the VR panoramic space according to a user's current LOS direction comprises:
- determining an initial position of a VR device worn by the user in the VR panoramic space as a center point position of the VR panoramic space;
- still taking the initial position as a center point position of the VR panoramic space in response to the VR device being moved;
- obtaining a preset radius distance;
- and
- starting from the center point position, taking a position extending to the preset radius distance in the user's current LOS direction as the target spatial position.
Dependencies are inferred from the claim text.