Subtitle positioning based on saliency detection

Through artificial intelligence-based saliency detection and time adaptability solutions, video subtitles are automatically positioned to avoid covering areas of interest, solving the subtitle coverage problem in the existing technology and improving user experience.

CN118632084APending Publication Date: 2024-09-10INTEL CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311774122.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-06-30
Filing Date
2023-12-21
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing technology has difficulty in automatically positioning video subtitles to avoid covering areas of interest on the screen, resulting in an affected user viewing experience, especially in television and online videos.

Method used

An artificial intelligence-based saliency detection method is adopted to automatically select the position of the subtitles by dividing the video frame into areas of interest and non-interest, and adjust the subtitle positions under a temporal adaptability scheme to avoid overlapping with important areas.

Benefits of technology

It effectively reduces the possibility of subtitles covering information of interest, improves users' video viewing experience, and enables automatic subtitle positioning without user manual input. It is suitable for online videos, live broadcasts and TV broadcasts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632084A_ABST
    Figure CN118632084A_ABST
Patent Text Reader

Abstract

The invention discloses subtitle positioning based on saliency detection. A system includes a system for analyzing a frame of a video and identifying one or more border regions in the frame corresponding to a region of interest; selecting a location of a text boundary region in the frame that does not overlap with the one or more boundary regions, where the text boundary region in the frame is associated with the text; and causing the text to be displayed in the text boundary area corresponding to the selected position.
Need to check novelty before this filing date? Find Prior Art

Description

Related Applications

[0001] This application claims the benefit of priority to Patent Cooperation Treaty (PCT) application PCT application number PCT / CN2023 / 079885 filed on March 6, 2023. The entire contents of this application are incorporated by reference. Background Art

[0002] Video subtitles or video captions (e.g., hidden captions) include the transcription of spoken words and sounds in multimedia content to text. Video subtitles or video captions can be displayed with the video as at least part of a television, when playing a video clip on a personal computer (PC), or browsing a video website. The original video frame can be synthesized with the video subtitles and then displayed on the screen. The positioning of the subtitles on the screen may affect the user's video viewing experience.

[0003] Some online video sites allow manual adjustment of the position of subtitles on the screen. If the subtitles block information in the picture, the user can use the mouse to reposition (drag) the subtitles to another position on the screen. However, repositioning subtitles may not be feasible for a television if there is no input system for repositioning subtitles.

[0004] Mocanu and Tapu’s “Automatic Subtitle Synchronization and Positioning System Dedicated to Deaf and Hearing Impaired People” (IEEE Access 2021) introduces an automatic subtitle positioning system based on text information in an image. The text information is part of the region of interest (ROI) in the image. Other important areas of the screen, such as faces in a movie or the ball in a sports broadcast, may be obscured by subtitles. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] Therefore, in order that the manner in which the features of the present embodiments may be understood in detail, a more particular description of the embodiments briefly summarized above may be made with reference to the embodiments, some of which are illustrated in the accompanying drawings. It should be noted, however, that the accompanying drawings illustrate only typical embodiments and therefore should not be considered to limit the scope of the embodiments.

[0006] Figure 1 Depicting an example of subtitle positioning.

[0007] Figure 2 Describe an example system.

[0008] Figure 3 Depicted are examples of user interfaces that may provide settings for subtitle placement settings.

[0009] Figure 4 An example of the operation of subtitle position determination is depicted.

[0010] Figure 5 The diagram illustrates the operation of saliency detection and position calculation.

[0011] Figure 6 A saliency detection artificial intelligence (AI) model is shown.

[0012] Figure 7 An example process for determining subtitle positions within a frame is depicted.

[0013] Figure 8 Depicts an example of subtitle placement. DETAILED DESCRIPTION

[0014] At least in an attempt to provide automatic subtitle positioning without requiring manual input of subtitle positions by a user and to reduce the likelihood that subtitles overlap regions of interest in a video, some examples set subtitle positions based on saliency detection for detecting regions of interest in video frames and attempt to avoid overlap of subtitles with regions of interest. Some examples may be implemented as software or circuit systems executed by a processor for automatically finding the position of subtitles in a video frame. Some examples may be used to place subtitles for online videos, live broadcasts, television (TV) broadcasts, and video software providers. Some examples may automatically position video subtitles based on at least the following: (1) artificial intelligence (AI)-based saliency detection (e.g., a neural network) that is used to divide a video frame into one or more regions of interest and one or more regions of no interest; and (2) a temporal adaptive scheme that is used to select the position of subtitles for different video frames.

[0015] As described earlier, in some cases subtitles may be positioned in portions of the screen that would obscure information of interest to the user. Figure 1An example of subtitle positioning is depicted. Caption 102 is displayed and can be an area of ​​interest for a viewer because caption 102 conveys information. For example, caption 102 can provide information about display 100. However, if video captions are turned on, caption 102 is covered by caption text 104 and caption text 104 can blur caption 102. As described herein, at least in order to try to reduce the possibility of information, images, or videos of interest being covered by captions, various examples can process image data in a frame of a video for one or more areas of interest and automatically select a position in a frame of the video for displaying captions. Various examples herein can take into account frame-by-frame changes in one or more areas of interest to select one or more positions to position captions.

[0016] Figure 2 An example system is depicted. Processor 200 may include one or more of the following: one or more processors; one or more cores; one or more accelerators; one or more application specific integrated circuits (ASICs); one or more field programmable gate arrays (FPGAs); one or more graphics processing units (GPUs); one or more memory devices; and the like. Memory 206 may include one or more of the following: one or more registers, one or more general register files (GRFs), one or more arithmetic logic units (ALUs), one or more accumulators, one or more cache devices (e.g., first level cache (L1), second level cache (L2), third level cache (L3), last level cache (LLC)), volatile memory devices, non-volatile memory devices, or persistent memory devices. For example, memory 206 may include static random access memory (SRAM) memory technology or memory technology consistent with high bandwidth memory (HBM) or double data rate (DDR), etc.

[0017] Applications 204 may include applications such as media players, web browsers, video editors, social media applications, video games, and the like. Driver 202 executed by processor 200 may provide access to display interface 254 to applications 204 executed on processor 200. In some examples, driver 202 may process image file 208 to identify one or more potential locations on a frame or image of a video for positioning subtitles based on one or more regions of interest of a viewer and taking into account frame-by-frame subtitle positions, as described herein. Image file 208 may include video, one or more still images, audio, metadata, 2D or 3D graphics images generated by a graphics processing pipeline, and the like. Display interface 254 may provide video frames or images 210 with subtitles to display 270 for display.

[0018] Figure 3 An example of a user interface that may provide settings for subtitle placement settings is depicted. For example, when selected, subtitle settings menu 300 may provide options for subtitle placement that avoids at least region of interest 302, bottom 304 of the screen, or top 306 of the screen. Other subtitle settings, such as specifying what types of regions of interest (e.g., people, text, moving objects, etc.) are to be avoided, are also possible.

[0019] Figure 4 An example of the operation of subtitle position determination is depicted. The process can be performed by one or more of the following together with portions of video decoding and playback: a processor executing instructions, a GPU, a circuit system, an accelerator, an application-specific integrated circuit (ASIC), etc. The video file 402 can be decoded by a decoder 404, and the decoder 404 can perform video decoding based on one or more media encoding formats, including but not limited to: Moving Picture Experts Group (MPEG) format (such as MPEG-2), Advanced Video Coding (AVC) format (such as H.264 / MPEG-4 AVC, H.265 / HEVC), Alliance for Open Media (AOMedia) VP8, VP9, ​​and Society of Motion Picture & Television Engineers (SMPTE) 421M / VC-1, and Joint Photographic Experts Group (JPEG) format (such as JPEG, and Motion JPEG (MJPEG) format).

[0020] Decoder 404 can output video frame 406 for processing. In some examples, decoder 404 can generate subtitle text 420. For example, subtitle text 420 can be generated based on closed captioning (CC) data associated with video file 402, and CC data provides transcription of audio and can be synchronized with audio playback. In some examples, subtitle text can be encoded into one or more associated video frames, and decoding the video can provide subtitle text for each frame. In some examples, subtitle text 420 can be generated by transcribing the audio generated from decoded video file 402. In some examples, subtitle text 420 can be retrieved from a file associated with video file 402.

[0021] Saliency detection 408 can detect images that are considered salient or interesting to the audience and are unlikely to be covered by subtitles. For example, one or more of the largest people in the frame can be considered salient. For example, a car or airplane in the frame can be considered salient. For example, a centered image in the frame can be considered salient. For example, text in the frame can be considered salient. For example, the following can be considered non-salient: lake areas, sky areas, uniformly colored areas (e.g., football fields or baseball fields), and the like. In some examples, salient images can be identified by using a neural network such as a convolutional neural network (CNN). Neural networks can be trained to perform inferences on features in visual feature representations. CNN or other neural networks can be trained with videos and games and labeled images in videos and games to identify salient areas. For example, the largest person in the frame can be considered salient. For example, a car or airplane can be considered salient. For example, a centered image can be considered salient. For example, an image of a human can be considered salient. For example, the following can be considered non-salient: lake areas, sky areas, uniformly colored areas (e.g., houses, football fields or baseball fields).

[0022] Subtitle positioning 410 can select one or more locations in the frame to avoid including (one or more) significant regions of (one or more) significant images to place subtitle text 420. In some examples, the location of the subtitle text can be selected on a frame-by-frame basis. Subtitle text 420 can be bounded by a rectangle or other shape, and subtitle positioning 410 can attempt to reduce the overlap between the rectangle or other shape and (one or more) significant regions. In some examples, the size of subtitle text 420 can be reduced so that subtitle text 420 can be positioned in an area that does not overlap with (one or more) significant regions.

[0023] The position of the subtitle text 420 on the frame can be set by pixel coordinates, such as the upper left coordinates of the bounding shape of the subtitle text 420. Blending 412 can position the subtitle text 420 in the position specified by subtitle positioning 410. The composite image can be output to a display 450 for display, storage, or streaming. An audio frame 430 potentially corresponding to the subtitle text 420 can be output to a speaker 460, stored, or streamed.

[0024] Figure 5 The figure illustrates the operation of saliency detection and position calculation. Saliency detection 550 can be performed on frame 502 to identify one or more salient objects. For example, in frame 502, area 504 can be identified as including a salient image (e.g., a person). Position calculation 552 can determine the location of subtitle text in frame 502 that does not overlap with salient area 504. For example, area 510 can be selected as a potential subtitle text area. Position calculation 552 can position subtitle text 508 in the center of area 510. In some examples, area 510 can be offset from the edge of the frame so that subtitle text 508 does not touch the edge of the frame. However, subtitle text 508 can touch the edge of the frame.

[0025] The location calculation 552 can be performed on the client and / or server side. For example, the client device can include one or more of a personal computer, a laptop, a mobile phone, a smart phone, a television, or other devices. For example, the server can include one or more of the following: a server, a content delivery network (CDN), or other devices.

[0026] Figure 6 A saliency detection artificial intelligence (AI) model is shown. For example, multiple saliency detection AI models based on a decoder-encoder architecture can be utilized. At least one model can generate a saliency map of salient objects to identify salient areas (if any). Based on the saliency map from the decoding operation 600, one or more locations of subtitles in a video frame can be identified. In order to improve the performance and stability of saliency detection, object tracking (e.g., a kernelized correlation filter (KCF)) can be applied to consecutive frames to select subtitle locations. In some examples, the subtitle position can be determined based on saliency data from multiple frames to reduce changes to the subtitle position.

[0027] Figure 7An example process for determining the position of subtitles in a frame is depicted. At 702, a bounding box (b1) of a saliency map may be calculated. Since the saliency map may not be a continuous block (e.g., salient areas may be in different positions in consecutive frames), b1 may represent multiple bounding boxes. At 704, the subtitle size may be calculated based on subtitle information (such as the number of letters and lines, and font size). At 706, the size of the bounding box (b2) of the subtitle may be calculated. In some examples, the upper left pixel position of the bounding box (b2) may be the same as the upper left pixel position of the subtitle of the previous frame, but the size of b2 may be different from the size of b2 of the previous frame. The width and height of the bounding box (b2) may be set to the size value from operation 706.

