CN108848334A - A kind of method, apparatus, terminal and the storage medium of video processing - Google Patents
A kind of method, apparatus, terminal and the storage medium of video processing Download PDFInfo
- Publication number
- CN108848334A CN108848334A CN201810758648.3A CN201810758648A CN108848334A CN 108848334 A CN108848334 A CN 108848334A CN 201810758648 A CN201810758648 A CN 201810758648A CN 108848334 A CN108848334 A CN 108848334A
- Authority
- CN
- China
- Prior art keywords
- video
- character image
- image information
- video frame
- personage
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012545 processing Methods 0.000 title claims abstract description 34
- 238000004590 computer program Methods 0.000 claims description 3
- 230000015654 memory Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000013459 approach Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23418—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/454—Content or additional data filtering, e.g. blocking advertisements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention discloses method, apparatus, terminal and the storage mediums of a kind of processing of video, wherein this method includes:Obtain video frame;Identify the character image information in the video frame;According to the character image information identified, after other personages shielding in the video frame in addition to default personage, the video frame that obtains that treated.Technical solution provided in an embodiment of the present invention; by shielding other personages in each video frame in addition to default personage during video; information screen when realizing video to other personages for having neither part nor lot in the video in ambient enviroment; protect the privacy information of other personages; the risk that other personages inadvertently reveal privacy is reduced, personal secrets are improved.
Description
Technical field
The present embodiments relate to method, apparatus, terminals that video call technology field more particularly to a kind of video are handled
And storage medium.
Background technique
With the development of communication technology, the video calling between user, video record and network direct broadcasting etc. be increasingly
It is widely applied in daily life.Currently, user is when using video calling, video record or live streaming, it is usually logical
Camera is crossed on the video terminal of current user terminal to acquire the environmental information around active user, and generates corresponding video and draws
Face is sent to active user end and show in other terminals corresponding to video calling or live streaming.
Active user's week may be included in the video pictures of video calling, video record or live streaming display in the prior art
The status information of the video calling, video record or the other users of live streaming is had neither part nor lot in collarette border, at this time the shape of other users
State information belongs to the privacy information of the other users, and existing video calling, which will cause, has neither part nor lot in view in active user's ambient enviroment
Frequency converses or the privacy compromise risk of the other users of live streaming, and video user is made inadvertently to have invaded the hidden of other users
Private generates harm to the information security of other users.
Especially children are when carrying out video calling, can not be correct in time since children lack certain judgement
Judge whether the status information of other users belongs to privacy of user, so that it is hidden so that calling user is carelessly invaded other people
Private causes privacy leakage risk to the information of other users.
Summary of the invention
The embodiment of the invention provides method, apparatus, terminal and the storage mediums of a kind of processing of video, to realize video mistake
Information screen in journey to other personages for having neither part nor lot in the video in ambient enviroment reduces other personages and inadvertently reveals privacy
Risk, improve the personal secrets of other personages.
In a first aspect, the embodiment of the invention provides a kind of method of video processing, this method includes:
Obtain video frame;
Identify the character image information in the video frame;
According to the character image information identified, other personages in the video frame in addition to default personage are shielded
Afterwards, the video frame that obtains that treated.
Second aspect, the embodiment of the invention provides a kind of device of video processing, which includes:
Module is obtained, for obtaining video frame;
Person recognition module, for identification the character image information in the video frame;
Shroud module, for according to the character image information that identifies, by the video frame in addition to default personage
After other personages shielding, the video frame that obtains that treated.
The third aspect, the embodiment of the invention provides a kind of terminal, which includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
The method that device realizes the processing of video described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
Sequence realizes the method for the processing of video described in any embodiment of that present invention when the program is executed by processor.
The embodiment of the invention provides method, apparatus, terminal and the storage mediums of a kind of processing of video, by video mistake
It shields other personages in each video frame in addition to default personage in journey, realizes when video to having neither part nor lot in the video in ambient enviroment
Other personages information screen, protect the privacy information of other personages, reduce the wind that other personages inadvertently reveal privacy
Personal secrets are improved in danger.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other
Feature, objects and advantages will become more apparent upon:
Figure 1A is a kind of flow chart of the method for video processing that the embodiment of the present invention one provides;
According to the character image information identified in the method that Figure 1B provides for the embodiment of the present invention one, will be removed in video frame
After other personages shielding except default personage, the method flow diagram for the video frame that obtains that treated;
Fig. 2 is a kind of flow chart of the method for video processing provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the method for video processing that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram of the device for video processing that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for terminal that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Figure 1A is a kind of flow chart of the method for video processing that the embodiment of the present invention one provides, and the present embodiment is applicable to
In the case where any video record, video calling or live streaming etc. need to carry out videograph.A kind of video provided in this embodiment
The method of processing can be executed by the device that video provided in an embodiment of the present invention is handled, the device can by software and/
Or the mode of hardware is realized, and is integrated in the terminal for executing this method, the terminal for executing this method in the present embodiment can
To be any one equipment that can carry out video such as tablet computer, smart phone and notebook.Specifically, with reference to Figure 1A, it should
Method may include steps of:
S110 obtains video frame.
Optionally, the information capture of other users can may be recorded unintentionally to solve user during video
Come, generates video pictures, thus the problem of causing the leakage of private information of other users when playing video, head in the present embodiment
It first needs to obtain corresponding video information, which is handled.Wherein, video refers to a series of static image
It captured, recorded in a manner of electric signal, being handled, being stored, being transmitted and being reappeared, being made of multiple still pictures, and group
Video frame is properly termed as at a series of still pictures or static image of video.
Specifically, the method that the video in the present embodiment is handled can be applied to video record, video calling or live streaming etc.
In multiple scenes for needing to shoot video, therefore when executing the present embodiment, it is necessary first to obtain video record, video calling or
The each video frame for including in the correspondence videos of shootings such as live streaming.Illustratively, if user passes through smart phone in video calling
When, by camera captured in real-time user's local environment information in smart phone, corresponding video image is generated, thus at this
Each video frame for forming the video is obtained in corresponding video.
S120 identifies the character image information in video frame.
Wherein, multiple personages in shooting environmental may be captured when shooting video, thus by the personage's
Image information recording is into the correspondence video of shooting.Character image information is the image for the multiple personages for including in video frame at this time
Information can be only human face image information, the personage's general image being also possible to including facial image.
Optionally, after getting video frame, to the personage inadvertently taken in video frame when in order to shoot video
Information is shielded, and can be calculated by the various image recognitions such as human face detection tech, face recognition technology or person recognition technology
Method identifies the character image information of whole personages wherein included in advance in the video frame.Specifically, being examined first by face
Survey technology detects the face location for the whole personages for including in the video frame of acquisition, such as by manually extracting feature and instruction
Practice classifier to detect the character positions in video frame, and by face recognition technology further to the figure at each face location
As information is identified, the whole character image information for including in video frame are obtained.
S130 shields other personages in video frame in addition to default personage according to the character image information identified
Afterwards, the video frame that obtains that treated.
Wherein, presetting personage is the current ginseng when carrying out the video captures such as video record, video calling or network direct broadcasting
With arrive the video capture, and need show be recorded shooting video in current people, default personage can have it is multiple, by current
The user of video capture presets.Other personages be obtain video frame in remove determine participate in the video capture user it
Outside, the user of the video pictures is inadvertently entered during video capture.Illustratively, user A and user B is logical in video
When words, the mobile terminal of the carried out video calling of user A is when executing the method for the present embodiment, it is first determined default personage be
User A and user B, and enter in video pictures in video call process and wish to participate in video calling but do not preset its figure
As the user of information or the user that is not intended to participate in the video calling and inadvertently enter video pictures belong to other users.
In the present embodiment, preset personage information can when the video captures such as video record, video calling or network direct broadcasting start, by
The user for currently participating in the video capture presets to obtain.
Specifically, having neither part nor lot in this when identifying whole character image information in video frame in order to protect in video frame
The privacy information of the other users of video capture, can previously according to the character image information for the default personage having had determined,
Find out corresponding default personage in the whole character image information identified, so that it is determined that have neither part nor lot in the video capture and
Inadvertently enter the character image information of other personages in the video frame picture.Optionally, in the privacy for protecting other personages
When information, fuzzy place can be carried out by character image information of the image fuzzy algorithmic approach to other personages determined in video frame
Reason, with the character image information of other personages in mute video frame, makes the user for watching the video be unable to get its in video frame
The information of his personage protects other personage's privacies.Illustratively, the image fuzzy algorithmic approach in the present embodiment can be Gaussian Blur
Algorithm, surface blur algorithm and stamp of corresponding region etc..Wherein, the character image information of other personages of shielding can be only
Image information in the human face region of other personages is also possible to the corresponding whole body general image information of other personages.
Optionally, other personages in video frame are being determined according to the character image information for presetting personage in the present embodiment
Character image information when, can also be corresponding by other personages in the video frame in order to protect the privacy information of other personages
Character image information remove in the corresponding video pictures of the video frame, and the corresponding character image information of other personages is made not exist
Display in the video frame, to protect the privacy information of other personages.Alternatively, the whole character images identified in the video frame
It, can also be by the character image letter in the video frame except default personage after the character image information for determining default personage in information
Other all images except breath are all made of fuzzy algorithmic approach and are shielded, or will be in addition to the character image information of default personage
Other all images remove in the video pictures of video frame, only retain the character image letter of default personage in the video frame
Breath, to realize the secret protection of other personages.
Optionally, as shown in Figure 1B, according to the character image information identified, by video frame in addition to default personage
After other personages shielding, the video frame that obtains that treated can specifically comprise the following steps:
S131, according to the character image information identified, determining other personages in addition to default personage are in the video frame
The band of position.
Specifically, after identifying the character image information of whole personages in the video frame, the figure map that can will identify that
As information is compared with the character image information of predetermined default personage, so that it is determined that the whole people for including in video frame
Default personage in object and other personages in addition to default personage then can roots in order to shield the image information of other personages
It is determined in addition to default personage first according to the human face detection tech used when identifying the character image information in video frame
The each band of position of other personages in the video frame, to carry out alignment processing to the image in the band of position.
S132 carries out stamp shielding to the character image information in the band of position.
Optionally, the band of position of other personages in the video frame in determining video frame in addition to default personage
When, at this time in the character image information i.e. video frame in the band of position other personages character image information, Ke Yitong
Cross the character image information stamp to other personages in the band of position in the video frame, that is, the position to other personages
Image in region carries out Fuzzy Processing, and the effect for deteriorating and color lump is caused to upset the color range details of the band of position is taken a fancy to
It goes to be one piece one piece of cage, it is therefore an objective to make others that can not see the image in the band of position clearly, in mute video frame
Other personages protect the privacy information of other personages.
Optionally, if the present embodiment is the scene for needing real-time video interaction applied to video calling or network direct broadcasting etc.
In, it, can also will treated video in the present embodiment after by other personages shielding in video frame in addition to default personage
Corresponding be sent in other participants of video interactive of frame is shown.
Technical solution provided in this embodiment, by being shielded during video in each video frame in addition to default personage
Other personages, information screen when realizing video to other personages for having neither part nor lot in the video in ambient enviroment, protect other personages
Privacy information, reduce the risk that other personages inadvertently reveal privacy, improve personal secrets.
Embodiment two
Fig. 2 is a kind of flow chart of the method for video processing provided by Embodiment 2 of the present invention, and the present embodiment is above-mentioned
It is optimized on the basis of embodiment.Specifically, as shown in Fig. 2, may include steps of in the present embodiment:
S210 predefines the character image information of default personage if receiving video sign on.
Wherein, when video sign on is that video user determination starts to shoot video, passes through the video user and click terminal
The corresponding behaviour such as the voice messaging that control video is opened in the terminal that the virtual push button or video user of upper corresponding position issue
Start the operational order of shooting as video.Illustratively, when video user by wechat on smart phone and other users into
When row video calling, video user sends " video calling " corresponding virtual push button in frame by clicking information in wechat, starts
Video calling is carried out, terminal receives corresponding video sign at this time.
Specifically, in the present embodiment, before other personages shielding in video frame in addition to default personage, needing first
Determine the character image information of default personage.The character image information of default personage can video record, video calling or
When network direct broadcasting starts, by current video, user is directly determined, and can also be determined by terminal according in the video frame obtained at first.
In the present embodiment, if terminal receives the video sign on of current video user effect, it can be set in advance by terminal
The default personage set determines method, predefines the character image information of default personage in the terminal.
Optionally, in the present embodiment, the character image information for presetting personage is predefined, may include:
The character image information that pre-stored default personage is obtained in background server, if not deposited in background server
The character image information of default personage is stored up, then acquires the character image information of default personage in advance by video capture frame, and is deposited
Storage is into background server.
Wherein, background server is and executes that the terminal of this method is corresponding that address is locally stored, and uses this for storing
The character image information of the user of terminal, due to terminal belong to some user it is exclusive when, the user be just by the terminal into
The use is locally being stored in advance in default personage during the video captures such as row video record, video calling or network direct broadcasting
The character image information at family, when so as to video captures such as subsequent progress video record, video calling or network direct broadcastings, Ke Yizhi
It connects from the local character image information for obtaining default personage, avoids requiring to resurvey default personage's when each video capture
Character image information improves execution efficiency.
If character image information of the video capture frame for local not stored default personage, by default personage's
When character image information is shown in corresponding frame, the corresponding character image letter for acquiring the default personage in the video capture frame
Breath.For example, the corresponding video capture frame of video clip can be shown first before video is connected when using the video calling in wechat
The character image information of video user determines the personage of default personage by acquiring the character image information of the video user at this time
Image information.
Specifically, corresponding backstage clothes are being locally stored first if receiving the video sign on of user's effect
The character image information of pre-stored default personage is searched in business device, if not finding the character image information of default personage,
The character image information of not stored default personage namely in background server can clap at this time in the video that video clip is shown
It takes the photograph in frame and acquires the character image information of default personage by default personage's head portrait of display, collecting the default personage's
When character image information, available corresponding video frame executes subsequent process.It simultaneously can also be by the collected default people
The character image information of object is stored into background server, can be directly in local acquisition so that the user is in next video
The character image information of corresponding default personage avoids repeating to obtain image, improves execution efficiency.
In addition, in addition to the personage of default personage can be obtained by background server and video capture frame in the present embodiment
Outside image information, it can also be obtained by other method.Optionally, the character image information of default personage is predefined, also
May include:
Obtain initial video frame;Determine the corresponding each position region of character image information in initial video frame, and will be each
Character image information of the character image information as default personage in the band of position in maximum position region.
Wherein, initial video frame is that video user is carrying out the video captures such as video record, video calling or network direct broadcasting
When, the video frame obtained for the first time, and the default personage in initial video frame at this time necessarily comprising the participation video, may can also
Comprising having neither part nor lot in the video in other personages for inadvertently entering video pictures.
Specifically, being directly acquired after receiving video sign on due to initial video frame, at this time due to time interval
It is short, figure picture is preset for the position of other personages closer to the video capture head for shooting video frame, therefore in initial video
The band of position that personage is preset in frame can be significantly greater relative to the band of position of other personages in the video frame.Therefore this reality
It applies in example, the corresponding initial video frame of video can also be obtained, and further pass through face when receiving video sign on
Detection technique determines the corresponding each band of position of the character image information for the whole personages for being included in initial video frame,
And the maximum band of position of covering surface is selected in each position region, by face recognition technology in the maximum position region
Character image information of the character image information character image information that is identified, and will identify that as default personage, from
And subsequent acquisition video frame is executed, the respective operations of other personages in mute video frame.
S220 obtains video frame.
S230 identifies the character image information in video frame.
S240 shields other personages in video frame in addition to default personage according to the character image information identified
Afterwards, the video frame that obtains that treated.
Technical solution provided in this embodiment, by being shielded during video in each video frame in addition to default personage
Other personages, information screen when realizing video to other personages for having neither part nor lot in the video in ambient enviroment, protect other personages
Privacy information, reduce the risk that other personages inadvertently reveal privacy, improve personal secrets.
Embodiment three
Fig. 3 is a kind of flow chart of the method for video processing that the embodiment of the present invention three provides.The present embodiment is above-mentioned
It is optimized on the basis of each embodiment.The video is participated in due in video, may need that new personage is added halfway, this
When other personages in video frame in addition to personage is added in default personage and Xin can be shielded.Specifically, as shown in figure 3, originally
Embodiment may include steps of:
S310 obtains video frame.
S320 identifies the character image information in video frame.
Whether S330 receives personage during video and adds instruction;If so, executing S350;If it is not, executing S340.
Specifically, personage, which adds instruction, carries out operation generation by video user subjectivity, can need to be added newly in video
When user, personage in video clip is actively clicked by video user and adds corresponding virtual push button, or passes through video user
Sending field user voice messaging, generate corresponding personage and add instruction.In the present embodiment the step for do not limit
Its sequence of steps, either phase during video can execute, corresponding only when determining that receiving personage adds instruction
Execute S350.
S340 shields other personages in video frame in addition to default personage according to the character image information identified
Afterwards, the video frame that obtains that treated.
S350 passes through the new character image information for adding personage of video capture frame acquisition.
Specifically, this stylish personage that the video is added is corresponding if receiving personage during video adds instruction
Character image information do not need to shield, it is therefore desirable to the people of personage is newly added in typing in the video capture frame in video clip
Object image information, so that new plus personage character image information is acquired, with other personages' in subsequent shielding video frame
When character image information, new plus personage character image information can be retained.
S360, according to the character image information identified, by the video frame in addition to default personage and Xin Jia personage
Other personages shielding after, the video frame that obtains that treated.
Specifically, instructing if receiving personage during video and adding, and new add, is collected by video capture frame
The character image information of personage, then by its in addition to default personage and the new plus personage in the subsequent video frame for continuing to obtain
His personage shields, and retains the default personage in video frame and new plus personage character image information, adapts to the video of user
Shooting demand.Wherein it is possible to by each image fuzzy technologys such as stamp, Gaussian Blur algorithm and surface blur algorithms, to video
The character image information of other personages in frame in addition to default personage and Xin Jia personage carries out Fuzzy Processing, or directly will view
Other personages in frequency frame in addition to default personage and Xin Jia personage remove the video frame, to shield other mission bit streams, protection
The privacy information of other personages in video frame.
Technical solution provided in this embodiment, by being shielded during video in each video frame except default personage and Xin Jia
Other personages except personage, information screen when realizing video to other personages for having neither part nor lot in the video in ambient enviroment, protect
The privacy information for protecting other personages reduces the risk that other personages inadvertently reveal privacy, improves personal secrets.
Example IV
Fig. 4 is a kind of structural schematic diagram of the device for video processing that the embodiment of the present invention four provides, specifically, such as Fig. 4
It is shown, the apparatus may include:
Module 410 is obtained, for obtaining video frame;
Person recognition module 420, for identification the character image information in video frame;
Shroud module 430, for the character image information that basis identifies, by its in video frame in addition to default personage
After his personage shielding, the video frame that obtains that treated.
Technical solution provided in this embodiment, by being shielded during video in each video frame in addition to default personage
Other personages, information screen when realizing video to other personages for having neither part nor lot in the video in ambient enviroment, protect other personages
Privacy information, reduce the risk that other personages inadvertently reveal privacy, improve personal secrets.
Further, above-mentioned shroud module 430 may include:Position determination unit 4301, for according to the people identified
Object image information determines the band of position of other personages in the video frame in addition to default personage;Screen unit 4302, is used for
Stamp shielding is carried out to the character image information in the band of position.
Further, above-mentioned apparatus can also include:Default personage's determining module 440, if opened for receiving video
Begin to instruct, then predefines the character image information of default personage.
Further, above-mentioned default personage's determining module 440 can be specifically used for:It obtains in background server and deposits in advance
Storage default personage character image information, if in background server not stored default personage character image information, pass through
Video capture frame acquires the character image information of default personage in advance, and stores into background server.
Further, above-mentioned default personage's determining module 440 is also to be specifically used for:Obtain initial video frame;It determines initial
The corresponding each position region of character image information in video frame, and by the figure map in each position region in maximum position region
Character image information as information as default personage.
Further, above-mentioned apparatus can also include:Newly add personage's acquisition module 450, if for during video
It receives personage and adds instruction, then new plus personage character image information is acquired by video capture frame.
Correspondingly, above-mentioned shroud module 430 can be also used for:It, will be in video frame according to the character image information identified
After other personages shielding in addition to default personage and Xin Jia personage, the video frame that obtains that treated.
The device of video processing provided in this embodiment is applicable to the side for the video processing that above-mentioned any embodiment provides
Method has corresponding function and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for terminal that the embodiment of the present invention five provides, as shown in figure 5, the terminal includes place
Manage device 50, storage device 51, communication device 52, input unit 53 and output device 54;The quantity of processor 50 can in the terminal
Be it is one or more, in Fig. 5 by taking a processor 50 as an example;Processor 50, storage device 51, communication device in terminal
52, input unit 53 can be connected with output device 54 by bus or other modes, in Fig. 5 for being connected by bus.
Storage device 51 is used as a kind of computer readable storage medium, and it is executable to can be used for storing software program, computer
Program and module, if the corresponding program instruction/module of method of the video processing in the embodiment of the present invention is (for example, at video
Acquisition module 410, person recognition module 420 and shroud module 430 in the device of reason).Processor 50 is stored in by operation
Software program, instruction and module in storage device 51, thereby executing the various function application and data processing of terminal, i.e.,
The method for realizing above-mentioned video processing.
Storage device 51 can mainly include storing program area and storage data area, wherein storing program area can store operation
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.
It can also include nonvolatile memory in addition, storage device 51 may include high-speed random access memory, for example, at least one
A disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, storage device 51 can
It further comprise the memory remotely located relative to processor 50, these remote memories can be by network connection to setting
It is standby.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Communication device 52 can be used for realizing the network connection or mobile data cube computation of terminal room.
Input unit 53 can be used for receiving the number or character information of input, and generate with the user setting of terminal and
The related key signals input of function control, such as receive video sign on and personage's addition instruction.
Output device 54 may include that display screen etc. shows equipment.
A kind of equipment provided in this embodiment can be used for executing the calculating for the text similarity that above-mentioned any embodiment provides
Method has corresponding function and beneficial effect.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
Program can realize the processing of the video in above-mentioned any embodiment method when being executed by processor.This method can specifically include:
Obtain video frame;
Identify the character image information in video frame;
It is obtained after other personages shielding in video frame in addition to default personage according to the character image information identified
To treated video frame.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention
Video processing provided by any embodiment of the invention can also be performed in the method operation that executable instruction is not limited to the described above
Method in relevant operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more
Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which can store in computer readable storage medium
In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
It is worth noting that, included each unit and module are in the embodiment of the device of above-mentioned video processing
It is divided according to the functional logic, but is not limited to the above division, as long as corresponding functions can be realized;Separately
Outside, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art
For, the invention can have various changes and changes.All any modifications made within the spirit and principles of the present invention are equal
Replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of method of video processing, which is characterized in that including:
Obtain video frame;
Identify the character image information in the video frame;
It is obtained after other personages shielding in the video frame in addition to default personage according to the character image information identified
To treated video frame.
2., will be described the method according to claim 1, wherein the character image information that the basis identifies
After other personages shielding in video frame in addition to default personage, the video frame that obtains that treated, including:
According to the character image information identified, position of other personages in the video frame in addition to default personage is determined
Region;
Stamp shielding is carried out to the character image information in the band of position.
3. the method according to claim 1, wherein further including before obtaining video frame:
If receiving video sign on, the character image information of the default personage is predefined.
4. according to the method described in claim 3, it is characterized in that, the character image letter for predefining the default personage
Breath, including:
The character image information that the pre-stored default personage is obtained in background server, if in the background server
The character image information of the not stored default personage then acquires the figure map of the default personage in advance by video capture frame
As information, and store into the background server.
5. according to the method described in claim 3, it is characterized in that, the character image letter for predefining the default personage
It ceases, further includes:
Obtain initial video frame;
Determine the corresponding each position region of character image information in the initial video frame, and by each position region most
Character image information of the character image information as the default personage in the big band of position.
6. the method according to claim 1, wherein further including:
If receiving personage during video adds instruction, new plus personage character image is acquired by video capture frame
Information;
Correspondingly, the character image information that the basis identifies, by other people in addition to default personage in the video frame
After object shielding, the video frame that obtains that treated, including:
According to the character image information identified, by other personages in the video frame in addition to default personage and Xin Jia personage
After shielding, the video frame that obtains that treated.
7. a kind of device of video processing, which is characterized in that including:
Module is obtained, for obtaining video frame;
Person recognition module, for identification the character image information in the video frame;
Shroud module, for the character image information that basis identifies, by other in the video frame in addition to default personage
After personage's shielding, the video frame that obtains that treated.
8. device according to claim 7, which is characterized in that the shroud module includes:
Position determination unit, for determining that other personages in addition to default personage exist according to the character image information identified
The band of position in the video frame;
Screen unit, for carrying out stamp shielding to the character image information in the band of position.
9. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as the method for video as claimed in any one of claims 1 to 6 processing.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The method such as video as claimed in any one of claims 1 to 6 processing is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810758648.3A CN108848334A (en) | 2018-07-11 | 2018-07-11 | A kind of method, apparatus, terminal and the storage medium of video processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810758648.3A CN108848334A (en) | 2018-07-11 | 2018-07-11 | A kind of method, apparatus, terminal and the storage medium of video processing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108848334A true CN108848334A (en) | 2018-11-20 |
Family
ID=64196982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810758648.3A Pending CN108848334A (en) | 2018-07-11 | 2018-07-11 | A kind of method, apparatus, terminal and the storage medium of video processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108848334A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885701A (en) * | 2019-01-08 | 2019-06-14 | 广东乐心医疗电子股份有限公司 | Multimedia data processing method, system, terminal and computer readable storage medium |
CN110609921A (en) * | 2019-08-30 | 2019-12-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN110719402A (en) * | 2019-09-24 | 2020-01-21 | 维沃移动通信(杭州)有限公司 | Image processing method and terminal equipment |
CN111276168A (en) * | 2018-12-05 | 2020-06-12 | 三星电子株式会社 | Electronic device for generating video including character and method thereof |
CN111291599A (en) * | 2018-12-07 | 2020-06-16 | 杭州海康威视数字技术股份有限公司 | Image processing method and device |
CN111754386A (en) * | 2019-03-26 | 2020-10-09 | 杭州海康威视数字技术股份有限公司 | Image area shielding method, device, equipment and storage medium |
CN111885339A (en) * | 2020-07-01 | 2020-11-03 | 海尔优家智能科技(北京)有限公司 | Privacy processing method and device, computer-readable storage medium and electronic medium |
CN112672102A (en) * | 2019-10-15 | 2021-04-16 | 杭州海康威视数字技术股份有限公司 | Video generation method and device |
CN113014949A (en) * | 2021-03-10 | 2021-06-22 | 读书郎教育科技有限公司 | Student privacy protection system and method for smart classroom course playback |
CN113709519A (en) * | 2021-08-27 | 2021-11-26 | 上海掌门科技有限公司 | Method and equipment for determining live broadcast shielding area |
CN114332930A (en) * | 2021-12-28 | 2022-04-12 | 元气森林(北京)食品科技集团有限公司 | Showcase control method, equipment and medium |
CN114845133A (en) * | 2022-06-30 | 2022-08-02 | 南京联迪信息系统股份有限公司 | Man-machine interaction method and system for online live broadcast |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108040265A (en) * | 2017-12-13 | 2018-05-15 | 北京奇虎科技有限公司 | A kind of method and apparatus handled video |
CN108133718A (en) * | 2017-12-13 | 2018-06-08 | 北京奇虎科技有限公司 | A kind of method and apparatus handled video |
CN108235054A (en) * | 2017-12-15 | 2018-06-29 | 北京奇虎科技有限公司 | A kind for the treatment of method and apparatus of live video data |
-
2018
- 2018-07-11 CN CN201810758648.3A patent/CN108848334A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108040265A (en) * | 2017-12-13 | 2018-05-15 | 北京奇虎科技有限公司 | A kind of method and apparatus handled video |
CN108133718A (en) * | 2017-12-13 | 2018-06-08 | 北京奇虎科技有限公司 | A kind of method and apparatus handled video |
CN108235054A (en) * | 2017-12-15 | 2018-06-29 | 北京奇虎科技有限公司 | A kind for the treatment of method and apparatus of live video data |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111276168A (en) * | 2018-12-05 | 2020-06-12 | 三星电子株式会社 | Electronic device for generating video including character and method thereof |
US11531702B2 (en) | 2018-12-05 | 2022-12-20 | Samsung Electronics Co., Ltd. | Electronic device for generating video comprising character and method thereof |
CN111276168B (en) * | 2018-12-05 | 2021-12-21 | 三星电子株式会社 | Electronic device for generating video including character and method thereof |
US11132398B2 (en) | 2018-12-05 | 2021-09-28 | Samsung Electronics Co., Ltd. | Electronic device for generating video comprising character and method thereof |
CN111291599A (en) * | 2018-12-07 | 2020-06-16 | 杭州海康威视数字技术股份有限公司 | Image processing method and device |
CN109885701A (en) * | 2019-01-08 | 2019-06-14 | 广东乐心医疗电子股份有限公司 | Multimedia data processing method, system, terminal and computer readable storage medium |
CN109885701B (en) * | 2019-01-08 | 2020-01-10 | 中山乐心电子有限公司 | Multimedia data processing method, system, terminal and computer readable storage medium |
CN111754386A (en) * | 2019-03-26 | 2020-10-09 | 杭州海康威视数字技术股份有限公司 | Image area shielding method, device, equipment and storage medium |
CN111754386B (en) * | 2019-03-26 | 2023-08-18 | 杭州海康威视数字技术股份有限公司 | Image area shielding method, device, equipment and storage medium |
CN110609921B (en) * | 2019-08-30 | 2022-08-19 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN110609921A (en) * | 2019-08-30 | 2019-12-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN110719402A (en) * | 2019-09-24 | 2020-01-21 | 维沃移动通信(杭州)有限公司 | Image processing method and terminal equipment |
CN112672102A (en) * | 2019-10-15 | 2021-04-16 | 杭州海康威视数字技术股份有限公司 | Video generation method and device |
CN112672102B (en) * | 2019-10-15 | 2023-03-24 | 杭州海康威视数字技术股份有限公司 | Video generation method and device |
CN111885339A (en) * | 2020-07-01 | 2020-11-03 | 海尔优家智能科技(北京)有限公司 | Privacy processing method and device, computer-readable storage medium and electronic medium |
CN113014949A (en) * | 2021-03-10 | 2021-06-22 | 读书郎教育科技有限公司 | Student privacy protection system and method for smart classroom course playback |
CN113014949B (en) * | 2021-03-10 | 2022-05-06 | 读书郎教育科技有限公司 | Student privacy protection system and method for smart classroom course playback |
CN113709519A (en) * | 2021-08-27 | 2021-11-26 | 上海掌门科技有限公司 | Method and equipment for determining live broadcast shielding area |
CN113709519B (en) * | 2021-08-27 | 2023-11-17 | 上海掌门科技有限公司 | Method and equipment for determining live broadcast shielding area |
CN114332930A (en) * | 2021-12-28 | 2022-04-12 | 元气森林(北京)食品科技集团有限公司 | Showcase control method, equipment and medium |
CN114845133A (en) * | 2022-06-30 | 2022-08-02 | 南京联迪信息系统股份有限公司 | Man-machine interaction method and system for online live broadcast |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108848334A (en) | A kind of method, apparatus, terminal and the storage medium of video processing | |
KR100996787B1 (en) | A system and method for whiteboard and audio capture | |
CN110012209B (en) | Panoramic image generation method and device, storage medium and electronic equipment | |
TW201911130A (en) | Method and device for remake image recognition | |
CN106060470B (en) | Video monitoring method and system | |
US20150009359A1 (en) | Method and apparatus for collaborative digital imaging | |
US20140223474A1 (en) | Interactive media systems | |
CN103685940A (en) | Method for recognizing shot photos by facial expressions | |
CN111263170B (en) | Video playing method, device and equipment and readable storage medium | |
US20230260313A1 (en) | Method for identifying potential associates of at least one target person, and an identification device | |
CN112637500B (en) | Image processing method and device | |
CN111241872A (en) | Video image shielding method and device | |
CN205883437U (en) | Video monitoring device | |
CN111290659A (en) | Writing board information recording method and system and writing board | |
CN113132801A (en) | Video playing control method, device, terminal and storage medium | |
CN112235510A (en) | Shooting method, shooting device, electronic equipment and medium | |
CN113194256A (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN111800574A (en) | Imaging method and device and electronic equipment | |
WO2022247766A1 (en) | Image processing method and apparatus, and electronic device | |
US10282633B2 (en) | Cross-asset media analysis and processing | |
CN113014799B (en) | Image display method and device and electronic equipment | |
CN114143429A (en) | Image shooting method, image shooting device, electronic equipment and computer readable storage medium | |
CN113784058A (en) | Image generation method and device, storage medium and electronic equipment | |
CN113784084A (en) | Processing method and device | |
WO2014092553A2 (en) | Method and system for splitting and combining images from steerable camera |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181120 |