CN108124101A - Video capture method, device, electronic equipment and computer readable storage medium - Google Patents
Video capture method, device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN108124101A CN108124101A CN201711364843.XA CN201711364843A CN108124101A CN 108124101 A CN108124101 A CN 108124101A CN 201711364843 A CN201711364843 A CN 201711364843A CN 108124101 A CN108124101 A CN 108124101A
- Authority
- CN
- China
- Prior art keywords
- video image
- video
- current video
- discoloration
- image
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Circuits (AREA)
Abstract
The invention discloses a kind of video capture method, device, electronic equipment and computer readable storage mediums.This method includes:While playing specific audio frequency video image is gathered using video collector;Specified object in the current video image gathered according to specific audio frequency to video collector carries out discoloration processing, obtains discoloration treated current video image;Treated current video image will be changed colour as the video frame preservation finally collected.As it can be seen that by the technical program, discoloration processing is carried out to the current video image of acquisition according to specific audio frequency, i.e., video is handled during video acquisition, be not required user after the completion of video acquisition again into edlin, it is time saving and energy saving;Simultaneously so that the display effect of video image displaying discoloration meets the needs of users, enhances the usage experience of user.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of video capture method, device, electronic equipment and calculating
Machine readable storage medium storing program for executing.
Background technology
With electronic equipment function it is increasing, by electronic equipment gather video function it is also more and more perfect,
User is when carrying out video acquisition, often after the completion of video acquisition, into edlin, is reaching customer satisfaction system effect to video
Fruit, then the preservation of video is carried out, so that edited result of broadcast is shown when playing in video.But it is simply done and regards
The acquisition of frequency, then video editing is carried out, it takes time and effort, reduces the usage experience of user;Meanwhile user is to the demand of video editing
Also it is being continuously increased, therefore, it is necessary to change the acquisition mode of traditional video, to improve the usage experience of user.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
State video capture method, device, electronic equipment and the computer readable storage medium of problem.
According to an aspect of the invention, there is provided a kind of video capture method, wherein, this method includes:
While playing specific audio frequency video image is gathered using video collector;
Specified object in the current video image gathered according to the specific audio frequency to video collector is carried out at discoloration
Reason obtains discoloration treated current video image;
Treated current video image will be changed colour as the video frame preservation finally collected.
Optionally, the specified object in the current video image gathered according to the specific audio frequency to video collector into
Before row discoloration processing, this method further comprises:
Obtain the description information for specifying object;
It is detected to specify object from current video image according to the description information of specified object.
Optionally, the specified object in the current video image gathered according to the specific audio frequency to video collector carries out
Discoloration processing includes:
In the current video image gathered according to the feature of the specific audio frequency and currently playing progress to video collector
Specified object carry out discoloration processing.
Optionally,
The feature of the specific audio frequency include it is following in one or more:Type, tone color, rhythm and the frequency of audio.
Optionally, discoloration processing is carried out to the specified object in the current video image of video collector acquisition includes:
The image of specified object is partitioned into from current video image;
Discoloration processing is carried out to the image for specifying object;
The original image of the image of object, current video image is specified according to being followed successively by discoloration from front to back treated
Order, superposition render acquisition discoloration treated current video image.
Optionally, this method further comprises:
The pictorial element of indication lamp photogenerator is added in discoloration treated current video image;
Using the current video image after the pictorial element for adding indication lamp photogenerator as the video frame finally collected
It preserves.
According to another aspect of the present invention, a kind of video acquisition device is provided, wherein, which includes:
First processing units, suitable for gathering video image using video collector while broadcasting specific audio frequency;
Change colour processing unit, suitable for the finger in the current video image that is gathered according to the specific audio frequency to video collector
Determine object and carry out discoloration processing, obtain discoloration treated current video image;
Second processing unit is protected suitable for the current video image that will change colour that treated as the video frame finally collected
It deposits.
Optionally, which further comprises:
Subject detecting unit, suitable for obtaining the description information for specifying object, according to the description information of specified object from current
It detects to specify object in video image.
Optionally,
The discoloration processing unit, suitable for the feature according to the specific audio frequency and currently playing progress to video collector
Specified object in the current video image of acquisition carries out discoloration processing.
Optionally,
The feature of the specific audio frequency include it is following in one or more:Type, tone color, rhythm and the frequency of audio.
Optionally,
The discoloration processing unit, suitable for being partitioned into the image of specified object from current video image, to specifying object
Image carry out discoloration processing;And suitable for specifying the image, current of object according to being followed successively by discoloration from front to back treated
The order of the original image of video image, superposition render acquisition discoloration treated current video image.
Optionally,
The device further comprises:Pictorial element adding device, suitable for adding in discoloration treated current video image
Add the pictorial element of indication lamp photogenerator;
The second processing unit is made suitable for that will add the current video image after the pictorial element of indication lamp photogenerator
Video frame finally to collect preserves.
According to another aspect of the invention, a kind of electronic equipment is provided, wherein, which includes:
Processor;And
Store the memory of computer executable instructions;The executable instruction when executed performs the processor
According to foregoing method.
In accordance with a further aspect of the present invention, a kind of computer readable storage medium is provided, wherein, it is described computer-readable
The one or more programs of storage medium storage, one or more of programs when being executed by a processor, realize foregoing method.
Technique according to the invention scheme gathers video image while playing specific audio frequency using video collector;Root
Specified object in the current video image gathered according to specific audio frequency to video collector carries out discoloration processing, obtains discoloration processing
Current video image afterwards;Treated current video image will be changed colour as the video frame preservation finally collected.It is as it can be seen that logical
The technical program is crossed, discoloration processing is carried out to the current video image of acquisition according to specific audio frequency, i.e., during video acquisition
Video is handled, is not required user after the completion of video acquisition again into edlin, it is time saving and energy saving;Simultaneously so that video figure
As the display effect of displaying discoloration, meet the needs of users, enhance the usage experience of user.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow diagram of video capture method according to an embodiment of the invention;
Fig. 2 shows the structure diagram of video acquisition device according to an embodiment of the invention;
Fig. 3 shows the structure diagram of electronic equipment according to an embodiment of the invention;
Fig. 4 shows the structure diagram of computer readable storage medium according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 shows the flow diagram of video capture method according to an embodiment of the invention.It as shown in Figure 1, should
Method includes:
Step S110 gathers video image while playing specific audio frequency using video collector.
In the present embodiment, video collector acquisition is the video with specific audio frequency.
Step S120, the specified object in the current video image gathered according to specific audio frequency to video collector become
Color processing obtains discoloration treated current video image.
Step S130, treated the current video image of changing colour is as the video frame preservation finally collected.
In the present embodiment, by processing and guarantor of each frame video image of video collector acquisition Jing Guo the technical program
After depositing, so as to the broadcasting of video.In video playing, the effect of display is the broadcasting with specific audio frequency, in video image
Specified object changing colour, add the interest of video.
Specified object in the present embodiment can be arbitrary pictorial element in current video image.For example, metope, personage
Image.The color changeable effect of specified object during in order to ensure video playing, this specifies object to be preferably included in video collector
In each frame video image of acquisition or in continuous multi-frame video image.
As it can be seen that by the technical program, discoloration processing is carried out to the current video image of acquisition according to specific audio frequency, that is, is existed
Video is handled during video acquisition, is not required user after the completion of video acquisition again into edlin, it is time saving and energy saving;Together
When so that the display effect of video image displaying discoloration meets the needs of users, enhances the usage experience of user.
In one embodiment of the invention, being worked as according to specific audio frequency to video collector acquisition in the step s 120
Before specified object in preceding video image carries out discoloration processing, method shown in FIG. 1 further comprises:It obtains and specifies object
Description information;It is detected to specify object from current video image according to the description information of specified object.
In the present embodiment, it is to object is specified to carry out discoloration processing, for the ease of ensureing the standard of the specified object of processing
True property, it is necessary first to which identification is detected to the specified object in current video image.
In addition, in the present embodiment, specified object can be that user specifies or system default.So this
In specified object can change, in order to ensure specified object change after, to the specified object in current video image
Accurately detection identification is carried out, it is necessary to obtain specified object before handling the specified object in current video image
Description information, then the description information further according to acquisition detected from current video image specify object.
For example, the specified object of system default is wall, the description information of wall is first obtained, then in current video image
Wall be detected, after wall is detected, then discoloration processing is carried out to the wall in current video image.If user replaces
Specify object, wall is changed to personage, then first obtain personage description information, then to the personage in current video image into
Row detection, after person detecting is come out, then carries out discoloration processing to the personage in current video image.
Here description information can carry out machine learning training according to multiple samples of currently known specified object
Obtain or utilize the method acquisition of the description information of the prior art for obtaining and specifying object.
In one embodiment of the invention, in step S120 video collector is gathered according to specific audio frequency it is current
Specified object in video image, which carries out discoloration processing, to be included:Video is adopted according to the feature of specific audio frequency and currently playing progress
Specified object in the current video image of storage acquisition carries out discoloration processing.
In the present embodiment, it is that discoloration processing is carried out to specified object according to the feature and playing progress rate of specific audio frequency.
For example, current video image is the 10th frame video image of video collector acquisition, the playing progress rate of present video is audio
15th second, and then change colour in the rhythm of the 15th second of audio there are one the drumbeat that sound is more prominent to the 10th two field picture
During processing, the color of the specified object in the 10th frame is become to differ a kind of larger color with the color of the 9th frame, to set off sound
The feature of frequency.
Specifically, the one or more during the feature of above-mentioned specific audio frequency is included as follows:The type of audio, tone color, section
It plays and frequency.
In the present embodiment, describe the feature of audio can be the types such as prevalence, allusion, rural area, nationality;The height of tone color
It is low;Power, the length of rhythm;The speed of frequency.
For example, specific audio frequency is pop music, tone color is higher, and rhythm is stronger and short, and frequency is very fast, then to current video
When the specified object of image carries out discoloration processing, it is possible to which, using larger color is differed, the process of conversion is shorter.Specific audio frequency
It is classical music, tone color is higher, and rhythm is weaker and long, and frequency is slower, then the specified object of current video image is become
During color processing, it is possible to which, using larger color is differed, the process of conversion is slower.
In one embodiment of the invention, in the current video image to video collector acquisition in step S120
Specified object, which carries out discoloration processing, to be included:The image of specified object is partitioned into from current video image;To specifying the figure of object
As carrying out discoloration processing;The original of the image of object, current video image is specified according to being followed successively by discoloration from front to back treated
The order of beginning image, superposition render acquisition discoloration treated current video image.
In the present embodiment, to specify object carry out discoloration processing when, be individually carry out, it is necessary to by specified object from
Split in current video image, then discoloration is handled, and ensures treatment effect, avoids by mistake also handling the part of non-designated object
.After the completion of the specified object handles to splitting, current video image is being subjected to fusion treatment, superposition renders to obtain
Treated current frame image.
In one embodiment of the invention, method shown in FIG. 1 further comprises:In discoloration treated current video
The pictorial element of indication lamp photogenerator is added in image;By the current video after the pictorial element for adding indication lamp photogenerator
Image is preserved as the video frame that finally collects, during so as to video playing, can show the image primitive of marker light generator
Element.
Treated that current video image is carries out discoloration processing, i.e. broadcasting with audio according to specific audio frequency for discoloration
It puts, the color of object is specified constantly to change.In order to further improve the usage experience of user, enhance the result of broadcast of video,
The pictorial element of indication lamp photogenerator is added in discoloration treated current video image, the effect to user is video
Color change in image is generated by the pictorial element of indication lamp photogenerator.For example, specify object be personage, then regarding
In front of the personage of frequency image, the pictorial element of two shot-lights is added, and the pictorial element is that have luminous effect.
In one embodiment of the invention, in order to ensure the bandwagon effect of discoloration processing rear video, when being changed colour
In the selection of color, it is not only to be made choice according to the feature of specific audio frequency, it is also necessary to according to the original of specified object oneself
Color makes choice, and ensures that the color after variation can carry out good fusion with specified object, is that discoloration processing is more natural.
For example, it is personage to specify object, personage's jacket in video image is red, and lower clothing is black, in original image,
The jacket of personage is brighter, then after discoloration processing is carried out, the color of jacket is brighter than the color of lower clothing just can be with.
In a specific example, specified object is personage, and personage's jacket is yellow, and lower clothing is black.It is being regarded
During frequency gathers, specific audio frequency is played to the 20th second, occurs a drumbeat in audio, and intensity is larger, and frequency is slower,
When discoloration processing is so carried out to the specified object of the 20th current frame video image, it is possible to replace yellow, palm fibre using red
Color replaces black.It is still the drumbeat continued in the corresponding audio of the 20th frame video image when gathering 21 two field picture, but
It is that intensity slightly weakens, then, will be in the 20th frame when discoloration processing is carried out to the specified object of the 21st current frame video image
Red variation replaced for the dark kermesinus of a bit, brown variation is the deep dark-brown of a bit.So when playing video image,
There is drumbeat suddenly in 20th frame, and color change is larger, during to 21 frame, because audio variation is relatively slow, and the color between two frames
Variation is relatively slow consistent with the feature of audio, and it is consistent to embody the variation of color and the feature of audio in video.
Fig. 2 shows the structure diagram of video acquisition device according to an embodiment of the invention.It as shown in Fig. 2, should
Video acquisition device 200 includes:
First processing units 210, suitable for gathering video image using video collector while broadcasting specific audio frequency.
In the present embodiment, video collector acquisition is the video with specific audio frequency.
Change colour processing unit 220, suitable for the finger in the current video image that is gathered according to specific audio frequency to video collector
Determine object and carry out discoloration processing, obtain discoloration treated current video image.
Second processing unit 230, suitable for the current video image that will change colour that treated as the video frame finally collected
It preserves.
In the present embodiment, by processing and guarantor of each frame video image of video collector acquisition Jing Guo the technical program
After depositing, so as to the broadcasting of video.In video playing, the effect of display is the broadcasting with specific audio frequency, in video image
Specified object changing colour, add the interest of video.
Specified object in the present embodiment can be arbitrary pictorial element in current video image.For example, metope, personage
Image.The color changeable effect of specified object during in order to ensure video playing, this specifies object to be preferably included in video collector
In each frame video image of acquisition or in continuous multi-frame video image.
As it can be seen that by the technical program, discoloration processing is carried out to the current video image of acquisition according to specific audio frequency, that is, is existed
Video is handled during video acquisition, is not required user after the completion of video acquisition again into edlin, it is time saving and energy saving;Together
When so that the display effect of video image displaying discoloration meets the needs of users, enhances the usage experience of user.
In one embodiment of the invention, device shown in Fig. 2 further comprises:Subject detecting unit, suitable for obtaining
The description information of object is specified, is detected to specify object from current video image according to the description information of specified object.
In the present embodiment, it is to object is specified to carry out discoloration processing, for the ease of ensureing the standard of the specified object of processing
True property, it is necessary first to which identification is detected to the specified object in current video image.
In addition, in the present embodiment, specified object can be that user specifies or system default.So this
In specified object can change, in order to ensure specified object change after, to the specified object in current video image
Accurately detection identification is carried out, it is necessary to obtain specified object before handling the specified object in current video image
Description information, then the description information further according to acquisition detected from current video image specify object.
For example, the specified object of system default is wall, the description information of wall is first obtained, then in current video image
Wall be detected, after wall is detected, then discoloration processing is carried out to the wall in current video image.If user replaces
Specify object, wall is changed to personage, then first obtain personage description information, then to the personage in current video image into
Row detection, after person detecting is come out, then carries out discoloration processing to the personage in current video image.
Here description information can carry out machine learning training according to multiple samples of currently known specified object
Obtain or utilize the method acquisition of the description information of the prior art for obtaining and specifying object.
In one embodiment of the invention, change colour processing unit 220, broadcasts suitable for the feature according to specific audio frequency and currently
Specified object in the current video image that degree of putting into gathers video collector carries out discoloration processing.
In the present embodiment, it is that discoloration processing is carried out to specified object according to the feature and playing progress rate of specific audio frequency.
For example, current video image is the 10th frame video image of video collector acquisition, the playing progress rate of present video is audio
15th second, and then change colour in the rhythm of the 15th second of audio there are one the drumbeat that sound is more prominent to the 10th two field picture
During processing, the color of the specified object in the 10th frame is become to differ a kind of larger color with the color of the 9th frame, to set off sound
The feature of frequency.
Specifically, the one or more during the feature of above-mentioned specific audio frequency is included as follows:The type of audio, tone color, section
It plays and frequency.
In the present embodiment, describe the feature of audio can be the types such as prevalence, allusion, rural area, nationality;The height of tone color
It is low;Power, the length of rhythm;The speed of frequency.
For example, specific audio frequency is pop music, tone color is higher, and rhythm is stronger and short, and frequency is very fast, then to current video
When the specified object of image carries out discoloration processing, it is possible to which, using larger color is differed, the process of conversion is shorter.Specific audio frequency
It is classical music, tone color is higher, and rhythm is weaker and long, and frequency is slower, then the specified object of current video image is become
During color processing, it is possible to which, using larger color is differed, the process of conversion is slower.
In one embodiment of the invention, change colour processing unit 220, specified suitable for being partitioned into from current video image
The image of object carries out discoloration processing to the image for specifying object;And suitable for according to be followed successively by from front to back discoloration processing after
The image of specified object, current video image original image order, superposition, which renders acquisition discoloration treated, works as forward sight
Frequency image.
In the present embodiment, to specify object carry out discoloration processing when, be individually carry out, it is necessary to by specified object from
Split in current video image, then discoloration is handled, and ensures treatment effect, avoids by mistake also handling the part of non-designated object
.After the completion of the specified object handles to splitting, current video image is being subjected to fusion treatment, superposition renders to obtain
Treated current frame image.
In one embodiment of the invention, device shown in Fig. 2 further comprises:Pictorial element adding device, is suitable for
The pictorial element of indication lamp photogenerator is added in discoloration treated current video image.
Second processing unit 230 is made suitable for that will add the current video image after the pictorial element of indication lamp photogenerator
It is preserved for the video frame that finally collects, during so as to video playing, can show the pictorial element of marker light generator.
Treated that current video image is carries out discoloration processing, i.e. broadcasting with audio according to specific audio frequency for discoloration
It puts, the color of object is specified constantly to change.In order to further improve the usage experience of user, enhance the result of broadcast of video,
The pictorial element of indication lamp photogenerator is added in discoloration treated current video image, the effect to user is video
Color change in image is generated by the pictorial element of indication lamp photogenerator.For example, specify object be personage, then regarding
In front of the personage of frequency image, the pictorial element of two shot-lights is added, and the pictorial element is that have luminous effect.
In one embodiment of the invention, in order to ensure the bandwagon effect of discoloration processing rear video, when being changed colour
In the selection of color, it is not only to be made choice according to the feature of specific audio frequency, it is also necessary to according to the original of specified object oneself
Color makes choice, and ensures that the color after variation can carry out good fusion with specified object, is that discoloration processing is more natural.
For example, it is personage to specify object, personage's jacket in video image is red, and lower clothing is black, in original image,
The jacket of personage is brighter, then after discoloration processing is carried out, the color of jacket is brighter than the color of lower clothing just can be with.
In a specific example, specified object is personage, and personage's jacket is yellow, and lower clothing is black.It is being regarded
During frequency gathers, specific audio frequency is played to the 20th second, occurs a drumbeat in audio, and intensity is larger, and frequency is slower,
When discoloration processing is so carried out to the specified object of the 20th current frame video image, it is possible to replace yellow, palm fibre using red
Color replaces black.It is still the drumbeat continued in the corresponding audio of the 20th frame video image when gathering 21 two field picture, but
It is that intensity slightly weakens, then, will be in the 20th frame when discoloration processing is carried out to the specified object of the 21st current frame video image
Red variation replaced for the dark kermesinus of a bit, brown variation is the deep dark-brown of a bit.So when playing video image,
There is drumbeat suddenly in 20th frame, and color change is larger, during to 21 frame, because audio variation is relatively slow, and the color between two frames
Variation is relatively slow consistent with the feature of audio, and it is consistent to embody the variation of color and the feature of audio in video.
The present invention also provides a kind of electronic equipment, wherein, which includes:
Processor;And
The memory of storage computer executable instructions is arranged to, executable instruction performs processor when executed
Video capture method according to figure 1 and its each embodiment.
Fig. 3 shows the structure diagram of electronic equipment according to an embodiment of the invention.As shown in figure 3, the electronics
Equipment 300 includes:
Processor 310;And the memory 320 of storage computer executable instructions (program code) is arranged to, it is depositing
In reservoir 320, there is the memory space 330 of storage program code, for performing the program code of steps of a method in accordance with the invention
340 are stored in memory space 330, and it is according to figure 1 and its each which when executed perform processor 310
Video capture method in embodiment.
Fig. 4 shows a kind of structure diagram of computer readable storage medium according to an embodiment of the invention.Such as
Shown in Fig. 4, which stores one or more programs (program code) 410, one or more programs
(program code) 410 when being executed by a processor, realizes the video capture method in shown in FIG. 1 and its each embodiment.
It should be noted that each embodiment of electronic equipment shown in Fig. 3 and computer readable storage medium shown in Fig. 4
It is corresponding identical with each embodiment of method shown in FIG. 1, it has been described in detail above, details are not described herein.
In conclusion technique according to the invention scheme, is regarded while playing specific audio frequency using video collector acquisition
Frequency image;Specified object in the current video image gathered according to specific audio frequency to video collector carries out discoloration processing, obtains
To discoloration treated current video image;Treated current video image will be changed colour as the video frame guarantor finally collected
It deposits.As it can be seen that by the technical program, discoloration processing is carried out to the current video image of acquisition according to specific audio frequency, i.e., in video
Video is handled in gatherer process, is not required user after the completion of video acquisition again into edlin, it is time saving and energy saving;Meanwhile
So that the display effect of video image displaying discoloration, meets the needs of users, enhances the usage experience of user.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual bench or miscellaneous equipment provided herein.
Various fexible units can also be used together with teaching based on this.As described above, required by constructing this kind of device
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
Shield the present invention claims the more features of feature than being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it may be employed any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit requirement, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor
Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize video acquisition device according to embodiments of the present invention, electronic equipment
With some or all functions of some or all components in computer readable storage medium.The present invention is also implemented as
For perform some or all equipment of method as described herein or program of device (for example, computer program and
Computer program product).Such program for realizing the present invention can may be stored on the computer-readable medium or can have
The form of one or more signal.Such signal can be downloaded from internet website and obtained or on carrier signal
It provides or is provided in the form of any other.
For example, Fig. 3 shows the structure diagram of electronic equipment according to an embodiment of the invention.The electronic equipment
300 conventionally comprise processor 310 and are arranged to the memory 320 of storage computer executable instructions (program code).It deposits
Reservoir 320 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk or ROM etc
Electronic memory.Memory 320 has storage for performing any method and step in shown in FIG. 1 and each embodiment
The memory space 330 of program code 340.For example, it can include being respectively used to realization for the memory space 330 of program code
Each program code 340 of various steps in the method in face.These program codes can be from one or more computer journey
It reads or is written in sequence product in this one or more computer program product.These computer program products include all
Such as hard disk, the program code carrier of compact-disc (CD), storage card or floppy disk etc.Such computer program product is usually
Such as the computer readable storage medium 400 described in Fig. 4.The computer readable storage medium 400 can have the electronics with Fig. 3
Memory paragraph, memory space of 320 similar arrangement of memory in equipment etc..Program code can be pressed for example in a suitable form
Contracting.In general, storage unit is stored with to perform the program code 410 of steps of a method in accordance with the invention, you can with by such as
The program code that 310 etc processor is read, when these program codes are run by electronic equipment, causes the electronic equipment to be held
Each step in row method described above.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
The invention discloses A1, a kind of video capture method, wherein, this method includes:
While playing specific audio frequency video image is gathered using video collector;
Specified object in the current video image gathered according to the specific audio frequency to video collector is carried out at discoloration
Reason obtains discoloration treated current video image;
Treated current video image will be changed colour as the video frame preservation finally collected.
A2, the method as described in A1, wherein, in the current video figure gathered according to the specific audio frequency to video collector
Before specified object as in carries out discoloration processing, this method further comprises:
Obtain the description information for specifying object;
It is detected to specify object from current video image according to the description information of specified object.
A3, the method as described in A1, wherein, the current video image gathered according to the specific audio frequency to video collector
In specified object carry out discoloration processing include:
In the current video image gathered according to the feature of the specific audio frequency and currently playing progress to video collector
Specified object carry out discoloration processing.
A4, the method as described in A3, wherein,
The feature of the specific audio frequency include it is following in one or more:Type, tone color, rhythm and the frequency of audio.
A5, the method as described in A1, wherein, the specified object in the current video image of video collector acquisition is carried out
Discoloration processing includes:
The image of specified object is partitioned into from current video image;
Discoloration processing is carried out to the image for specifying object;
The original image of the image of object, current video image is specified according to being followed successively by discoloration from front to back treated
Order, superposition render acquisition discoloration treated current video image.
A6, the method as any one of A1-A5, wherein, this method further comprises:
The pictorial element of indication lamp photogenerator is added in discoloration treated current video image;
Using the current video image after the pictorial element for adding indication lamp photogenerator as the video frame finally collected
It preserves.
The invention also discloses B7, a kind of video acquisition device, wherein, which includes:
First processing units, suitable for gathering video image using video collector while broadcasting specific audio frequency;
Change colour processing unit, suitable for the finger in the current video image that is gathered according to the specific audio frequency to video collector
Determine object and carry out discoloration processing, obtain discoloration treated current video image;
Second processing unit is protected suitable for the current video image that will change colour that treated as the video frame finally collected
It deposits.
B8, the device as described in B7, wherein, which further comprises:
Subject detecting unit, suitable for obtaining the description information for specifying object, according to the description information of specified object from current
It detects to specify object in video image.
B9, the device as described in B7, wherein,
The discoloration processing unit, suitable for the feature according to the specific audio frequency and currently playing progress to video collector
Specified object in the current video image of acquisition carries out discoloration processing.
B10, the device as described in B9, wherein,
The feature of the specific audio frequency include it is following in one or more:Type, tone color, rhythm and the frequency of audio.
B11, the device as described in B7, wherein,
The discoloration processing unit, suitable for being partitioned into the image of specified object from current video image, to specifying object
Image carry out discoloration processing;And suitable for specifying the image, current of object according to being followed successively by discoloration from front to back treated
The order of the original image of video image, superposition render acquisition discoloration treated current video image.
B12, the device as any one of B7-B11, wherein,
The device further comprises:Pictorial element adding device, suitable for adding in discoloration treated current video image
Add the pictorial element of indication lamp photogenerator;
The second processing unit is made suitable for that will add the current video image after the pictorial element of indication lamp photogenerator
Video frame finally to collect preserves.
The invention also discloses C13, a kind of electronic equipment, wherein, which includes:
Processor;And
Store the memory of computer executable instructions;The executable instruction when executed performs the processor
Method according to any one of A1~A6.
The invention also discloses D14, a kind of computer readable storage medium, wherein, the computer readable storage medium
The one or more programs of storage, one or more of programs when being executed by a processor, are realized any one of A1~A6
Method.
Claims (10)
1. a kind of video capture method, wherein, this method includes:
While playing specific audio frequency video image is gathered using video collector;
Specified object in the current video image gathered according to the specific audio frequency to video collector carries out discoloration processing, obtains
To discoloration treated current video image;
Treated current video image will be changed colour as the video frame preservation finally collected.
2. the method for claim 1, wherein in the current video gathered according to the specific audio frequency to video collector
Before specified object in image carries out discoloration processing, this method further comprises:
Obtain the description information for specifying object;
It is detected to specify object from current video image according to the description information of specified object.
3. the current video figure the method for claim 1, wherein gathered according to the specific audio frequency to video collector
Specified object as in, which carries out discoloration processing, to be included:
Finger in the current video image gathered according to the feature of the specific audio frequency and currently playing progress to video collector
Determine object and carry out discoloration processing.
4. method as claimed in claim 3, wherein,
The feature of the specific audio frequency include it is following in one or more:Type, tone color, rhythm and the frequency of audio.
5. the method for claim 1, wherein to video collector acquisition current video image in specified object into
Row discoloration processing includes:
The image of specified object is partitioned into from current video image;
Discoloration processing is carried out to the image for specifying object;
According to be followed successively by discoloration from front to back treated specify the image of object, current video image original image time
Sequence, superposition render acquisition discoloration treated current video image.
6. such as the method any one of claim 1-5, wherein, this method further comprises:
The pictorial element of indication lamp photogenerator is added in discoloration treated current video image;
Current video image after the pictorial element that indication lamp photogenerator will be added is preserved as the video frame finally collected.
7. a kind of video acquisition device, wherein, which includes:
First processing units, suitable for gathering video image using video collector while broadcasting specific audio frequency;
Change colour processing unit, suitable for specified pair in the current video image that gather according to the specific audio frequency to video collector
As carrying out discoloration processing, discoloration is obtained treated current video image;
Second processing unit preserves suitable for the current video image that will change colour that treated as the video frame finally collected.
8. device as claimed in claim 7, wherein, which further comprises:
Subject detecting unit, suitable for obtaining the description information for specifying object, according to the description information of specified object from current video
It detects to specify object in image.
9. a kind of electronic equipment, wherein, which includes:
Processor;And
Store the memory of computer executable instructions;The executable instruction makes the processor perform basis when executed
Method according to any one of claims 1 to 6.
10. a kind of computer readable storage medium, wherein, the computer-readable recording medium storage one or more program,
One or more of programs when being executed by a processor, realize method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711364843.XA CN108124101A (en) | 2017-12-18 | 2017-12-18 | Video capture method, device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711364843.XA CN108124101A (en) | 2017-12-18 | 2017-12-18 | Video capture method, device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108124101A true CN108124101A (en) | 2018-06-05 |
Family
ID=62229339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711364843.XA Pending CN108124101A (en) | 2017-12-18 | 2017-12-18 | Video capture method, device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108124101A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495767A (en) * | 2018-11-29 | 2019-03-19 | 百度在线网络技术(北京)有限公司 | Method and apparatus for output information |
CN110070896A (en) * | 2018-10-19 | 2019-07-30 | 北京微播视界科技有限公司 | Image processing method, device, hardware device |
CN111081285A (en) * | 2019-11-30 | 2020-04-28 | 咪咕视讯科技有限公司 | Method for adjusting special effect, electronic equipment and storage medium |
CN111489769A (en) * | 2019-01-25 | 2020-08-04 | 北京字节跳动网络技术有限公司 | Image processing method, device and hardware device |
WO2021008055A1 (en) * | 2019-07-17 | 2021-01-21 | 广州酷狗计算机科技有限公司 | Video synthesis method and apparatus, and terminal and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391414A (en) * | 2013-07-24 | 2013-11-13 | 杭州趣维科技有限公司 | Video processing device and processing method applied to mobile phone platform |
CN104244039A (en) * | 2014-09-25 | 2014-12-24 | 苏州乐聚一堂电子科技有限公司 | Voice-sensing video playing system |
CN104394313A (en) * | 2014-10-27 | 2015-03-04 | 成都理想境界科技有限公司 | Special effect video generating method and device |
CN104702856A (en) * | 2013-12-10 | 2015-06-10 | 音圆国际股份有限公司 | Real-time selfie special-effect MV (music video) compositing system device and real-time selfie special-effect MV compositing method applied to karaoke machines |
CN105407261A (en) * | 2014-08-15 | 2016-03-16 | 索尼公司 | Image processing device and method, and electronic equipment |
CN105847728A (en) * | 2016-04-13 | 2016-08-10 | 腾讯科技(深圳)有限公司 | Information processing method and terminal |
CN106028119A (en) * | 2016-05-30 | 2016-10-12 | 徐文波 | Multimedia special effect customizing method and device |
US20160322079A1 (en) * | 2014-02-05 | 2016-11-03 | Avatar Merger Sub II, LLC | Method for real time video processing involving changing a color of an object on a human face in a video |
CN106817596A (en) * | 2015-12-02 | 2017-06-09 | 徐文波 | Act on the effect processing method and device of acquisition of media device |
CN106937043A (en) * | 2017-02-16 | 2017-07-07 | 奇酷互联网络科技(深圳)有限公司 | The method and apparatus of mobile terminal and its image procossing |
-
2017
- 2017-12-18 CN CN201711364843.XA patent/CN108124101A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391414A (en) * | 2013-07-24 | 2013-11-13 | 杭州趣维科技有限公司 | Video processing device and processing method applied to mobile phone platform |
CN104702856A (en) * | 2013-12-10 | 2015-06-10 | 音圆国际股份有限公司 | Real-time selfie special-effect MV (music video) compositing system device and real-time selfie special-effect MV compositing method applied to karaoke machines |
US20160322079A1 (en) * | 2014-02-05 | 2016-11-03 | Avatar Merger Sub II, LLC | Method for real time video processing involving changing a color of an object on a human face in a video |
CN105407261A (en) * | 2014-08-15 | 2016-03-16 | 索尼公司 | Image processing device and method, and electronic equipment |
CN104244039A (en) * | 2014-09-25 | 2014-12-24 | 苏州乐聚一堂电子科技有限公司 | Voice-sensing video playing system |
CN104394313A (en) * | 2014-10-27 | 2015-03-04 | 成都理想境界科技有限公司 | Special effect video generating method and device |
CN106817596A (en) * | 2015-12-02 | 2017-06-09 | 徐文波 | Act on the effect processing method and device of acquisition of media device |
CN105847728A (en) * | 2016-04-13 | 2016-08-10 | 腾讯科技(深圳)有限公司 | Information processing method and terminal |
CN106028119A (en) * | 2016-05-30 | 2016-10-12 | 徐文波 | Multimedia special effect customizing method and device |
CN106937043A (en) * | 2017-02-16 | 2017-07-07 | 奇酷互联网络科技(深圳)有限公司 | The method and apparatus of mobile terminal and its image procossing |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110070896A (en) * | 2018-10-19 | 2019-07-30 | 北京微播视界科技有限公司 | Image processing method, device, hardware device |
WO2020077914A1 (en) * | 2018-10-19 | 2020-04-23 | 北京微播视界科技有限公司 | Image processing method and apparatus, and hardware apparatus |
GB2593059A (en) * | 2018-10-19 | 2021-09-15 | Beijing Microlive Vision Tech Co Ltd | Image processing method and apparatus, and hardware apparatus |
JP2022505118A (en) * | 2018-10-19 | 2022-01-14 | 北京微播視界科技有限公司 | Image processing method, equipment, hardware equipment |
JP7199527B2 (en) | 2018-10-19 | 2023-01-05 | 北京微播視界科技有限公司 | Image processing method, device, hardware device |
GB2593059B (en) * | 2018-10-19 | 2023-08-09 | Beijing Microlive Vision Tech Co Ltd | Image processing method and apparatus, and hardware apparatus |
CN109495767A (en) * | 2018-11-29 | 2019-03-19 | 百度在线网络技术(北京)有限公司 | Method and apparatus for output information |
CN111489769A (en) * | 2019-01-25 | 2020-08-04 | 北京字节跳动网络技术有限公司 | Image processing method, device and hardware device |
CN111489769B (en) * | 2019-01-25 | 2022-07-12 | 北京字节跳动网络技术有限公司 | Image processing method, device and hardware device |
WO2021008055A1 (en) * | 2019-07-17 | 2021-01-21 | 广州酷狗计算机科技有限公司 | Video synthesis method and apparatus, and terminal and storage medium |
CN111081285A (en) * | 2019-11-30 | 2020-04-28 | 咪咕视讯科技有限公司 | Method for adjusting special effect, electronic equipment and storage medium |
CN111081285B (en) * | 2019-11-30 | 2021-11-09 | 咪咕视讯科技有限公司 | Method for adjusting special effect, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108124101A (en) | Video capture method, device, electronic equipment and computer readable storage medium | |
CN108040265A (en) | A kind of method and apparatus handled video | |
CN108133718A (en) | A kind of method and apparatus handled video | |
CN108124187A (en) | The generation method and device of interactive video | |
CN104298755B (en) | Content delivery method, content push system and server | |
CN108495184B (en) | Method and device for adding barrage to video | |
CN107577722A (en) | Menu display method and device, electronic equipment and storage medium | |
CN107666623A (en) | The methods of exhibiting and device of broadcast information | |
CN108429920A (en) | A kind of method and apparatus of processing title party video | |
CN103136746A (en) | Image processing device and image processing method | |
CN104571862B (en) | The method and apparatus of display data in a kind of mobile terminal page | |
CN104395857A (en) | Eye tracking based selective accentuation of portions of a display | |
CN107862277A (en) | Live dress ornament, which is dressed up, recommends method, apparatus, computing device and storage medium | |
CN108415935A (en) | A kind of method, apparatus of push recommendation message | |
CN108090491A (en) | A kind of video recording method, device and computer readable storage medium | |
CN108521578A (en) | It can textures region, the method for realizing textures in video in a kind of detection video | |
CN106599285A (en) | News searching-based searching result providing method and apparatus | |
CN108211310A (en) | The methods of exhibiting and device of movement effects | |
CN108009147B (en) | Electronic book cover generation method, electronic device and computer storage medium | |
CN108848416A (en) | The evaluation method and device of audio-video frequency content | |
CN105477860A (en) | Game activity recommending method and device | |
CN109712686A (en) | Body-building control method and relevant apparatus | |
CN107592486A (en) | A kind of video generation method and device | |
CN108829688A (en) | Implementation method and device across languages interaction | |
CN108089701A (en) | A kind of methods of exhibiting and device of Virtual Reality scene |
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: 20180605 |