[0028] In some examples, to try to smooth the transition of subtitle positions, a weighted moving average of position b2 may be used to calculate the top left pixel position of the subtitle bounding box, as follows: Pos actual =α*Pos prev +(1-α)*Pos new (Pos 实际的 =α*Pos 先前的 +(1-α)*Pos 新的 ) α may represent a chosen experimental value as defined by a user, video provider, or manufacturer.

[0029] At 708, a determination may be made whether b1 and b2 overlap. In other words, a determination may be made whether the subtitle bounding box overlaps the bounding box of the saliency map. Based on the non-overlap of the subtitle bounding box with the bounding box of the saliency map, at 710, the subtitle bounding box (b2) position may be set to the position of b2 in the previous frame. Based on the overlap of the subtitle bounding box with the bounding box of the saliency map, at 720, the subtitle bounding box (b2) may be moved to another position (b3) by moving in one or more of four directions: up, down, left, or right.

[0030] At 722, a determination may be made as to whether the position of the subtitle bounding box at position b3 overlaps with the salient area bounding box. The bounding box may be a solid color area on the screen and may cover pixels of a video frame or image. Based on the non-overlap of the subtitle bounding box at position b3 with the salient area bounding box (b1), at 724, position b3 may be used as the subtitle position. At 740, the position may be saved for calculation of the next frame. Operation 722 may attempt to reduce the movement of the subtitle position of the video frame by frame (although the subtitle text changes) by finding a frame region that is not salient for multiple consecutive frames. Note that operations 720 and 722 may be repeated a configured integer X times until operation 722 produces a true result. In some examples, the size of the subtitle bounding box or associated text may be reduced by one or more times, and operations 720 and 722 may be repeated until a true result occurs. Based on the overlap of the subtitle bounding box at position b3 with the salient region bounding box (b1) after repeating 720 and 722 an integer number of times, a full frame pixel-by-pixel search may be performed in raster scan order to find a position (b4) that does not overlap with b1 at 726. If b4 is found, then at 730, b4 may be used as the subtitle position, and the position may be saved at 740. If b4 is not found, then at 732, the subtitle position (b2) of the previous frame may be used for the current frame.

[0031] Figure 8 Examples of subtitle placement are depicted. For example, subtitle 802 may be placed at an area at the center of the bottom of the screen so as not to overlap with salient objects such as persons 1 and 2 and vehicles. For example, subtitle 804 may be placed at an area at the center of the top of the screen so as not to overlap with salient objects such as trucks or the skyline. For example, subtitle 806 may be placed at an area at the center of the top of the screen so as not to overlap with salient objects such as a person at a table.

[0032] Each example can be realized using hardware elements, software elements or a combination of the two. In some examples, hardware elements may include devices, components, processors, microprocessors, circuits, circuit elements (e.g., transistors, resistors, capacitors, inductors, etc.), integrated circuits, ASICs, PLDs, DSPs, FPGAs, memory cells, logic gates, registers, semiconductor devices, chips, microchips, chipsets, etc. In some examples, software elements may include software components, programs, applications, computer programs, application programs, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, processes, software interfaces, APIs, instruction sets, computing codes, computer codes, code segments, computer code segments, words, values, symbols, or combinations thereof. Determining whether to use hardware elements and / or software elements to realize an example may be different according to any number of factors, such as, as for a given implementation desired required computing rate, power level, thermal tolerance, processing cycle budget, input data rate, output data rate, memory resources, data bus speed and other design or performance constraints. A processor may be a hardware state machine, digital control logic, a central processing unit, or one or more combinations of any hardware, firmware, and / or software elements.

[0033] Some examples may be implemented using or as an article of manufacture or at least one computer-readable medium. A computer-readable medium may include a non-transitory storage medium for storing logic. In some examples, a non-transitory storage medium may include one or more types of computer-readable storage media capable of storing electronic data, including volatile or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writable or rewritable memory, and the like. In some examples, logic may include various software elements, such as software components, programs, applications, computer programs, application programs, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, processes, software interfaces, APIs, instruction sets, computing codes, computer codes, code segments, computer code segments, words, values, symbols, or combinations thereof.

