CN109996109A - A kind of image processing method and device - Google Patents
A kind of image processing method and device Download PDFInfo
- Publication number
- CN109996109A CN109996109A CN201910209872.1A CN201910209872A CN109996109A CN 109996109 A CN109996109 A CN 109996109A CN 201910209872 A CN201910209872 A CN 201910209872A CN 109996109 A CN109996109 A CN 109996109A
- Authority
- CN
- China
- Prior art keywords
- picture
- frame
- processed
- image
- key point
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 45
- 238000012545 processing Methods 0.000 claims abstract description 26
- 238000004891 communication Methods 0.000 claims description 17
- 230000008859 change Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 230000004048 modification Effects 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 5
- 230000000903 blocking effect Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 6
- 102100037060 Forkhead box protein D3 Human genes 0.000 description 3
- 101001029308 Homo sapiens Forkhead box protein D3 Proteins 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003100 immobilizing effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000011112 process operation Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4318—Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
-
- 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/44016—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 splicing one content stream with another content stream, e.g. for substituting a video clip
-
- 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/4402—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 reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—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 reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- 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/4782—Web browsing, e.g. WebTV
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8352—Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The embodiment of the invention provides a kind of image processing method and devices, browser applied to the method in terminal, browser and server network intercommunication, method includes: when user watches the video image stored in server by browser, it obtains in video image comprising the picture frame to be processed to shielded image picture, it determines in picture frame to be processed comprising the object region to shielded image picture, position based on object region in picture frame to be processed, generate the picture of preset format, wherein, the picture of generation can be covered to shielded image picture.Based on above-mentioned processing, directly the image frame in the video image in server can be carried out by browser blocking processing, eliminate foradownloaded video image, transcoding and again uploaded videos image the step of, and relative to video image editor's application program, the complexity of operation is reduced, and then improves the online efficiency of video image.
Description
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of image processing method and device.
Background technique
With the fast development of development of Mobile Internet technology, more and more users' selection watches video image by network.
Video image can be uploaded to server by the provider of video image, and the above-mentioned service of user terminal access can be used in user
Device, in turn, user can watch video image by user terminal.Additionally, it is provided quotient generally requires to certain in video image
A little image frames (being properly termed as to shielded image picture) are blocked, for example, to including advertising logo, TV station in picture frame
The image frame of logo blocked.
In the prior art, usually by video editing personnel to original video image (being properly termed as video image to be processed)
Carry out editing and processing.Video editing personnel need to download video image to be processed from server, install video image in the terminal
Editing application program in turn can be according to video image editor's application program, each image for including to video image to be processed
Being blocked to shielded image picture in frame.Then, video editing personnel can carry out the video image after editing and processing
Transcoding, and it is uploaded to server.
However, inventor has found in the implementation of the present invention, at least there are the following problems for the prior art:
In the above process, the operation handled by video image editor application program video image is more complicated,
And video editing personnel also need the video image after editing and processing carrying out transcoding and are uploaded to server again.On as it can be seen that
It states that process is cumbersome, reduces the online efficiency of video image.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of image processing method and device, and it is online to can be improved video image
Efficiency.Specific technical solution is as follows:
In a first aspect, in order to achieve the above object, the embodiment of the invention discloses a kind of image processing method, the methods
Browser applied to the method in terminal, the browser and server network intercommunication, which comprises
When user watches video image stored in the server by the browser, the video image is obtained
In include picture frame to be processed to shielded image picture;
It determines in the picture frame to be processed comprising the object region to shielded image picture;
Position based on the object region in the picture frame to be processed, generates the picture of preset format,
In, the picture of generation can cover described to shielded image picture.
Optionally, the object-image region to shielded image picture is included in the determination picture frame to be processed
Domain, comprising:
The picture received for the picture frame to be processed blocks instruction, wherein the picture blocks to be carried in instruction
The coordinate and sequence identification for the key point that user specifies;
According to the coordinate and sequence identification of the key point that the user specifies, determination includes in the picture frame to be processed
The object region to shielded image picture.
Optionally, the picture frame to be processed is multiple continuous picture frames, and the picture blocks also to be carried in instruction
The mark for the key images frame that user specifies in the picture frame to be processed, the key point that the user specifies are the key
Point in picture frame;
In the coordinate and sequence identification of the key point specified according to the user, in the picture frame to be processed really
Before the fixed object region comprising described in shielded image picture, the method also includes:
According to the mark of the key images frame, the key images frame is determined from the picture frame to be processed;
The coordinate and sequence identification of the key point specified according to the user determine in the picture frame to be processed
Include the object region to shielded image picture, comprising:
According to the coordinate and sequence identification of the key point that the user specifies, by the key images frame by the user
The image-region that line between specified key point is constituted, the object region being determined as in the key images frame;
According to the coordinate and sequence identification of the key point in the key images frame, determines and removed in the picture frame to be processed
The key point in other picture frames other than the key images frame;
By the key in other picture frames in the picture frame to be processed in addition to the key images frame by determining
The image-region that line between point is constituted is determined as comprising the object region to shielded image picture.
Optionally, the picture frame to be processed be multiple images frame, it is described to shielded image picture in the figure to be processed
As the position in frame immobilizes, the key point that the user specifies is the point in target image frame, and the target image frame is
Any image frame in the picture frame to be processed;
The coordinate and sequence identification of the key point specified according to the user determine in the picture frame to be processed
Include the object region to shielded image picture, comprising:
According to the coordinate and sequence identification of the key point that the user specifies, by the target image frame by the user
The image-region that line between specified key point is constituted, the object region being determined as in the target image frame;
According to the coordinate and sequence identification of the key point in the target image frame, determines and removed in the picture frame to be processed
The key point in other picture frames other than the target image frame;
By the key in other picture frames in the picture frame to be processed in addition to the target image frame by determining
The image-region that line between point is constituted is determined as comprising the object region to shielded image picture.
Optionally, it in the position based on the object region in the picture frame to be processed, generates default
Before the picture of format, the method also includes:
The key point received for the picture frame to be processed modifies instruction;
It is modified and is instructed according to the key point, modified to the key point in the picture frame to be processed;
The image-region that line in the picture frame to be processed between modified key point is constituted is determined as described
Object region in picture frame to be processed.
Optionally, described modified according to the key point instructs, and repairs to the key point in the picture frame to be processed
Change, comprising:
Delete the key point that user specifies in the picture frame to be processed;Or, being added in the picture frame to be processed new
Key point;Or, modifying to the coordinate for the key point that user in the picture frame to be processed specifies.
Optionally, it in the position based on the object region in the picture frame to be processed, generates default
Before the picture of format, the method also includes:
According to position of the object region determined in the picture frame to be processed, in the picture frame to be processed
Middle determination includes the rectangular area of the object region;
The position based on the object region in the picture frame to be processed, generates the figure of preset format
Piece, comprising:
The picture of pre-set color is generated in the object region;
In region between the boundary of the object region and the boundary of the rectangular area, generate described default
The picture of the corresponding transparency gradual change of color.
Second aspect, in order to achieve the above object, the embodiment of the invention discloses a kind of image processing apparatus, described devices
Browser applied to the method in terminal, the browser and server network intercommunication, described device include:
Module is obtained, for obtaining when user watches video image stored in the server by the browser
It takes in the video image comprising the picture frame to be processed to shielded image picture;
First determining module, for determining in the picture frame to be processed comprising the target figure to shielded image picture
As region;
Generation module generates default for the position based on the object region in the picture frame to be processed
The picture of format, wherein the picture of generation can cover described to shielded image picture.
Optionally, first determining module includes:
Receiving submodule is directed to the picture of the picture frame to be processed and blocks instruction, wherein picture screening for receiving
The coordinate and sequence identification of the key point that user specifies are carried in gear instruction;
First determine submodule, the coordinate and sequence identification of the key point for being specified according to the user, it is described to
It handles and is determined in picture frame comprising the object region to shielded image picture.
Optionally, the picture frame to be processed is multiple continuous picture frames, and the picture blocks also to be carried in instruction
The mark for the key images frame that user specifies in the picture frame to be processed, the key point that the user specifies are the key
Point in picture frame;
First determining module further include:
Second determines submodule, for the mark according to the key images frame, determines from the picture frame to be processed
The key images frame;
Described first determines submodule, specifically for the coordinate and sequence identification of the key point specified according to the user,
The image-region that line between the key point specified in the key images frame by the user is constituted, is determined as the pass
Object region in key picture frame;
According to the coordinate and sequence identification of the key point in the key images frame, determines and removed in the picture frame to be processed
The key point in other picture frames other than the key images frame;
By the key in other picture frames in the picture frame to be processed in addition to the key images frame by determining
The image-region that line between point is constituted is determined as comprising the object region to shielded image picture.
Optionally, the picture frame to be processed be multiple images frame, it is described to shielded image picture in the figure to be processed
As the position in frame immobilizes, the key point that the user specifies is the point in target image frame, and the target image frame is
Any image frame in the picture frame to be processed;
Described first determines submodule, specifically for the coordinate and sequence identification of the key point specified according to the user,
The image-region that line between the key point specified in the target image frame by the user is constituted, is determined as the mesh
Object region in logo image frame;
According to the coordinate and sequence identification of the key point in the target image frame, determines and removed in the picture frame to be processed
The key point in other picture frames other than the target image frame;
By the key in other picture frames in the picture frame to be processed in addition to the target image frame by determining
The image-region that line between point is constituted is determined as comprising the object region to shielded image picture.
Optionally, described device further include:
Modified module, for receiving the key point modification instruction for being directed to the picture frame to be processed;
It is modified and is instructed according to the key point, modified to the key point in the picture frame to be processed;
The image-region that line in the picture frame to be processed between modified key point is constituted is determined as described
Object region in picture frame to be processed.
Optionally, the modified module, specifically for deleting the key point that user specifies in the picture frame to be processed;
Or, adding new key point in the picture frame to be processed;Or, the key point specified to user in the picture frame to be processed
Coordinate modify.
Optionally, described device further include:
Second determining module, for the position according to the object region determined in the picture frame to be processed,
The rectangular area comprising the object region is determined in the picture frame to be processed;
The generation module, specifically for generating the picture of pre-set color in the object region;
In region between the boundary of the object region and the boundary of the rectangular area, generate described default
The picture of the corresponding transparency gradual change of color.
At the another aspect that the present invention is implemented, a kind of electronic equipment is additionally provided, the electronic equipment includes processor, leads to
Believe interface, memory and communication bus, wherein processor, communication interface, memory complete mutual lead to by communication bus
Letter;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described image processing method.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, it is described computer-readable
Instruction is stored in storage medium, when run on a computer, so that computer executes at any of the above-described image
Reason method.
At the another aspect that the present invention is implemented, the embodiment of the invention also provides a kind of, and the computer program comprising instruction is produced
Product, when run on a computer, so that computer executes any of the above-described image processing method.
The embodiment of the invention provides a kind of image processing method, can be applied to the browser in terminal, browser with
Server network intercommunication, when user watches the video image stored in server by browser, available video image
In comprising picture frame to be processed to shielded image picture, determine in picture frame to be processed comprising the target to shielded image picture
Image-region, the position based on object region in picture frame to be processed, generates the picture of preset format, wherein generates
Picture can cover to shielded image picture.It, can be by browser directly to the video figure of server based on above-mentioned processing
As in image frame carry out blocking processing, eliminate foradownloaded video image, transcoding and again uploaded videos image the step of, and
Relative to video image editor's application program, the complexity of operation is reduced, and then improves the online efficiency of video image.
Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach all the above excellent
Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of flow chart of image processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of object region and rectangular area provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of image processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of image processing apparatus provided in an embodiment of the present invention;
Fig. 5 is the structure chart of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
In the prior art, the operation handled by video image editor application program video image is more complicated,
And video editing personnel also need the video image after editing and processing carrying out transcoding and are uploaded to server again, process operation
Cumbersome, the online efficiency of video image is lower.
To solve the above-mentioned problems, the present invention provides a kind of image processing method, this method be can be applied in terminal
Browser, browser can be with server network intercommunication.It is serviced when user (i.e. video editing personnel) is watched by browser
When the video image stored in device, the image to be processed to shielded image picture is included in the available video image of browser
Frame, and determine that in turn, browser can be based on mesh comprising the object region to shielded image picture in picture frame to be processed
Position of the logo image region in picture frame to be processed generates the picture of preset format, and the picture generated can be covered wait hide
Keep off image frame.
Based on above-mentioned processing, directly the image frame in video image in server can be blocked by browser
Processing, eliminate foradownloaded video image, transcoding and again uploaded videos image the step of, and relative to video image editor apply
Program reduces the complexity of operation, and then improves the online efficiency of video image.
It is described in detail below with specific embodiment to the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of image processing method provided in an embodiment of the present invention, and this method can answer
For the browser in terminal, browser can may comprise steps of with server network intercommunication, this method:
S101: when user watches the video image stored in server by browser, include in acquisition video image
Picture frame to be processed to shielded image picture.
Wherein, which is that video editing personnel video image to be treated (is properly termed as video figure to be processed
Picture), it is the image frame that video editing personnel need to block in video image to be processed to shielded image picture, for example, wait hide
Gear image frame can be the image frame in video image to be processed comprising advertising logo, the logo of TV station.
Picture frame to be processed is in video image to be processed comprising the picture frame to shielded image picture, picture frame to be processed
It can be a picture frame, be also possible to multiple images frame.
In inventive embodiments, it is based on existing B/S ((Browser/Server, browser/server) framework, video
Editorial staff can watch the video image stored in server by browser, and determine video image to be treated (i.e.
Video image to be processed), browser can then determine video image to be processed in the video image that server stores, and obtain
Include the picture frame (picture frame i.e. to be processed) to shielded image picture in image to be processed.
In a kind of implementation, video editing personnel can watch the picture of the image in video image to be processed by browser
Face, and the mark of picture frame to be processed is inputted to browser, correspondingly, browser then can be according to the mark of picture frame to be processed
Know, picture frame to be processed is obtained from video image to be processed.
S102: it determines in picture frame to be processed comprising the object region to shielded image picture.
In inventive embodiments, after browser obtains picture frame to be processed, browser can determine picture frame to be processed
In include image-region (i.e. object region) to shielded image picture.
In a kind of implementation, video editing personnel can be inputted to browser to shielded image picture, be obtained in browser
It takes after shielded image picture, browser can carry out image recognition to picture frame to be processed, determine in picture frame to be processed
Include the object region to shielded image picture.
It is understood that object region can be can be comprising the minimum image region to shielded image picture.
For example, be round advertising logo to shielded image picture, then object region can be can to include the circle advertising logo
The smallest circular image regions;It is triangle advertising logo to shielded image picture, then object region can be for can
The smallest triangular image region comprising the triangle advertising logo.
In order to improve the accuracy of object region, user experience is further increased, browser can also be according to video
The instruction of editorial staff, determines object region.Optionally, S102 may comprise steps of:
S1021: the picture received for picture frame to be processed blocks instruction.
Wherein, picture blocks the coordinate that the key point that video editing personnel specify can be carried in instruction and sequence is marked
Know.Key point is determined for position of the object region in picture frame to be processed.
In inventive embodiments, after browser gets picture frame to be processed, video editing personnel can be according to business
Demand generates key point by browser in picture frame to be processed, and the key point of generation is for determining that object region exists
Position in image to be processed.That is, video editing personnel can block to browser input for the picture of picture frame to be processed
Instruction, correspondingly, browser, which can receive picture, blocks instruction.
In a kind of implementation, video editing personnel are when watching picture frame to be processed by browser, video editing people
Member can be based on JS (JavaScript), and according to the position to shielded image picture in picture frame to be processed, to be processed
Multiple points (i.e. key point) are specified in picture frame, the image-region that the line between multiple key points is constituted cover to
Shielded image picture.Correspondingly, coordinate of the available each key point of browser in picture frame to be processed and for indicating each
The sequence identification of the genesis sequence of key point.
S1022: according to the coordinate and sequence identification of the key point that user specifies, determined in picture frame to be processed comprising to
The object region of shielded image picture.
In inventive embodiments, after receiving picture and blocking instruction, browser can be specified according to video editing personnel
Key point coordinate and sequence identification, in picture frame to be processed determine object region (i.e. comprising to shielded image draw
The image-region in face).
In a kind of implementation, if picture frame to be processed is a picture frame, browser can be directly according to picture
Block the coordinate and sequence identification of each key point carried in instruction, by picture frame to be processed by the line between each key point
The image-region of composition is determined as the object region of picture frame to be processed.
In addition, browser can be according to SVG Line (Scalable Vector Graphics Line, Scalable Vector
Pattern line) displaying target image-region boundary.
For example, there are key point P1, P2, P3 and P4 in currently pending picture frame, the genesis sequence of 4 key points is
P1, P2, P3, P4, then between the line between the line between the line between P1 and P2, P2 and P3, P3 and P4, P4 and P1
Line constitutes object region.
Optionally, picture frame to be processed can also be multiple continuous picture frames, and picture blocks can also carry in instruction
The mark for the key images frame for thering are video editing personnel to specify in each picture frame to be processed, the key that video editing personnel specify
Point is the point in key images frame, then before S1022, this method may also comprise the following steps::
According to the mark of key images frame, key images frame is determined from picture frame to be processed.
Step 1 determines key images frame according to the mark of key images frame from picture frame to be processed.
In inventive embodiments, if picture frame to be processed is multiple continuous picture frames, video editing personnel can be with
In each picture frame to be processed, multiple picture frames (i.e. key images frame) that movement occurs to shielded image picture are specified, and refer to
Key point in fixed each key images frame.That is, picture blocks the mark that can also carry key images frame in instruction, and draw
Block the coordinate and sequence identification that the point that video editing personnel specify in key images frame is carried in instruction in face.
In turn, browser can block the mark of the key images frame carried in instruction according to picture, from each figure to be processed
As determining key images frame in frame.
Correspondingly, S1022 may comprise steps of:
Step 1 will be specified in key images frame by user according to the coordinate and sequence identification of the key point that user specifies
Key point between line constitute image-region, the object region being determined as in key images frame.
In inventive embodiments, key images frame is determined in browser, and obtains key point in key images frame
After coordinate and sequence identification, for each key images frame, browser can be according to the seat of the key point in the key images frame
Mark and sequence identification, the image-region that will be made of in the key images frame the line between key point are determined as key figure
As the object region in frame, in turn, the object region in the available each key images frame of browser.
Step 2 is determined and is removed in picture frame to be processed according to the coordinate and sequence identification of the key point in key images frame
The key point in other picture frames other than key images frame.
In inventive embodiments, browser can according to the coordinate and sequence identification of the key point in each key images frame,
Determine the key point in other picture frames in each picture frame to be processed in addition to key images frame.
In this step, for two picture frames, if the number for the picture frame being spaced between two picture frames is less,
Movement of the same image frame between two picture frames is considered as average rate linear motion.For example, in first picture frame
The coordinate of middle pixel A is (X, Y), and pixel A is moved to the position that coordinate is (X+4, Y+8) in third picture frame, then
The coordinate that the pixel A in second picture frame can be deduced is (X+2, Y+4).
Therefore, after determining the key point in each key images frame, browser can be according in each key images frame
Key point predicts that personnel exist without video editing to the key point in other picture frames in addition to key images frame
Key point is specified in each picture frame to be processed, it is possible to reduce the operation of video editing personnel further increases on video image
The efficiency of line.
In this step, browser can according in each key images frame constitute object region key point coordinate,
The position of key point in other picture frames is predicted, and then according to the key point in other picture frames for predicting to obtain
Position determines the position of the object region in other picture frames.
It is understood that relative ranks of the same key point in different picture frames will not change.
Step 3, by the key point in other picture frames in picture frame to be processed in addition to key images frame by determining
Between the image-region that constitutes of line, be determined as the object region comprising to shielded image picture.
In inventive embodiments, in other picture frames in determining each picture frame to be processed in addition to key images frame
Key point after, browser can by other picture frames in each picture frame to be processed in addition to key images frame by determining
Key point between line constitute image-region, be determined as object region.
Optionally, picture frame to be processed can be multiple images frame, and to shielded image picture in each picture frame to be processed
In position immobilize, then the key point that video editing personnel specify can be the point in target image frame, target image frame
It can be any image frame in picture frame to be processed, correspondingly, S1022 may comprise steps of:
Step 1 will be specified in target image frame by user according to the coordinate and sequence identification of the key point that user specifies
Key point between line constitute image-region, the object region being determined as in target image frame.
In inventive embodiments, if picture frame to be processed is multiple images frame, and to shielded image picture respectively wait locate
Position in reason picture frame immobilizes, then video editing personnel can specify any one figure from each picture frame to be processed
As frame (i.e. target image frame), and specify the key point in target image frame.That is, picture, which blocks in instruction, carries target image
The coordinate and sequence identification of key point in frame.
Correspondingly, browser can be according to the coordinate and sequence identification of the key point in target image frame, by target image
The image-region being made of in frame the line between key point, the object region being determined as in target image frame.
Step 2 is determined and is removed in picture frame to be processed according to the coordinate and sequence identification of the key point in target image frame
The key point in other picture frames other than target image frame.
In inventive embodiments, browser can be according to the coordinate and sequence identification of the key point in target image frame, really
The key point in other picture frames in fixed each picture frame to be processed in addition to target image frame.
In this step, due to immobilizing to position of the shielded image picture in each picture frame to be processed, browsing
Device can determine the position of the key point in other picture frames, the position consistency with the key point in target image frame.
It is understood that relative ranks of the same key point in different picture frames will not change.
Step 3, by the key point in other picture frames in picture frame to be processed in addition to target image frame by determining
Between the image-region that constitutes of line, be determined as the object region comprising to shielded image picture.
In inventive embodiments, in other picture frames in determining each picture frame to be processed in addition to target image frame
Key point after, browser can by other picture frames in each picture frame to be processed in addition to target image frame by determining
Key point between line constitute image-region, be determined as object region.
As it can be seen that browser can directly determine its in addition to target image frame according to the key point in target image frame
The position of object region in his picture frame, without video editing personnel in each picture frame to be processed designated key
Point, it is possible to reduce the operation of video editing personnel further increases the online efficiency of video image.
S103: based on position of the object region in picture frame to be processed, the picture of preset format is generated.
Wherein, the picture of generation can be covered to shielded image picture, and preset format can be by technical staff rule of thumb
It is configured, for example, the picture generated can be pre-set color, and there is default transparency.
In inventive embodiments, after the object region that browser determines in picture frame to be processed, browser can
With the position based on object region in picture frame to be processed, the figure of preset format is generated in picture frame to be processed
Piece, the picture of generation can cover the image frame that video editing personnel need to block (i.e. to shielded image picture).
In addition, can also generate edge in order to improve the user experience of the user of viewing video image and have transparency gradually
The picture of change, to cover to shielded image picture, optionally, before S103, this method may also comprise the following steps::
According to position of the object region determined in picture frame to be processed, packet is determined in picture frame to be processed
Rectangular area containing object region.
In inventive embodiments, after the object region that browser determines in picture frame to be processed, browser is also
The rectangular area comprising object region can be determined in picture frame to be processed.
In a kind of implementation, referring to Fig. 3, the hexagon in Fig. 3 indicates the object region in picture frame to be processed,
Browser can determine the external rectangular area of hexagon according to the coordinate on 6 vertex of the hexagon, that is, include the hexagon
Rectangular area.
Correspondingly, S103 may comprise steps of:
The picture that pre-set color is generated in object region, on the boundary of object region and the side of rectangular area
In region between boundary, the picture of the corresponding transparency gradual change of pre-set color is generated.
In inventive embodiments, the object region in picture frame to be processed is being determined, and include the target figure
As region rectangular area after, browser can generate the picture of pre-set color in object region, and in target image
In region between the boundary in region and the boundary of rectangular area, the picture of the corresponding transparency gradual change of pre-set color is generated.
In a kind of implementation, the transparency of the corresponding picture of object region can be 0%, the boundary of rectangular area
The transparency for locating picture can be 100%, transparent from the boundary of object region to the boundary picture of rectangular area
Degree is gradually increased.
Furthermore it is also possible to be adjusted to object region, optionally, before S103, this method can also include
Following steps:
Step 1, the key point received for picture frame to be processed modify instruction.
In inventive embodiments, video editing personnel can be repaired by key point of the browser to picture frame to be processed
Change, video editing personnel can input key point modification instruction to browser.Correspondingly, browser can receive for be processed
The key point of picture frame modifies instruction.
Step 2 is modified according to key point and is instructed, modifies to the key point in picture frame to be processed.
In inventive embodiments, browser can be modified according to key point and be instructed, to the key point in picture frame to be processed
It modifies.
Optionally, browser can take following manner to modify key point:
Delete the key point that user specifies in picture frame to be processed;Or, adding new key point in picture frame to be processed;
Or, modifying to the coordinate for the key point that user in picture frame to be processed specifies.
In inventive embodiments, video editing personnel can choose already present a certain key point in picture frame to be processed,
And select to delete the key point, correspondingly, browser can delete the key point.For example, existing in currently pending picture frame
Key point P1, P2, P3 and P4, the genesis sequences of 4 key points are P1, P2, P3, P4, the line, P2 and P3 between P1 and P2 it
Between line, the line between P3 and P4, the line between P4 and P1 constitute object region.When video editing personnel are clear
It lookes in device when double-clicking P4, browser can delete P4.
Video editing personnel can also add new key point in picture frame to be processed, for example, video editing personnel can
To double-click the image-region in picture frame to be processed in a browser, then browser can generate at video editing personnel's double-click
New key point.
In addition, video editing personnel can also modify to the coordinate of the key point in picture frame to be processed, for example, view
Frequency editorial staff can click already present a certain key point in selection picture frame to be processed in a browser, and be dragged to a certain
Position, the then position after browser can be dragged according to video editing personnel, determines the modified coordinate of the key point.
Step 3, the image-region that the line between key point modified in picture frame to be processed is constituted, is determined as
Object region in picture frame to be processed.
In inventive embodiments, after browser modifies to key point, browser can be according to modified key
Point, redefines object region, that is, browser can be by the line between key point modified in picture frame to be processed
The image-region of composition, the object region being determined as in key images frame.
In a kind of implementation, there are key point P1, P2, P3 and P4, the lifes of 4 key points in currently pending picture frame
It is P1, P2, P3, P4, line, P4 and P1 between line, P2 between P1 and P2 and the line between P3, P3 and P4 at sequence
Between line constitute object region.If browser deletes P4, browser can be by line, the P2 between P1 and P2
The image-region that line, P3 between P3 and the line between P1 are constituted, is determined as updated object region.
If the new key point P5 of addition, browser can by between line, P2 and the P3 between P1 and P2 line,
The image-region that line between line, P4 between P3 and P4 and the line between P5, P5 and P1 is constituted, after being determined as update
Object region.
If browser has updated the coordinate of P4, browser can will be between line, P2 and the P3 between P1 and P2
The image-region that line, updated P4 between line, P3 and updated P4 and the line between P1 are constituted, is determined as more
Object region after new.
Corresponding with the embodiment of the method for Fig. 1, referring to fig. 4, Fig. 4 is a kind of image procossing dress provided in an embodiment of the present invention
The structure chart set, described device browser applied to the method in terminal, the browser and server network intercommunication, described device can
To include:
Module 401 is obtained, is used for when user watches video image stored in the server by the browser,
It obtains in the video image comprising the picture frame to be processed to shielded image picture;
First determining module 402, for determining in the picture frame to be processed comprising the mesh to shielded image picture
Logo image region;
Generation module 403 generates pre- for the position based on the object region in the picture frame to be processed
If the picture of format, wherein the picture of generation can cover described to shielded image picture.
Optionally, first determining module 402 includes:
Receiving submodule is directed to the picture of the picture frame to be processed and blocks instruction, wherein picture screening for receiving
The coordinate and sequence identification of the key point that user specifies are carried in gear instruction;
First determine submodule, the coordinate and sequence identification of the key point for being specified according to the user, it is described to
It handles and is determined in picture frame comprising the object region to shielded image picture.
Optionally, the picture frame to be processed is multiple continuous picture frames, and the picture blocks also to be carried in instruction
The mark for the key images frame that user specifies in the picture frame to be processed, the key point that the user specifies are the key
Point in picture frame;
First determining module 402 further include:
Second determines submodule, for the mark according to the key images frame, determines from the picture frame to be processed
The key images frame;
Described first determines submodule, specifically for the coordinate and sequence identification of the key point specified according to the user,
The image-region that line between the key point specified in the key images frame by the user is constituted, is determined as the pass
Object region in key picture frame;
According to the coordinate and sequence identification of the key point in the key images frame, determines and removed in the picture frame to be processed
The key point in other picture frames other than the key images frame;
By the key in other picture frames in the picture frame to be processed in addition to the key images frame by determining
The image-region that line between point is constituted is determined as comprising the object region to shielded image picture.
Optionally, the picture frame to be processed be multiple images frame, it is described to shielded image picture in the figure to be processed
As the position in frame immobilizes, the key point that the user specifies is the point in target image frame, and the target image frame is
Any image frame in the picture frame to be processed;
Described first determines submodule, specifically for the coordinate and sequence identification of the key point specified according to the user,
The image-region that line between the key point specified in the target image frame by the user is constituted, is determined as the mesh
Object region in logo image frame;
According to the coordinate and sequence identification of the key point in the target image frame, determines and removed in the picture frame to be processed
The key point in other picture frames other than the target image frame;
By the key in other picture frames in the picture frame to be processed in addition to the target image frame by determining
The image-region that line between point is constituted is determined as comprising the object region to shielded image picture.
Optionally, described device further include:
Modified module, for receiving the key point modification instruction for being directed to the picture frame to be processed;
It is modified and is instructed according to the key point, modified to the key point in the picture frame to be processed;
The image-region that line in the picture frame to be processed between modified key point is constituted is determined as described
Object region in picture frame to be processed.
Optionally, the modified module, specifically for deleting the key point that user specifies in the picture frame to be processed;
Or, adding new key point in the picture frame to be processed;Or, the key point specified to user in the picture frame to be processed
Coordinate modify.
Optionally, described device further include:
Second determining module, for the position according to the object region determined in the picture frame to be processed,
The rectangular area comprising the object region is determined in the picture frame to be processed;
The generation module, specifically for generating the picture of pre-set color in the object region;
In region between the boundary of the object region and the boundary of the rectangular area, generate described default
The picture of the corresponding transparency gradual change of color.
As it can be seen that image processing apparatus based on the embodiment of the present invention, when user is watched in server by browser
When the video image of storage, obtains in video image comprising the picture frame to be processed to shielded image picture, determine figure to be processed
As the position in frame comprising the object region to shielded image picture, based on object region in picture frame to be processed
It sets, generates the picture of preset format, wherein the picture of generation can be covered to shielded image picture.It, can be with based on above-mentioned processing
Directly the image frame in the video image in server is carried out by browser to block processing, eliminates foradownloaded video figure
As, transcoding and again the step of uploaded videos image, and relative to video image editor's application program, reduce the complexity of operation
Degree, and then improve the online efficiency of video image.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 5, include processor 501, communication interface 502,
Memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 are complete by communication bus 504
At mutual communication,
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes figure provided in an embodiment of the present invention
As processing method.
Specifically, above-mentioned image processing method, comprising:
When user watches video image stored in the server by the browser, the video image is obtained
In include picture frame to be processed to shielded image picture;
It determines in the picture frame to be processed comprising the object region to shielded image picture;
Position based on the object region in the picture frame to be processed, generates the picture of preset format,
In, the picture of generation can cover described to shielded image picture.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..
Only to be indicated with a thick line in figure, it is not intended that an only bus or a type of bus convenient for indicating.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), also may include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array,
Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Electronic equipment provided in an embodiment of the present invention, can be by browser directly in the video image in server
Image frame carries out blocking processing, eliminate foradownloaded video image, transcoding and again uploaded videos image the step of, and relative to
Video image editor's application program reduces the complexity of operation, and then improves the online efficiency of video image.
The embodiment of the invention also provides a kind of computer readable storage medium, stored in the computer readable storage medium
There is instruction, when run on a computer, so that computer executes image processing method provided in an embodiment of the present invention.
Specifically, above-mentioned image processing method, comprising:
When user watches video image stored in the server by the browser, the video image is obtained
In include picture frame to be processed to shielded image picture;
It determines in the picture frame to be processed comprising the object region to shielded image picture;
Position based on the object region in the picture frame to be processed, generates the picture of preset format,
In, the picture of generation can cover described to shielded image picture.
It should be noted that other implementations of above-mentioned image processing method are identical as preceding method embodiment part,
Which is not described herein again.
By running the instruction stored in computer readable storage medium provided in an embodiment of the present invention, browsing can be passed through
Device directly carries out the image frame in the video image in server to block processing, eliminate foradownloaded video image, transcoding and
Again the step of uploaded videos image, and relative to video image editor's application program, reduce the complexity of operation, Jin Erti
The online efficiency of high video image.
The embodiment of the invention also provides a kind of computer program products comprising instruction, when it runs on computers
When, so that computer executes image processing method provided in an embodiment of the present invention.
Specifically, above-mentioned image processing method, comprising:
When user watches video image stored in the server by the browser, the video image is obtained
In include picture frame to be processed to shielded image picture;
It determines in the picture frame to be processed comprising the object region to shielded image picture;
Position based on the object region in the picture frame to be processed, generates the picture of preset format,
In, the picture of generation can cover described to shielded image picture.
It should be noted that other implementations of above-mentioned image processing method are identical as preceding method embodiment part,
Which is not described herein again.
It, can be by browser directly in server by running computer program product provided in an embodiment of the present invention
Video image in image frame carry out blocking processing, eliminate foradownloaded video image, transcoding and uploaded videos image again
The step of, and relative to video image editor's application program, the complexity of operation is reduced, and then it is online to improve video image
Efficiency.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For electronic equipment, computer readable storage medium, computer program product embodiments, implement since it is substantially similar to method
Example, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (15)
1. a kind of image processing method, which is characterized in that the method browser applied to the method in terminal, the browser and clothes
Business device network interworking, which comprises
When user watches video image stored in the server by the browser, obtains and wrapped in the video image
Containing the picture frame to be processed to shielded image picture;
It determines in the picture frame to be processed comprising the object region to shielded image picture;
Position based on the object region in the picture frame to be processed, generates the picture of preset format, wherein raw
At picture can cover it is described to shielded image picture.
2. the method according to claim 1, wherein in the determination picture frame to be processed comprising it is described to
The object region of shielded image picture, comprising:
The picture received for the picture frame to be processed blocks instruction, wherein the picture blocks in instruction and carries user
The coordinate and sequence identification of specified key point;
According to the coordinate and sequence identification of the key point that the user specifies, determine in the picture frame to be processed comprising described
Object region to shielded image picture.
3. according to the method described in claim 2, it is characterized in that, the picture frame to be processed be multiple continuous picture frames,
The picture blocks the mark that the key images frame that user specifies in the picture frame to be processed is also carried in instruction, described
The key point that user specifies is the point in the key images frame;
In the coordinate and sequence identification of the key point specified according to the user, packet is determined in the picture frame to be processed
Before the object region to shielded image picture, the method also includes:
According to the mark of the key images frame, the key images frame is determined from the picture frame to be processed;
The coordinate and sequence identification of the key point specified according to the user, in the picture frame to be processed determination include
The object region to shielded image picture, comprising:
According to the coordinate and sequence identification of the key point that the user specifies, will be specified in the key images frame by the user
Key point between line constitute image-region, the object region being determined as in the key images frame;
According to the coordinate and sequence identification of the key point in the key images frame, determine in the picture frame to be processed except described
The key point in other picture frames other than key images frame;
By in other picture frames in the picture frame to be processed in addition to the key images frame by the key point determined it
Between the image-region that constitutes of line, be determined as the object region comprising described to shielded image picture.
4. according to the method described in claim 2, it is characterized in that, the picture frame to be processed be multiple images frame, it is described to
Position of the shielded image picture in the picture frame to be processed immobilizes, and the key point that the user specifies is target image
Point in frame, the target image frame are any image frame in the picture frame to be processed;
The coordinate and sequence identification of the key point specified according to the user, in the picture frame to be processed determination include
The object region to shielded image picture, comprising:
According to the coordinate and sequence identification of the key point that the user specifies, will be specified in the target image frame by the user
Key point between line constitute image-region, the object region being determined as in the target image frame;
According to the coordinate and sequence identification of the key point in the target image frame, determine in the picture frame to be processed except described
The key point in other picture frames other than target image frame;
By in other picture frames in the picture frame to be processed in addition to the target image frame by the key point determined it
Between the image-region that constitutes of line, be determined as the object region comprising described to shielded image picture.
5. according to the described in any item methods of claim 2-4, which is characterized in that existed described based on the object region
Position in the picture frame to be processed, before the picture for generating preset format, the method also includes:
The key point received for the picture frame to be processed modifies instruction;
It is modified and is instructed according to the key point, modified to the key point in the picture frame to be processed;
The image-region that line in the picture frame to be processed between modified key point is constituted is determined as described wait locate
Manage the object region in picture frame.
6. according to the method described in claim 5, it is characterized in that, it is described according to the key point modify instruct, to it is described to
Key point in processing picture frame is modified, comprising:
Delete the key point that user specifies in the picture frame to be processed;Or, adding new pass in the picture frame to be processed
Key point;Or, modifying to the coordinate for the key point that user in the picture frame to be processed specifies.
7. the method according to claim 1, wherein being based on the object region described wait locate described
The position in picture frame is managed, before the picture for generating preset format, the method also includes:
According to position of the object region determined in the picture frame to be processed, in the picture frame to be processed really
It surely include the rectangular area of the object region;
The position based on the object region in the picture frame to be processed, generates the picture of preset format, packet
It includes:
The picture of pre-set color is generated in the object region;
In region between the boundary of the object region and the boundary of the rectangular area, the pre-set color is generated
The picture of corresponding transparency gradual change.
8. a kind of image processing apparatus, which is characterized in that described device browser applied to the method in terminal, the browser and clothes
Business device network interworking, described device include:
Module is obtained, for obtaining institute when user watches video image stored in the server by the browser
It states in video image comprising the picture frame to be processed to shielded image picture;
First determining module, for determining in the picture frame to be processed comprising the object-image region to shielded image picture
Domain;
Generation module generates preset format for the position based on the object region in the picture frame to be processed
Picture, wherein the picture of generation can cover described to shielded image picture.
9. device according to claim 8, which is characterized in that first determining module includes:
Receiving submodule, for receive be directed to the picture frame to be processed picture block instruction, wherein the picture blocks finger
The coordinate and sequence identification of the key point that user specifies are carried in order;
First determines submodule, the coordinate and sequence identification of the key point for specifying according to the user, described to be processed
It is determined in picture frame comprising the object region to shielded image picture.
10. device according to claim 9, which is characterized in that the picture frame to be processed is multiple continuous picture frames,
The picture blocks the mark that the key images frame that user specifies in the picture frame to be processed is also carried in instruction, described
The key point that user specifies is the point in the key images frame;
First determining module further include:
Second determination submodule, for the mark according to the key images frame, from the picture frame to be processed described in determination
Key images frame;
Described first determines submodule, specifically for the coordinate and sequence identification of the key point specified according to the user, by institute
The image-region that the line between the key point specified in key images frame by the user is constituted is stated, the crucial figure is determined as
As the object region in frame;
According to the coordinate and sequence identification of the key point in the key images frame, determine in the picture frame to be processed except described
The key point in other picture frames other than key images frame;
By in other picture frames in the picture frame to be processed in addition to the key images frame by the key point determined it
Between the image-region that constitutes of line, be determined as the object region comprising described to shielded image picture.
11. device according to claim 9, which is characterized in that the picture frame to be processed be multiple images frame, it is described to
Position of the shielded image picture in the picture frame to be processed immobilizes, and the key point that the user specifies is target image
Point in frame, the target image frame are any image frame in the picture frame to be processed;
Described first determines submodule, specifically for the coordinate and sequence identification of the key point specified according to the user, by institute
The image-region that the line between the key point specified in target image frame by the user is constituted is stated, the target figure is determined as
As the object region in frame;
According to the coordinate and sequence identification of the key point in the target image frame, determine in the picture frame to be processed except described
The key point in other picture frames other than target image frame;
By in other picture frames in the picture frame to be processed in addition to the target image frame by the key point determined it
Between the image-region that constitutes of line, be determined as the object region comprising described to shielded image picture.
12. according to the described in any item devices of claim 9-11, which is characterized in that described device further include:
Modified module, for receiving the key point modification instruction for being directed to the picture frame to be processed;
It is modified and is instructed according to the key point, modified to the key point in the picture frame to be processed;
The image-region that line in the picture frame to be processed between modified key point is constituted is determined as described wait locate
Manage the object region in picture frame.
13. device according to claim 12, which is characterized in that the modified module, it is described wait locate specifically for deleting
The key point that user specifies in reason picture frame;Or, adding new key point in the picture frame to be processed;Or, to it is described to
The coordinate for the key point that user specifies in processing picture frame is modified.
14. device according to claim 8, which is characterized in that described device further include:
Second determining module, for the position according to the object region determined in the picture frame to be processed, in institute
It states and determines the rectangular area comprising the object region in picture frame to be processed;
The generation module, specifically for generating the picture of pre-set color in the object region;
In region between the boundary of the object region and the boundary of the rectangular area, the pre-set color is generated
The picture of corresponding transparency gradual change.
15. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein described
Processor, the communication interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes side as claimed in claim 1 to 7
Method step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910209872.1A CN109996109B (en) | 2019-03-19 | 2019-03-19 | Image processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910209872.1A CN109996109B (en) | 2019-03-19 | 2019-03-19 | Image processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109996109A true CN109996109A (en) | 2019-07-09 |
CN109996109B CN109996109B (en) | 2021-12-17 |
Family
ID=67129210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910209872.1A Active CN109996109B (en) | 2019-03-19 | 2019-03-19 | Image processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109996109B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572717A (en) * | 2019-09-30 | 2019-12-13 | 北京金山安全软件有限公司 | Video editing method and device |
CN112423090A (en) * | 2020-11-20 | 2021-02-26 | 广州欢网科技有限责任公司 | Video watermark automatic covering method, device, equipment and storage medium |
CN112565872A (en) * | 2020-11-27 | 2021-03-26 | 南京富士通南大软件技术有限公司 | Cloud driving video online privacy protection system and method |
CN113591710A (en) * | 2021-07-30 | 2021-11-02 | 康佳集团股份有限公司 | Image processing method, device, terminal and computer readable storage medium |
CN115883908A (en) * | 2023-01-28 | 2023-03-31 | 北京蓝色星际科技股份有限公司 | Video processing method, system and device and electronic equipment |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0567059A1 (en) * | 1992-04-24 | 1993-10-27 | Hitachi, Ltd. | Object recognition system and abnormality detection system using image processing |
JP2003346171A (en) * | 2002-05-24 | 2003-12-05 | Wacom-It Co Ltd | Rendering device and rendering program |
CN202352267U (en) * | 2011-12-16 | 2012-07-25 | 王强 | Picture gradually changing type advertising light box |
CN103794050A (en) * | 2014-01-21 | 2014-05-14 | 华东交通大学 | Real-time transport vehicle detecting and tracking method |
CN105611373A (en) * | 2015-12-23 | 2016-05-25 | 小米科技有限责任公司 | Video picture processing method and device |
CN106358069A (en) * | 2016-10-31 | 2017-01-25 | 维沃移动通信有限公司 | Video data processing method and mobile terminal |
CN107094234A (en) * | 2017-06-29 | 2017-08-25 | 浙江宇视科技有限公司 | A kind of shooting area occlusion method and device applied to dollying terminal |
CN107517360A (en) * | 2017-08-01 | 2017-12-26 | 深圳英飞拓科技股份有限公司 | A kind of image-region masking methods and device |
WO2018051341A1 (en) * | 2016-09-14 | 2018-03-22 | Erez Halahmi | Monitoring system and method for controlling process of surface treatment for construction |
CN108427918A (en) * | 2018-02-12 | 2018-08-21 | 杭州电子科技大学 | Face method for secret protection based on image processing techniques |
US20180246454A1 (en) * | 2017-02-28 | 2018-08-30 | Konica Minolta, Inc. | Image processing apparatus |
CN108897881A (en) * | 2018-07-05 | 2018-11-27 | 腾讯科技(深圳)有限公司 | Interactive image display methods, device, equipment and readable storage medium storing program for executing |
CN109040824A (en) * | 2018-08-28 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | Method for processing video frequency, device, electronic equipment and readable storage medium storing program for executing |
CN109101833A (en) * | 2018-08-02 | 2018-12-28 | Oppo广东移动通信有限公司 | Content display method, device, storage medium and electronic equipment |
-
2019
- 2019-03-19 CN CN201910209872.1A patent/CN109996109B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0567059A1 (en) * | 1992-04-24 | 1993-10-27 | Hitachi, Ltd. | Object recognition system and abnormality detection system using image processing |
JP2003346171A (en) * | 2002-05-24 | 2003-12-05 | Wacom-It Co Ltd | Rendering device and rendering program |
CN202352267U (en) * | 2011-12-16 | 2012-07-25 | 王强 | Picture gradually changing type advertising light box |
CN103794050A (en) * | 2014-01-21 | 2014-05-14 | 华东交通大学 | Real-time transport vehicle detecting and tracking method |
CN105611373A (en) * | 2015-12-23 | 2016-05-25 | 小米科技有限责任公司 | Video picture processing method and device |
WO2018051341A1 (en) * | 2016-09-14 | 2018-03-22 | Erez Halahmi | Monitoring system and method for controlling process of surface treatment for construction |
CN106358069A (en) * | 2016-10-31 | 2017-01-25 | 维沃移动通信有限公司 | Video data processing method and mobile terminal |
US20180246454A1 (en) * | 2017-02-28 | 2018-08-30 | Konica Minolta, Inc. | Image processing apparatus |
CN107094234A (en) * | 2017-06-29 | 2017-08-25 | 浙江宇视科技有限公司 | A kind of shooting area occlusion method and device applied to dollying terminal |
CN107517360A (en) * | 2017-08-01 | 2017-12-26 | 深圳英飞拓科技股份有限公司 | A kind of image-region masking methods and device |
CN108427918A (en) * | 2018-02-12 | 2018-08-21 | 杭州电子科技大学 | Face method for secret protection based on image processing techniques |
CN108897881A (en) * | 2018-07-05 | 2018-11-27 | 腾讯科技(深圳)有限公司 | Interactive image display methods, device, equipment and readable storage medium storing program for executing |
CN109101833A (en) * | 2018-08-02 | 2018-12-28 | Oppo广东移动通信有限公司 | Content display method, device, storage medium and electronic equipment |
CN109040824A (en) * | 2018-08-28 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | Method for processing video frequency, device, electronic equipment and readable storage medium storing program for executing |
Non-Patent Citations (1)
Title |
---|
彭营营: ""基于深度学习的鲁棒性表情关键点定位算法设计与实现"", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572717A (en) * | 2019-09-30 | 2019-12-13 | 北京金山安全软件有限公司 | Video editing method and device |
CN112423090A (en) * | 2020-11-20 | 2021-02-26 | 广州欢网科技有限责任公司 | Video watermark automatic covering method, device, equipment and storage medium |
CN112565872A (en) * | 2020-11-27 | 2021-03-26 | 南京富士通南大软件技术有限公司 | Cloud driving video online privacy protection system and method |
CN113591710A (en) * | 2021-07-30 | 2021-11-02 | 康佳集团股份有限公司 | Image processing method, device, terminal and computer readable storage medium |
CN115883908A (en) * | 2023-01-28 | 2023-03-31 | 北京蓝色星际科技股份有限公司 | Video processing method, system and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109996109B (en) | 2021-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109996109A (en) | A kind of image processing method and device | |
CN110310229B (en) | Image processing method, image processing apparatus, terminal device, and readable storage medium | |
US9436673B2 (en) | Automatic application of templates to content | |
US8836728B2 (en) | Techniques to magnify images | |
US20150026566A1 (en) | Systems and methods to prioritize browser tile generation from lq tile content | |
CN110688829B (en) | Table generation method, apparatus, device and storage medium | |
CN111580718A (en) | Page switching method and device of application program, electronic equipment and storage medium | |
CN107025059B (en) | Thumbnail viewing method and device | |
CN109614194B (en) | List interface display method, device, equipment and storage medium | |
US9262389B2 (en) | Resource-adaptive content delivery on client devices | |
CN111291244B (en) | House source information display method, device, terminal and storage medium | |
CN110825286B (en) | Image processing method and device and electronic equipment | |
CN113191726A (en) | Task detail interface display method, device, equipment and computer readable medium | |
CN103702032A (en) | Image processing method, device and terminal equipment | |
CN110647369B (en) | Page dynamic display method and device, mobile terminal and storage medium | |
CN112995401A (en) | Control display method, device, equipment and medium | |
US20150339277A1 (en) | Systems and methods for programming behavior of a website to respond to capabilities of different devices | |
CN115454302A (en) | Live broadcast room display method and device, electronic equipment and storage medium | |
CN112445394B (en) | Screenshot method and screenshot device | |
CN113961280A (en) | View display method and device, electronic equipment and computer-readable storage medium | |
CN112464301A (en) | Image display method and device | |
CN109766530B (en) | Method and device for generating chart frame, storage medium and electronic equipment | |
CN112783382B (en) | Method, device, terminal and storage medium for setting document icons | |
CN112488947A (en) | Model training and image processing method, device, equipment and computer readable medium | |
CN112835488B (en) | Display window control method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |