CN106911971A - A kind of video caption processing method and electronic equipment - Google Patents

A kind of video caption processing method and electronic equipment Download PDF

Info

Publication number
CN106911971A
CN106911971A CN201710110978.7A CN201710110978A CN106911971A CN 106911971 A CN106911971 A CN 106911971A CN 201710110978 A CN201710110978 A CN 201710110978A CN 106911971 A CN106911971 A CN 106911971A
Authority
CN
China
Prior art keywords
captions
caption information
blocked
electronic equipment
embedded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710110978.7A
Other languages
Chinese (zh)
Inventor
孔鹏
黄静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd Beijing Branch
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710110978.7A priority Critical patent/CN106911971A/en
Publication of CN106911971A publication Critical patent/CN106911971A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • G06V20/635Overlay text, e.g. embedded captions in a TV program

Abstract

The present invention provides a kind of video caption processing method and electronic equipment, and the method includes:When the process instruction of the caption information shown in receiving to video image, whether the captions type for judging the caption information is embedded captions;If the captions type of the caption information is embedded captions, the caption information is blocked with figure layer is blocked.The embedded caption information in video can be setup flexibly according to user's request, Consumer's Experience sense can be improved for the video caption processing method that the present invention is provided, electronic equipment.

Description

A kind of video caption processing method and electronic equipment
Technical field
The present invention relates to display technology field, more particularly to a kind of video caption processing method and electronic equipment.
Background technology
As the fast development of electronic equipment, the function of electronic equipment are gradually perfect, people are often obtained using electronic equipment Information, storage information and viewing video etc..Electronic equipment while video image is shown, can also show when video is played Show caption information, video content is understood in order to user.At present, the type of video caption mainly has plug-in captions and embedded word The characteristics of curtain, plug-in captions is video file and subtitle file is separate file;The characteristics of embedded captions be video file and Subtitle file is integrated, and caption content is included in the middle of video file, it is impossible to split captions, cannot be right when video is played Captions enter edlin.
In some scenes, for example, during the external video of the embedded captions of user's viewing display, user sometimes needs ought The caption information of preceding display is hidden, preferably to learn the language in video, but at this stage, user cannot according to oneself Be hidden for embedded caption information by demand, and the flexibility of current embedded caption information is poor, it is impossible to meet the use need of user Ask.
The content of the invention
The embodiment of the present invention provides a kind of video caption processing method and electronic equipment, to solve the spirit of embedded caption information The poor problem of activity.
In a first aspect, a kind of video caption processing method is the embodiment of the invention provides, including:
When the process instruction of the caption information shown in receiving to video image, the captions of the caption information are judged Whether type is embedded captions;
If the captions type of the caption information is embedded captions, the caption information is hidden with figure layer is blocked Gear.
Second aspect, the embodiment of the present invention also provides a kind of electronic equipment, including:
First judge module, for when the process instruction of the caption information shown in receiving to video image, judging Whether the captions type of the caption information is embedded captions;
Module is blocked, if being embedded captions for the captions type of the caption information, with blocking figure layer to the word Curtain information is blocked.
So, in the embodiment of the present invention, when the process instruction of the caption information shown in receiving to video image, sentence Whether the captions type of the disconnected caption information is embedded captions;If the captions type of the caption information is embedded captions, The caption information is blocked with figure layer is blocked.So, electronic equipment can be setup flexibly video according to user's request In embedded caption information, Consumer's Experience can be improved.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to needed for embodiment of the present invention description The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of video caption processing method that first embodiment of the invention is provided;
Fig. 2 is the flow chart of another video caption processing method that second embodiment of the invention is provided;
Fig. 3 is the structure chart of a kind of electronic equipment that third embodiment of the invention is provided;
Fig. 4 is the structure chart of another electronic equipment that third embodiment of the invention is provided;
Fig. 5 is the structure chart of another electronic equipment that third embodiment of the invention is provided;
Fig. 6 is the structure chart of another electronic equipment that third embodiment of the invention is provided;
Fig. 7 is the structure chart of another electronic equipment that third embodiment of the invention is provided;
Fig. 8 is the structure chart of another electronic equipment that fourth embodiment of the invention is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
First embodiment
Referring to Fig. 1, Fig. 1 is a kind of flow chart of video caption processing method provided in an embodiment of the present invention, such as Fig. 1 institutes Show, comprise the following steps:
Step 101, when the process instruction of the caption information shown in receiving to video image, judge that the captions are believed Whether the captions type of breath is embedded captions, if the captions type of the caption information is embedded captions, performs step 102.
In the step, shown in above-mentioned video image caption information can be video during broadcasting, in video show The caption information for showing, the caption information can include Chinese subtitle, it is also possible to which, including foreign language caption, the position of the caption information can Being the lower section in video area, or the side in video area etc..
When above-mentioned process instruction can be that user carries out predetermined registration operation to caption information, the instruction that electronic equipment is received, Can also be instruction of the electronic equipment according to user's custom output, the process instruction can be the finger being hidden to caption information Order.For example, user touches hiding Options on mobile terminal screen with finger, mobile terminal receives hiding instruction;And for example, After electronic equipment detects the human face image information of currently viewing video, the viewing according to the user is accustomed to current subtitle information Block etc..So, the captions that user can be according to actual needs at any time to video are processed, simple operation, electronics Equipment can also be processed captions according to user's custom, can improve Consumer's Experience.
Above-mentioned embedded captions can be that captions are embedded in the middle of video, it is impossible to adjust the content of caption information and the word of attribute Curtain, captions type is the video of embedded captions, and its video file and subtitle file are integrated.Electronic equipment is received to video In caption information hiding instruction when, it can be determined that whether currently displaying captions are embedded captions.For example, can be based on regarding The ratio for accounting for total pixel number with the default color values identical pixel count of captions in frequency file captions hot-zone is judged, if ratio More than default value, then it is considered that captions are embedded captions.In the specific implementation, it would however also be possible to employ other judgment modes, The present embodiment is not construed as limiting to this.When the captions type of caption information is not for embedded captions, flow can be terminated, or perform Other steps.End flow in Fig. 1 is only a kind of citing.
Step 102, the caption information is blocked with blocking figure layer.
In the step, if the captions type of the caption information is embedded captions, due to that can not be carried out to embedded captions Adjustment, it is possible to use block figure layer and block caption information, for example, blocking caption information using mosaic, make caption information Being difficult to be identified can even not be identified;Can be according to the color around captions position, using close with ambient color The shielded image of color is blocked to caption information;The shielding mode that can also be set according to user, selects shielded image.This Sample, when the captions type in video need not watch caption information for embedded captions, and user, can hide caption information Gear, improves Consumer's Experience.
The video caption processing method of the embodiment of the present invention can apply to electronic equipment, for example:It is mobile phone, computer, flat Plate computer (Tablet Personal Computer), kneetop computer (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) Or Wearable device (Wearable Device) etc..
The video caption processing method of the embodiment of the present invention, the place of the caption information shown in receiving to video image During reason instruction, whether the captions type for judging the caption information is embedded captions;If the captions type of the caption information is Embedded captions, then blocked with blocking figure layer to the caption information.So, when the captions that user need not be watched in video When, user can according to actual needs be setup flexibly the embedded caption information in video, and processing mode flexibly, can improve use Family experience sense.
Second embodiment
Referring to Fig. 2, Fig. 2 is the flow chart of another video caption processing method provided in an embodiment of the present invention, this implementation Example differs primarily in that pressure parameter of the detection to the touch operation of screen with first embodiment, when pressure parameter and default pressure When force parameter is matched, the Treatment Options to caption information are exported, user can be operated according to Treatment Options.As shown in Fig. 2 Comprise the following steps:
Step 201, when the touch operation to screen is detected, detect the pressure parameter of the touch operation.
In the step, above-mentioned touch operation can be the touch operation that user's finger is carried out on the screen of the electronic device, The touch operation can be pressed, slide etc., and above-mentioned touch operation can be any time in video playback.
Electronic equipment can detect pressure parameter of the touch operation to screen, for example, detection touch operation is to screen Pressure, the duration in pre-set pressure range.
Step 202, judge whether the pressure parameter matches with preset pressure parameter, if the pressure parameter is pre- with described If pressure parameter is matched, then step 203 is performed.
In this step, above-mentioned preset pressure parameter can receive user in advance to set, or electronic equipment goes out What factory was set etc., the present embodiment is not construed as limiting to this.It can sentence to judge whether pressure parameter matches with preset pressure parameter Whether disconnected pressure parameter for example judges whether touch operation is located to the pressure value of screen within the scope of default pressure parameter Within the scope of default pressure value;Judge whether the duration of the touch operation in the range of preset pressure value reaches The default time.
If the pressure parameter is mismatched with the preset pressure parameter, flow can be terminated or other steps are performed Suddenly, the end flow in Fig. 2 is only a kind of citing.
The default Treatment Options of step 203, display caption information, the default Treatment Options include hiding Options.
When the pressure parameter of touch operation is matched with preset pressure parameter, electronic equipment exports the default place of caption information Reason option, and the option is shown on screen, wherein, the option can include the corresponding multiple of various processing modes to captions Option.For example, hiding, showing, setting captions hidden area etc..The mode of display can be aobvious with modes such as word, icons Show, user can select one of option according to rendering preferences, be operated for option.
Step 204, when receive user for the input that hides Options hiding instruction when, judge the caption information Captions type whether be embedded captions, if the captions type of the caption information is embedded captions, perform step 205.
In this step, the above-mentioned hiding instruction for the input that hides Options can be that user is carried out to hiding Options Operation when, the hiding instruction that electronic equipment is received.
For example, user's finger is long by screen, electronic equipment screen detects the pressure that the operation produces to screen and should The duration of operation, and judge whether respectively with preset pressure value and Duration match.If the pressure value of the operation with hold The continuous time respectively with preset pressure value and Duration match, the annular dish centered on press points can be shown on screen Single, menu constraint term includes " setting ", " hiding " and " display ", and finger is highlighted to be moved to " hiding " and frame out afterwards, electronics Equipment receives the hiding instruction of user input.In addition, be not pressed against on menu option when if user's finger frames out, can To give tacit consent to high light selection " hiding ".
Embedded captions can be that captions are embedded in the middle of video, it is impossible to adjust the content of caption information and the captions of attribute, Captions type is the video of embedded captions, and its video file and subtitle file are integrated.Electronic equipment is received in video Caption information hiding instruction when, it can be determined that whether currently displaying captions are embedded captions, for example, video can be based on The ratio for accounting for total pixel number with the default color values identical pixel count of captions in file captions hot-zone is judged, if ratio is big In default value, then it is considered that captions are embedded captions.In the specific implementation, it would however also be possible to employ other judgment modes, originally Embodiment is not construed as limiting to this.
Step 205, the caption information is blocked with blocking figure layer.
In this step, it is possible to use block figure layer and caption information is blocked, the occlusion area for blocking figure layer can With comprising the region where caption information, it is also possible to comprising the region around caption information.It can receive user to block figure layer What setting or electronic equipment pre-set.
Optionally, if the captions type of the caption information is embedded captions, with blocking figure layer to the captions Information is blocked, including:
If the captions type of the caption information is embedded captions, the pending district domain information of user input is received;
Pending area is determined according to the pending district domain information;
The whole pending area is blocked with figure layer is blocked, wherein, the figure layer of blocking is user input Existing image in image or electronic equipment.
In this embodiment, above-mentioned pending district domain information can be that user is input into for caption information region Coordinate information, for example, receive the coordinate of user input first (x1, y1) and the second coordinate (x2, y2), and according to the first coordinate and the Two coordinates determine the 3rd coordinate (x2, y1) and 4-coordinate (x1, y2).The shape of above-mentioned pending area can also be and set in advance The other shapes put, the size of pending area can determine according to the information of user input.Can use and block figure layer pair Pending area is blocked, and blocking the color of figure layer can select the color color close nearby with pending area, so, Information in whole pending area is all blocked.
In this embodiment, above-mentioned pending area can include some or all of area of caption information region Caption information region can be set to pending area by domain, user according to actual conditions, so as to enter to pending area Row is blocked.For example, when user is when the video of Chinese and English subtitles is watched, can will show that the region of Chinese subtitle is set to wait to locate Reason region, and show that the region of English subtitles does not deal with, Chinese subtitle region is blocked, English subtitles normally show Show, such that it is able to pass through to watch English subtitles English learning;All of caption information can also be set to pending area by user, So as to Chinese and English subtitles be blocked simultaneously.
Furthermore it is possible to the pending district domain information that will be set is preserved, when video is played next time, can be treated according to default Processing region information is processed pending area.
In this embodiment, user can will need hiding part to be processed, and reservation need not be hidden Caption information, flexible operation mode.
Optionally, if the captions type of the caption information is embedded captions, with blocking figure layer to the captions Information is blocked, including:
If the captions type of the caption information is embedded captions, the viewing area of the caption information is recognized;
Recognize the field color of the viewing area, obtain color and the field color similarity within a preset range Target image;
The caption information is blocked using the target image.
In this embodiment, the viewing area of identification caption information can be for showing captions in identification video image The whole region of information, so, when needing to be blocked caption information, can obtain the color in the region, and using with The close image of the color is blocked to the region.
The viewing area of the caption information of each two field picture in video can also be recognized, the viewing area of the caption information can Be region in caption information shared by each word, or per two field picture in region shared by the caption information that shows.Can To recognize the color near captions, the viewing area of caption information is hidden using the image with neighbouring color similar color Gear, so, can improve the visual effect of video.
Above-mentioned target image can receive user's setting, for example, the color of target image, image species etc. are set, Can also be adjusted according to the color around the captions of current video, target image is approached with the color of surrounding, Ke Yiti The visual effect of video high.
Optionally, the default Treatment Options also include display option, described with blocking figure layer to the caption information After being blocked, methods described also includes:
Receive idsplay order of the user for the display option input;
The caption information being blocked is shown based on the idsplay order.
In this embodiment, when electronic equipment shows the display option to caption information, user can be selected display Item is operated, and when electronic equipment receives idsplay order, can be shown caption information.For example, being shown on electronic equipment screen Go out to show the corresponding icon of option, user carries out touch operation to the icon, and electronic equipment receives the idsplay order of user input Afterwards, the image of occlusion removal caption information, shows caption information.In this embodiment, user can control as needed The hiding or dispaly state of caption information, mode of operation is simple, and Consumer's Experience sense is good.
The embodiment of the present invention detects the pressure parameter to the touch operation of screen on the basis of the corresponding embodiments of Fig. 1, When pressure parameter is matched with preset pressure parameter, the Treatment Options to caption information are exported, in such manner, it is possible to prevent user from seeing Maloperation when seeing video to screen.And when user is received to the specific operation of electronic equipment screen, electronic equipment shows To the corresponding multiple options of multiple processing modes of caption information, electronic equipment can be according to the operation of user to embedded captions letter Breath is processed, and the flexibility of captions is preferable.
3rd embodiment
Referring to Fig. 3, Fig. 3 is the structure chart of a kind of electronic equipment that the present invention implements offer, as shown in figure 3, electronic equipment 300 include:First judge module 301, module 302 is blocked, wherein:
First judge module 301, for when the process instruction of the caption information shown in receiving to video image, sentencing Whether the captions type of the disconnected caption information is embedded captions;
Module 302 is blocked, if being embedded captions for the captions type of the caption information, with blocking figure layer to described Caption information is blocked.
Optionally, as shown in figure 4, the electronic equipment 300 also includes:
Detection module 303, the pressure ginseng for when the touch operation to screen is detected, detecting the touch operation Number;
Second judge module 304, for judging whether the pressure parameter matches with preset pressure parameter;
First display module 305, if being matched with the preset pressure parameter for the pressure parameter, display captions letter The default Treatment Options of breath, the default Treatment Options include hiding Options;
First judge module 301 be used for when receive user for the input that hides Options hiding instruction when, Whether the captions type for judging the caption information is embedded captions.
Optionally, as shown in figure 5, the module 302 of blocking includes:
Receiving unit 3021, if being embedded captions for the captions type of the caption information, receives user input Pending district domain information;
Determining unit 3022, for determining pending area according to the pending district domain information;
First block unit 3023, for being blocked to the whole pending area with blocking figure layer, wherein, it is described Block existing image in the image or electronic equipment that figure layer is user input.
Optionally, as shown in fig. 6, the module 302 of blocking includes:
Recognition unit 3024, if being embedded captions for the captions type of the caption information, recognizes the captions letter The viewing area of breath;
Acquiring unit 3025, the field color for recognizing the viewing area obtains color and the field color phase Like degree target image within a preset range;
Second block unit 3026, for being blocked to the caption information using the target image.
Optionally, as shown in fig. 7, the default Treatment Options include display option, the electronic equipment 300 also includes:
Receiver module 306, for receiving idsplay order of the user for the display option input;
Second display module 307, for showing the caption information being blocked based on the idsplay order.
Electronic equipment 300 can realize each process that electronic equipment is realized in the embodiment of the method for Fig. 1 to Fig. 2, to keep away Exempt to repeat, repeat no more here.
The electronic equipment 300 of the embodiment of the present invention, the treatment of the caption information shown in receiving to video image refers to When making, whether the captions type for judging the caption information is embedded captions;If the captions type of the caption information is embedded Captions, then blocked with blocking figure layer to the caption information.So, electronic equipment can flexibly be located according to user's request Embedded caption information in reason video, can improve Consumer's Experience.
Fourth embodiment
Referring to Fig. 8, Fig. 8 is the structure chart of the electronic equipment that the present invention implements offer, as shown in figure 8, electronic equipment 800 is wrapped Include:At least one processor 801, memory 802, at least one network interface 804 and user interface 803.In electronic equipment 800 Each component be coupled by bus system 805.It is understood that bus system 805 is used to realize between these components Connection communication.Bus system 805 in addition to including data/address bus, also including power bus, controlling bus and status signal bus in addition. But for the sake of for clear explanation, various buses are all designated as bus system 805 in fig. 8.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball (track ball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable P ROM, EPROM), Electrically Erasable Read Only Memory (Electrically EP ROM, EEPROM) Or flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous D RAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SD RAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SD RAM, ESDRAM), synchronous connect Connect dynamic random access memory (Synch link D RAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 802 of system and method described herein be intended to including but not limited to these With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or Person their subset, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc. are used for Realize various basic businesses and process hardware based task.Application program 8022, comprising various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 8022.
In embodiments of the present invention, by the program for calling memory 802 to store or instruction, specifically, can be application The program stored in program 8022 or instruction, processor 801 are used for:
When the process instruction of the caption information shown in receiving to video image, the captions of the caption information are judged Whether type is embedded captions;
If the captions type of the caption information is embedded captions, the caption information is hidden with figure layer is blocked Gear.
The method that the embodiments of the present invention are disclosed can apply in processor 801, or be realized by processor 801. Processor 801 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 801 or software form.Above-mentioned treatment Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module may be located at random access memory, and flash memory, read-only storage may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 802, processor 801 reads the information in memory 802, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realized for software, can be realized by performing the module (such as process, function etc.) of function described herein herein Described technology.Software code is storable in memory and by computing device.Memory can within a processor or Realize processor outside.
Optionally, processor 801 is additionally operable to:
When the touch operation to screen is detected, the pressure parameter of the touch operation is detected;
Judge whether the pressure parameter matches with preset pressure parameter;
If the pressure parameter is matched with the preset pressure parameter, the default Treatment Options of caption information, institute are shown Stating default Treatment Options includes hiding Options;
It is described when the process instruction of the caption information shown in receiving to video image, judge the caption information Whether captions type is embedded captions, including:
When receive user for the input that hides Options hiding instruction when, judge the captions class of the caption information Whether type is embedded captions.
Optionally, if the captions type that processor 801 performs the caption information is embedded captions, Occlusion Map is used Layer is blocked to the caption information, including:
If the captions type of the caption information is embedded captions, the pending district domain information of user input is received;
Pending area is determined according to the pending district domain information;
The whole pending area is blocked with figure layer is blocked, wherein, the figure layer of blocking is user input Existing image in image or electronic equipment.
Optionally, if the captions type that processor 801 performs the caption information is embedded captions, Occlusion Map is used Layer is blocked to the caption information, including:
If the captions type of the caption information is embedded captions, the viewing area of the caption information is recognized;
Recognize the field color of the viewing area, obtain color and the field color similarity within a preset range Target image;
The caption information is blocked using the target image.
Optionally, the default Treatment Options include display option, and processor 801 is additionally operable to:
Receive idsplay order of the user for the display option input;
The caption information being blocked is shown based on the idsplay order.
Electronic equipment 800 can realize each process of electronic equipment realization in previous embodiment, to avoid repeating, here Repeat no more.
The electronic equipment 800 of the embodiment of the present invention, the treatment of the caption information shown in receiving to video image refers to When making, whether the captions type for judging the caption information is embedded captions;If the captions type of the caption information is embedded Captions, then blocked with blocking figure layer to the caption information.So, electronic equipment can flexibly be located according to user's request Embedded caption information in reason video, can improve Consumer's Experience.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be by other Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize embodiment of the present invention scheme Purpose.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of video caption processing method, is applied to electronic equipment, it is characterised in that including:
When the process instruction of the caption information shown in receiving to video image, the captions type of the caption information is judged Whether it is embedded captions;
If the captions type of the caption information is embedded captions, the caption information is blocked with figure layer is blocked.
2. method according to claim 1, it is characterised in that in the captions shown in it receive to video image During the process instruction of information, before whether the captions type for judging the caption information is embedded captions, methods described also includes:
When the touch operation to screen is detected, the pressure parameter of the touch operation is detected;
Judge whether the pressure parameter matches with preset pressure parameter;
If the pressure parameter is matched with the preset pressure parameter, the default Treatment Options of caption information are shown, it is described pre- If Treatment Options include hiding Options;
It is described when the process instruction of the caption information shown in receiving to video image, judge the captions of the caption information Whether type is embedded captions, including:
When receive user for the input that hides Options hiding instruction when, judging the captions type of the caption information is No is embedded captions.
3. method according to claim 1 and 2, it is characterised in that if the captions type of the caption information is interior Embedding captions, then blocked with blocking figure layer to the caption information, including:
If the captions type of the caption information is embedded captions, the pending district domain information of user input is received;
Pending area is determined according to the pending district domain information;
The whole pending area is blocked with figure layer is blocked, wherein, it is described to block the image that figure layer is user input Or existing image in electronic equipment.
4. method according to claim 1 and 2, it is characterised in that if the captions type of the caption information is interior Embedding captions, then blocked with blocking figure layer to the caption information, including:
If the captions type of the caption information is embedded captions, the viewing area of the caption information is recognized;
The field color of the viewing area is recognized, target of the color with the field color similarity within a preset range is obtained Image;
The caption information is blocked using the target image.
5. method according to claim 2, it is characterised in that the default Treatment Options also include display option, in institute State with blocking after figure layer blocks to the caption information, methods described also includes:
Receive idsplay order of the user for the display option input;
The caption information being blocked is shown based on the idsplay order.
6. a kind of electronic equipment, it is characterised in that including:
First judge module, for when the process instruction of the caption information shown in receiving to video image, judging described Whether the captions type of caption information is embedded captions;
Module is blocked, if being embedded captions for the captions type of the caption information, the captions is believed with figure layer is blocked Breath is blocked.
7. electronic equipment according to claim 6, it is characterised in that the electronic equipment also includes:
Detection module, for when the touch operation to screen is detected, detecting the pressure parameter of the touch operation;
Second judge module, for judging whether the pressure parameter matches with preset pressure parameter;
First display module, if being matched with the preset pressure parameter for the pressure parameter, shows the pre- of caption information If Treatment Options, the default Treatment Options include hiding Options;
First judge module be used for when receive user for the input that hides Options hiding instruction when, judge described Whether the captions type of caption information is embedded captions.
8. the electronic equipment according to claim 6 or 7, it is characterised in that the module of blocking includes:
Receiving unit, if being embedded captions for the captions type of the caption information, receives the pending district of user input Domain information;
Determining unit, for determining pending area according to the pending district domain information;
First block unit, for being blocked to the whole pending area with blocking figure layer, wherein, it is described to block figure layer It is existing image in the image or electronic equipment of user input.
9. the electronic equipment according to claim 6 or 7, it is characterised in that the module of blocking includes:
Recognition unit, if being embedded captions for the captions type of the caption information, recognizes the display of the caption information Region;
Acquiring unit, the field color for recognizing the viewing area obtains color with the field color similarity pre- If the target image treatment in scope;
Second block unit, for being blocked to the caption information using the target image.
10. electronic equipment according to claim 7, it is characterised in that the default Treatment Options include display option, institute Stating electronic equipment also includes:
Receiver module, for receiving idsplay order of the user for the display option input;
Second display module, for showing the caption information being blocked based on the idsplay order.
CN201710110978.7A 2017-02-28 2017-02-28 A kind of video caption processing method and electronic equipment Pending CN106911971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710110978.7A CN106911971A (en) 2017-02-28 2017-02-28 A kind of video caption processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710110978.7A CN106911971A (en) 2017-02-28 2017-02-28 A kind of video caption processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN106911971A true CN106911971A (en) 2017-06-30

Family

ID=59209105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710110978.7A Pending CN106911971A (en) 2017-02-28 2017-02-28 A kind of video caption processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106911971A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862380A (en) * 2019-01-10 2019-06-07 北京达佳互联信息技术有限公司 Video data handling procedure, device and server, electronic equipment and storage medium
CN110324704A (en) * 2018-03-29 2019-10-11 优酷网络技术(北京)有限公司 Method for processing video frequency and device
CN110599525A (en) * 2019-09-30 2019-12-20 腾讯科技(深圳)有限公司 Image compensation method and apparatus, storage medium, and electronic apparatus
CN114489882A (en) * 2021-12-16 2022-05-13 成都鲁易科技有限公司 Method and device for realizing dynamic skin of browser and storage medium
CN115442667A (en) * 2021-06-01 2022-12-06 脸萌有限公司 Video processing method and device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS633574A (en) * 1986-06-23 1988-01-08 Kazumi Owada Member for shielding superimposed caption on television screen
CN1949841A (en) * 2005-10-12 2007-04-18 乐金电子(沈阳)有限公司 Captions treater for image display and method thereof
CN101461241A (en) * 2006-06-09 2009-06-17 汤姆逊许可公司 System and method for closed captioning
CN102196209A (en) * 2010-03-05 2011-09-21 深圳Tcl新技术有限公司 Caption concealment method for television program
CN102868928A (en) * 2011-07-05 2013-01-09 腾讯科技(深圳)有限公司 Video image display method and device implementing closed caption
CN103050001A (en) * 2012-03-26 2013-04-17 青岛海信电器股份有限公司 Control device, electrical household appliance and remote controller
CN103065606A (en) * 2012-12-20 2013-04-24 苏州佳世达电通有限公司 Shielding method and shielding system of particular region of display frame
CN104066004A (en) * 2013-03-18 2014-09-24 广州欢网科技有限责任公司 Television system and method used for television channel intelligent sorting
CN104254022A (en) * 2014-09-25 2014-12-31 小米科技有限责任公司 Subtitle displaying method and device
CN104427263A (en) * 2013-08-23 2015-03-18 联想(北京)有限公司 Method for displaying subtitles and multimedia playing device
CN104573619A (en) * 2014-07-25 2015-04-29 北京智膜科技有限公司 Method and system for analyzing big data of intelligent advertisements based on face identification
CN104822078A (en) * 2015-04-30 2015-08-05 无锡天脉聚源传媒科技有限公司 Shielding method and apparatus for video caption
CN105009570A (en) * 2013-03-15 2015-10-28 索尼公司 Customizing the display of information by parsing descriptive closed caption data
CN105677182A (en) * 2016-01-07 2016-06-15 广东欧珀移动通信有限公司 Information processing method and terminal

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS633574A (en) * 1986-06-23 1988-01-08 Kazumi Owada Member for shielding superimposed caption on television screen
CN1949841A (en) * 2005-10-12 2007-04-18 乐金电子(沈阳)有限公司 Captions treater for image display and method thereof
CN101461241A (en) * 2006-06-09 2009-06-17 汤姆逊许可公司 System and method for closed captioning
CN102196209A (en) * 2010-03-05 2011-09-21 深圳Tcl新技术有限公司 Caption concealment method for television program
CN102868928A (en) * 2011-07-05 2013-01-09 腾讯科技(深圳)有限公司 Video image display method and device implementing closed caption
CN103050001A (en) * 2012-03-26 2013-04-17 青岛海信电器股份有限公司 Control device, electrical household appliance and remote controller
CN103065606A (en) * 2012-12-20 2013-04-24 苏州佳世达电通有限公司 Shielding method and shielding system of particular region of display frame
CN105009570A (en) * 2013-03-15 2015-10-28 索尼公司 Customizing the display of information by parsing descriptive closed caption data
CN104066004A (en) * 2013-03-18 2014-09-24 广州欢网科技有限责任公司 Television system and method used for television channel intelligent sorting
CN104427263A (en) * 2013-08-23 2015-03-18 联想(北京)有限公司 Method for displaying subtitles and multimedia playing device
CN104573619A (en) * 2014-07-25 2015-04-29 北京智膜科技有限公司 Method and system for analyzing big data of intelligent advertisements based on face identification
CN104254022A (en) * 2014-09-25 2014-12-31 小米科技有限责任公司 Subtitle displaying method and device
CN104822078A (en) * 2015-04-30 2015-08-05 无锡天脉聚源传媒科技有限公司 Shielding method and apparatus for video caption
CN105677182A (en) * 2016-01-07 2016-06-15 广东欧珀移动通信有限公司 Information processing method and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324704A (en) * 2018-03-29 2019-10-11 优酷网络技术(北京)有限公司 Method for processing video frequency and device
CN109862380A (en) * 2019-01-10 2019-06-07 北京达佳互联信息技术有限公司 Video data handling procedure, device and server, electronic equipment and storage medium
CN109862380B (en) * 2019-01-10 2022-06-03 北京达佳互联信息技术有限公司 Video data processing method, device and server, electronic equipment and storage medium
CN110599525A (en) * 2019-09-30 2019-12-20 腾讯科技(深圳)有限公司 Image compensation method and apparatus, storage medium, and electronic apparatus
CN115442667A (en) * 2021-06-01 2022-12-06 脸萌有限公司 Video processing method and device
CN115442667B (en) * 2021-06-01 2023-10-20 脸萌有限公司 Video processing method and device
CN114489882A (en) * 2021-12-16 2022-05-13 成都鲁易科技有限公司 Method and device for realizing dynamic skin of browser and storage medium
CN114489882B (en) * 2021-12-16 2023-05-19 成都鲁易科技有限公司 Method and device for realizing dynamic skin of browser and storage medium

Similar Documents

Publication Publication Date Title
CN106911971A (en) A kind of video caption processing method and electronic equipment
AU2020267151B8 (en) User interfaces for capturing and managing visual media
DK201970592A1 (en) User interfaces for capturing and managing visual media
CN107329688B (en) Fingerprint acquisition method and terminal
US20140173498A1 (en) Multiple screen mode in mobile terminal
EP2924593A1 (en) Method and apparatus for constructing documents
CN103649900A (en) Edge gesture
CN106101767A (en) A kind of screen recording method and mobile terminal
US20180255363A1 (en) Method, System and Device for Implementation of Video Shopping
EP3966676A2 (en) User interfaces for capturing and managing visual media
CN107358111A (en) A kind of method for secret protection and mobile terminal
CN106937054A (en) Take pictures weakening method and the mobile terminal of a kind of mobile terminal
CN106909377A (en) A kind of hot-zone page processing method and device
CN107438204A (en) A kind of method and mobile terminal of media file loop play
CN105446619B (en) Device and method for identifying objects
CN103116442B (en) The methods of exhibiting of terminal interface and device
CN106412671B (en) A kind of video broadcasting method and mobile terminal
CN104765528A (en) Display method and device of virtual keyboard
US9560272B2 (en) Electronic device and method for image data processing
CN105573585A (en) Information display method and terminal
KR20150117820A (en) Method For Displaying Image and An Electronic Device Thereof
CN105204759A (en) Picture processing method and electronic terminal
CN107239222A (en) The control method and terminal device of a kind of touch-screen
KR20150039552A (en) Display manipulating method of electronic apparatus and electronic apparatus thereof
CN105579945A (en) Digital device and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171114

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant after: VIVO MOBILE COMMUNICATION CO., LTD.

Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant before: VIVO MOBILE COMMUNICATION CO., LTD.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170630