[0034] According to some examples, a computer-readable medium may include a non-transitory storage medium for storing or maintaining instructions that, when executed by a machine, a computing device, or a system, cause the machine, a computing device, or a system to perform methods and / or operations according to the described examples. Instructions may include any suitable type of code, such as source code, compiled code, interpreted code, executable code, static code, dynamic code, and the like. Instructions may be implemented according to a predefined computer language, manner, or syntax for instructing a machine, a computing device, or a system to perform a function. Instructions may be implemented using any suitable high-level, low-level, object-oriented, visual, compiled, and / or interpreted programming language.

[0035] One or more aspects of at least one example may be implemented by representative instructions stored on at least one machine-readable medium, which represent various logic within the processor, and which, when read by a machine, computing device, or system, causes the machine, computing device, or system to fabricate logic for performing the techniques described herein. Such representations, known as "IP cores," may be stored on a tangible, machine-readable medium and supplied to various customers or manufacturing facilities to load into fabrication machines that actually fabricate the logic or processor.

[0036] The appearance of the phrase "one example" or "example" does not necessarily refer to the same example or embodiment. Any aspect described herein may be combined with any other aspect or similar aspect described herein, whether or not these aspects are described with respect to the same figure or element. The division, omission, or inclusion of block functions depicted in the figures cannot infer that the hardware components, circuits, software, and / or elements used to implement these functions must be divided, omitted, or included in each embodiment.

[0037] The expressions "coupled" and "connected," as well as their derivatives, may be used to describe some examples. These terms are not necessarily intended to be synonymous with each other. For example, descriptions using the terms "connected" and / or "coupled" may indicate that two or more elements are in direct physical or electrical contact with each other. However, the term "coupled" may also mean that two or more elements are not in direct contact with each other, but still cooperate or interact with each other.

[0038] The terms "first", "second", etc. herein do not represent any order, quantity or importance, but are used to distinguish one element from another element. The terms "a" and "an" herein do not represent a limitation on quantity, but represent that there is at least one item cited. The term "asserted" used in reference to a signal herein represents the state of a signal, wherein the signal is active, and this can be achieved by applying any logic level of logic 0 or logic 1 to the signal. The terms "following" or "after..." can refer to immediately following another or other events or following another or other events. Other sequences of operations may also be performed according to alternative embodiments. In addition, additional operations may be added or removed depending on the specific application. Any combination of variations may be used, and those of ordinary skill in the art who benefit from the present disclosure will understand many variations, modifications and alternative embodiments of the present disclosure.

[0039] Unless specifically stated otherwise, it is understood that separator language such as the phrase "at least one of X, Y, or Z" is generally used to present that an item, project, etc. can be any of X, Y, or Z or a combination thereof (e.g., X, Y, and / or Z). Thus, such separator language is generally not intended to imply and should not imply that certain embodiments require that at least one X, at least one Y, or at least one Z each be present. Additionally, it is also understood that separator language such as the phrase "at least one of X, Y, and Z" means X, Y, Z, or a combination thereof, including "X, Y, and / or Z", unless specifically stated otherwise.

[0040] The following provides illustrative examples of the devices, systems, and methods disclosed herein. Embodiments of the devices, systems, and methods may include one or more of the examples described below, as well as combinations thereof.

[0041] Example 1 includes one or more examples and includes: at least one non-transitory computer-readable medium, which includes instructions stored thereon, which if executed by one or more processors, causes the one or more processors to: for a frame of a video: identify one or more boundary regions in the frame corresponding to a region of interest; select a location of a text boundary region in the frame that does not overlap with the one or more boundary regions, wherein the text boundary region in the frame is associated with text; and cause the text to be displayed in the text boundary region corresponding to the selected location.

[0042] Example 2 includes one or more examples wherein identifying one or more boundary regions in a frame corresponding to a region of interest is based on a neural network, the neural network being trained based on the region of interest.

[0043] Example 3 includes one or more examples wherein the region of interest includes one or more of: a largest image in a frame, a moving image, a centered image, text, or an image of a human.

[0044] Example 4 includes one or more examples wherein the region of interest excludes a solid color region.

[0045] Example 5 includes one or more examples wherein the text to be displayed in the area includes subtitles or closed caption (CC) text.

[0046] Example 6 includes one or more examples wherein selecting a location of a text boundary region in a frame that does not overlap with one or more boundary regions is based on locations of text boundary regions in a plurality of frames.

[0047] Example 7 includes one or more examples wherein selecting the position of a text boundary region in a frame that does not overlap with one or more boundary regions is based on the position of the text boundary region in multiple frames of a video, and reducing the amount of movement of the position of the text boundary region in the multiple frames.

[0048] Example 8 includes one or more examples wherein selecting a location of a text boundary region in a frame that does not overlap with one or more boundary regions is based on a pixel-by-pixel raster sequential scan of the frame.

[0049] Example 9 includes one or more examples wherein selecting a location of a text boundary region in the frame that does not overlap with one or more boundary regions comprises reducing a size of the boundary region in the frame until the location of the text boundary region in the frame that does not overlap with the one or more boundary regions is identified.

[0050] Example 10 includes one or more examples wherein a frame of a video includes one or more of: text, audio, graphics, video, a holographic image, or a holographic video, or a holographic audio.

[0051] Example 11 includes one or more examples, and includes a device comprising: at least one processor and at least one memory, the at least one memory including instructions stored thereon, the instructions, if executed by the at least one processor, causing the at least one processor to: for a frame of a video file: identify one or more boundary regions in the frame corresponding to a region of interest; select a position of a text boundary region in the frame that does not overlap with the one or more boundary regions, wherein the text boundary region in the frame is associated with text; and cause the text to be displayed in the text boundary region corresponding to the selected position.

[0052] Example 12 includes one or more examples wherein identifying one or more boundary regions in a frame corresponding to a region of interest is based on a neural network, the neural network being trained based on the region of interest.

[0053] Example 13 includes one or more examples wherein the region of interest includes one or more of: a largest image in a frame, a moving image, a centered image, text, or an image of a human.

[0054] Example 14 includes one or more examples wherein the text to be displayed in the area includes subtitles or closed caption (CC) text.

[0055] Example 15 includes one or more examples wherein selecting a location of a text boundary region in a frame that does not overlap with one or more boundary regions is based on locations of text boundary regions in a plurality of frames.

[0056] Example 16 includes one or more examples wherein selecting a location of a text boundary region in a frame that does not overlap with one or more boundary regions is based on a pixel-by-pixel raster sequential scan of the frame.

[0057] Example 17 includes one or more examples, and includes a method comprising: for a frame of a video file: determining a position of subtitle text by: specifying a display position of the subtitle text based on a user input configuration to avoid a region of interest: determining one or more regions of interest in a frame and selecting a position of the subtitle text to avoid a bounding box surrounding the subtitle text overlapping with the one or more regions of interest.

[0058] Example 18 includes one or more examples wherein the region of interest includes one or more of: a largest image in a frame, a moving image, a centered image, text, or an image of a human.

[0059] Example 19 includes one or more examples wherein the position of the subtitle text is selected to avoid overlap of a bounding box surrounding the subtitle text with one or more regions of interest based on a frame-by-frame pixel-by-pixel grid sequential scan.

[0060] Example 20 includes one or more examples wherein selecting a position of the subtitle text to avoid overlap of a bounding box surrounding the subtitle text with one or more regions of interest comprises reducing a size of the bounding box in the frame until a position of the bounding box in the frame that does not overlap the one or more regions of interest is identified.

Claims

1. At least one non-transitory computer-readable medium, the non-transitory computer-readable medium comprising instructions stored thereon, the instructions, if executed by one or more processors, causing the one or more processors to: For video frames: identifying one or more boundary regions in the frame corresponding to a region of interest; selecting a location of a text boundary region in the frame that does not overlap with the one or more boundary regions, wherein The text boundary region in the frame is associated with text; and The text is caused to be displayed in the text boundary area corresponding to the selected position.

2. The computer-readable medium of claim 1, wherein: Identifying one or more boundary regions in the frame corresponding to the region of interest is based on a neural network that is trained based on the region of interest.

3. The computer-readable medium of any one of claims 1 to 2, wherein: The region of interest includes one or more of the following: the largest image in the frame, a moving image, a centered image, text, or an image of a human being.

4. The computer-readable medium of any one of claims 1 to 3, wherein: The region of interest excludes pure color areas.

5. The computer-readable medium of any one of claims 1 to 4, wherein: The text to be displayed in the area includes subtitles or closed captions CC text.

6. The computer-readable medium of any one of claims 1 to 5, wherein: Selecting a location of a text boundary region in the frame that does not overlap the one or more boundary regions is based on locations of text boundary regions in a plurality of frames.

7. The computer-readable medium of claim 6, wherein: Selecting the position of the text boundary region in the frame that does not overlap the one or more boundary regions is based on the positions of the text boundary regions in multiple frames of the video, and reducing the amount of movement of the positions of the text boundary regions in the multiple frames.

8. The computer-readable medium of any one of claims 1 to 7, wherein: Selecting the locations of text boundary regions in the frame that do not overlap the one or more boundary regions is based on a pixel-by-pixel grid sequential scan of the frame.

9. The computer-readable medium of any one of claims 1 to 8, wherein: Selecting a location of a text boundary region in the frame that does not overlap the one or more boundary regions includes reducing a size of the boundary region in the frame until a location of a text boundary region in the frame that does not overlap the one or more boundary regions is identified.

10. The computer-readable medium of any one of claims 1 to 9, wherein: The frames of the video include one or more of the following: text, audio, graphics, video, holographic image, or holographic video, or holographic audio.

11. A device, comprising: at least one processor; as well as at least one memory including instructions stored thereon that, if executed by the at least one processor, cause the at least one processor to: For frames of video files: identifying one or more boundary regions in the frame corresponding to a region of interest; selecting a location of a text boundary region in the frame that does not overlap the one or more boundary regions, wherein the text boundary region in the frame is associated with text; and The text is caused to be displayed in the text boundary area corresponding to the selected position.

12. The device of claim 11, wherein: Identifying one or more boundary regions in the frame corresponding to the region of interest is based on a neural network that is trained based on the region of interest.

13. The device according to any one of claims 11 to 12, wherein: The region of interest includes one or more of the following: the largest image in the frame, a moving image, a centered image, text, or an image of a human being.

14. The device according to any one of claims 11 to 13, wherein: The text to be displayed in the area includes subtitles or closed captions CC text.

15. The device according to any one of claims 11 to 14, wherein: Selecting a location of a text boundary region in the frame that does not overlap the one or more boundary regions is based on locations of text boundary regions in a plurality of frames.

16. The device according to any one of claims 11 to 15, wherein: Selecting the locations of text boundary regions in the frame that do not overlap the one or more boundary regions is based on a pixel-by-pixel grid sequential scan of the frame.

17. A method comprising: For frames of video files: The position of the subtitle text is determined by: The display position of the subtitle text is selected to avoid the region of interest based on the user input configuration specification: determining one or more regions of interest in the frame; as well as The position of the subtitle text is selected to avoid overlapping of a bounding box surrounding the subtitle text with the one or more regions of interest.

18. The method of claim 17, wherein: The region of interest includes one or more of the following: the largest image in the frame, a moving image, a centered image, text, or an image of a human being.

19. The method according to any one of claims 17 to 18, wherein: The position of the subtitle text is selected to avoid overlapping of a bounding box surrounding the subtitle text with the one or more regions of interest based on a frame-by-frame pixel-by-pixel grid sequential scan.

20. The method according to any one of claims 17 to 19, wherein: Selecting a position of the subtitle text to avoid overlapping a bounding box surrounding the subtitle text with the one or more regions of interest includes reducing a size of the bounding box in the frame until a position of the bounding box in the frame that does not overlap the one or more regions of interest is identified.