CN104461222B - A kind of method and electronic equipment of information processing - Google Patents

A kind of method and electronic equipment of information processing Download PDF

Info

Publication number
CN104461222B
CN104461222B CN201310421963.4A CN201310421963A CN104461222B CN 104461222 B CN104461222 B CN 104461222B CN 201310421963 A CN201310421963 A CN 201310421963A CN 104461222 B CN104461222 B CN 104461222B
Authority
CN
China
Prior art keywords
image
frame image
electronic equipment
video file
frame
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.)
Active
Application number
CN201310421963.4A
Other languages
Chinese (zh)
Other versions
CN104461222A (en
Inventor
王茜莺
邓袁圆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310421963.4A priority Critical patent/CN104461222B/en
Publication of CN104461222A publication Critical patent/CN104461222A/en
Application granted granted Critical
Publication of CN104461222B publication Critical patent/CN104461222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Abstract

The embodiment of the invention discloses a kind of method of information processing and electronic equipments, are related to field of computer technology, to enhance the experience of user.Method provided in an embodiment of the present invention includes: during the playing device of electronic equipment plays a video file, and real time monitoring playing device obtains each frame image of video file;Video file has X frame image;Determine whether each frame image in X frame image meets predetermined condition;The first frame image for meeting predetermined condition is determined from X frame image;First frame image includes M object;Obtain the first input operation;It is inputted and is operated with first frame image response first;Obtain the first image;First frame image and the first image are handled, combination image is generated;Combination image is used to respond a functional module of electronic equipment.

Description

A kind of method and electronic equipment of information processing
Technical field
The present invention relates to field of computer technology more particularly to the methods and electronic equipment of a kind of information processing.
Background technique
Currently, sharing one that the film seen has become life with friend by application software such as microblogging, wechat, QQ Point, during sharing, user generally requires first to find the video frame of sharing in video, then carries out copying screen, then will copy screen Content is inserted into sharing application and can complete to share, and operating process is complicated, shares inefficiency.
Summary of the invention
The embodiment of the present invention provides the method and electronic equipment of a kind of information processing, can enhance the experience of user.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of method of information processing, it is applied to electronic equipment, which comprises
During the playing device of the electronic equipment plays a video file, monitors the playing device in real time and obtain Obtain each frame image of the video file;The video file has X frame image;X >=1, the X are integer;
Determine whether each frame image in the X frame image meets predetermined condition;
The first frame image for meeting the predetermined condition is determined from the X frame image;The first frame image includes M Object, M >=1, the M are integer;
Obtain the first input operation;
With the first input operation described in the first frame image response;
Obtain the first image;
The first frame image is handled with the first image, generates combination image;The combination image is used for Respond a functional module of the electronic equipment.
With reference to first aspect, in the first possible implementation, described to the first frame image and described first Image is handled, and combination image is generated, comprising:
N number of object in the M object is handled, the second image is obtained;1≤N≤M, the N are integer;
Merge the first image and second image, generates combination image;The combination image includes the M right N number of object in the M-N object and the first image in addition to N number of object as in.
With reference to first aspect, in the second possible implementation, described before the first input of acquisition operation Method further include:
Under the first trigger condition, user is prompted in the first way;So that user is to electronic equipment instruction described the One input operation.
With reference to first aspect, in the third possible implementation, each frame figure in the determination X frame image It seem no to meet predetermined condition, comprising:
Obtain the characteristic value of the object in each frame image in the X frame image;
Determine whether the characteristic value of the object in each frame image in the X frame image meets predetermined condition.
With reference to first aspect, in the fourth possible implementation, each frame figure in the determination X frame image It seem no to meet predetermined condition, comprising:
By the detection device of the electronic equipment user is obtained in real time in watching the X frame image when each frame image Expression characteristic value;
Determine whether the characteristic value of expression when each frame image that user watches in the X frame meets predetermined condition.
With reference to first aspect, in a fifth possible implementation, the functional module is a sharing application, the side Method further include: the combination image is shared based on sharing application;
Alternatively, the functional module is used to generate the image identification of video file, and the method also includes: by the combination Image generates the image identification of the video file;
Alternatively, the functional module is used to generate composite video file, and the method also includes: by multiple constitutional diagrams As generating composite video file.
Second aspect, provides a kind of electronic equipment, and the electronic equipment includes:
Playing device is used for playing video file;
Monitoring unit, for during the playing device plays a video file, monitoring the broadcasting dress in real time Set each frame image for obtaining the video file;The video file has X frame image;X >=1, the X are integer;
Whether the first determination unit, each frame image for determining in the X frame image meet predetermined condition;
Second determination unit, for determining the first frame image for meeting the predetermined condition from the X frame image;It is described First frame image includes M object, and M >=1, the M is integer;
First obtains unit, for obtaining the first input operation;
Response unit, for the first input operation described in the first frame image response;
Second obtaining unit, for obtaining the first image;
Processing unit generates combination image for being handled with the first image the first frame image;It is described Combination image is used to respond a functional module of the electronic equipment.
In conjunction with second aspect, in the first possible implementation, the processing unit is specifically used for,
N number of object in the M object is handled, the second image is obtained;1≤N≤M, the N are integer;
Merge the first image and second image, generates combination image;The combination image includes the M right N number of object in the M-N object and the first image in addition to N number of object as in.
In conjunction with second aspect, in the second possible implementation, the electronic equipment further include:
Prompt unit, for prompting user in the first way under the first trigger condition;So that user sets to the electronics It is standby to indicate the first input operation.
In conjunction with second aspect, in the third possible implementation, first determination unit is specifically used for,
Obtain the characteristic value of the object in each frame image in the X frame image;
Determine whether the characteristic value of the object in each frame image in the X frame image meets predetermined condition.
In conjunction with second aspect, in the fourth possible implementation, first determination unit is specifically used for,
By the detection device of the electronic equipment user is obtained in real time in watching the X frame image when each frame image Expression characteristic value;
Determine whether the characteristic value of expression when each frame image that user watches in the X frame meets predetermined condition.
In conjunction with second aspect, in a fifth possible implementation, the functional module is a sharing application, the electricity Sub- equipment further include: sharing unit, for sharing the combination image based on sharing application;
Alternatively, the functional module is used to generate the image identification of video file, the electronic equipment further include: first is raw At unit, for the combination image to be generated to the image identification of the video file;
Alternatively, the functional module is for generating composite video file, the electronic equipment further include: second generates list Member, for multiple combination images to be generated composite video file.
The method and electronic equipment of information processing provided in an embodiment of the present invention, pass through the playing device in the electronic equipment When playing video file, each frame image that the playing device obtains the video file is monitored in real time, and then to each frame figure Meet the first frame image of predetermined condition as in and the first image is handled, generates combination image, the combination image is for ringing Should electronic equipment a functional module.This programme can watch user in video file image and other images (the One image) combination image is generated, to respond the functional module on the electronic equipment.Sharing process compared with prior art, During this programme responds the functional module on electronic equipment, the operating process of user is simple, and sharing is high-efficient, to enhance The experience of user.
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, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the method for information processing provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the method for another information processing provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the method for another information processing provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another electronic equipment provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another 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 carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Embodiment one
Referring to Fig. 1, it is a kind of method of information processing provided in an embodiment of the present invention, is applied to electronic equipment, the side Method includes:
101: during the playing device of the electronic equipment plays a video file, monitoring the broadcasting dress in real time Set each frame image for obtaining the video file;The video file has X frame image;X >=1, the X are integer.
Wherein, electronic equipment can be smart phone, tablet computer etc..The playing device of electronic equipment can be the electronics Any one video player installed in equipment.The embodiment of the present invention can be applied in the video file for watching user In the scene that image and other images (the first image) are combined, it may further be applied to for the combination image being shared with In the scene of friend, perhaps using the combination image as in the scene of the image identification of the video file or by multiple constitutional diagrams As generating in the scenes such as a composite video file.
102: determining whether each frame image in the X frame image meets predetermined condition.
Optionally, step 102 may include following two implementation:
Mode one: the characteristic value of the object in each frame image in the X frame image is obtained;Determine the X frame image In each frame image in the characteristic value of object whether meet predetermined condition.
Mode two: it is each in watching the X frame image that user is obtained by the detection device of the electronic equipment in real time The characteristic value of expression when frame image;Whether the characteristic value of expression when determining each frame image that user watches in the X frame Meet predetermined condition.
It should be noted that obtaining user in real time in watching the X frame image in the detection device by electronic equipment Before expressive features value when each frame image, this method can also include: to obtain user by the camera of electronic equipment to exist Watch expression when each frame image in X frame image.
103: the first frame image for meeting the predetermined condition is determined from the X frame image;The first frame image packet M object, M >=1 are included, the M is integer.
Illustratively, first frame image can shine for the front acted the leading role in X frame image, or user is watching the view When frequency file, detection device get user laugh, be exciting, indignant, the expressions such as cry when frame image being played on etc..Object It can be the parts of images in first frame image, such as can be the head portrait etc. in first frame image.
The acquisition methods of object in first frame image can include but is not limited to following two mode:
1) electronic equipment is analyzed and processed first frame image according to image processing techniques, to obtain the first frame figure The M object as in.For example, electronic equipment obtains M head portrait in first frame image by face recognition technology, by every head As being used as an object.
2) user indicates M parts of images on the first frame image, using each parts of images as an object.Example Such as, user indicates some region on the display unit of electronic equipment by contact action, and electronic equipment gets the region pair The parts of images answered, as an object.
It should be noted that this method can also include: that electronic equipment carries out special marking to M object, so that user Know the M image that first frame image includes.The special marking can be that void is used in the corresponding M region of the M object respectively Wire frame label etc..
In addition, this method can also include: to store the image for meeting predetermined condition in X frame image.Assuming that having in X frame image Y frame image meets the image of predetermined condition, and the value range of Y can be with are as follows: 1≤Y≤M, Y are integer.As Y > 1, step 103 It may include: that electronic equipment selects an image in the Y frame image of storage, as first frame image;Alternatively, user exists An image is selected in Y frame image, and indicates the image to electronic equipment, and electronic equipment is as first frame image.
104: obtaining the first input operation.
Wherein, the first input operation can be with are as follows: sharing operation, the operation of image identification for generating video file, generation group Close the operation etc. of video file.
Optionally, before step 104, the method can also include:
Under the first trigger condition, user is prompted in the first way;So that user is to electronic equipment instruction described the One input operation.
Illustratively, the first trigger condition can be with are as follows: video file plays at the time of end or electronic equipment receives At the time of the instruction of closing playing device etc..First method can be voice prompting, text prompt etc., and suggestion content can wrap It includes: whether sharing, the image identification that whether generates video file etc., whether generates composite video file etc..
105: with the first input operation described in the first frame image response.
Illustratively, which is specifically as follows: first frame image is shown on the display unit of electronic equipment, And it is set to editable state.
106: obtaining the first image.
Wherein, the first image can be with are as follows: the image that user selects from the storage device of electronic equipment;It can also be with Are as follows: after step 105, the image that the camera based on electronic equipment obtains;In addition, when step 102 is specially mode When two, table of the user that the first image can also obtain in real time for camera in watching the X frame image when each frame image Feelings.
107: the first frame image being handled with the first image, generates combination image;The combination image For responding a functional module of the electronic equipment.
Illustratively, the embodiment of the present invention is to electronic equipment to " first frame image is handled with the first image, generation group The specific implementation of conjunction image " is without limiting.For example, first frame image is merged in a manner of splicing with the first image, Combination image is generated, in this case, combination image includes all objects in first frame image and the first image.For another example, by Background of the one frame image as the object in the first image, so that first frame image and the first image be merged.In addition, electric Sub- equipment can also merge part first frame image with the first image of part, and a kind of optional implementation is provided below, tool Body includes:
A) N number of object in the M object is handled, obtains the second image;1≤N≤M, the N are integer;
B) merge the first image and second image, generate combination image;The combination image includes the M N number of object in the M-N object and the first image in addition to N number of object in object.
Illustratively, step A) it is specifically as follows: delete operation is executed to N number of object in the M object, obtains the Two images.Step B) it is specifically as follows: N number of image in the first image is merged with the second image, and in the first image N number of image be located at N number of region in the second image where deleted N number of object, obtain combination image.
Further alternative, the functional module is a sharing application, the method also includes: it is applied based on the sharing Share the combination image;
Alternatively, the functional module is used to generate the image identification of video file, and the method also includes: by the combination Image generates the image identification of the video file;
Alternatively, the functional module is used to generate composite video file, and the method also includes: by multiple constitutional diagrams As generating composite video file.
The method of information processing provided in an embodiment of the present invention is applied to electronic equipment, passes through broadcasting in the electronic equipment When putting device playing video file, each frame image that the playing device obtains the video file is monitored in real time, and then every to this The first frame image and the first image for meeting predetermined condition in one frame image are handled, and combination image, the combination image are generated For responding a functional module of the electronic equipment.The image and other figures in video file that this programme can watch user Image is combined as (the first image) generates, to respond the functional module on the electronic equipment.Sharing compared with prior art Process, during this programme responds the functional module on electronic equipment, the operating process of user is simple, and sharing is high-efficient, from And enhance the experience of user.
Embodiment two
Referring to fig. 2, it is a kind of method of information processing provided in an embodiment of the present invention, is applied to electronic equipment, this method Include:
201: during the playing device playing video file of electronic equipment, real time monitoring playing device obtains the view Each frame image of frequency file;The video file has X frame image, and X >=1, X are integer.
202: obtaining the characteristic value of the object in the i-th frame image in X frame image.
Wherein, the initial value of i is 1.The step 202 specifically includes: obtaining the object in the i-th frame image in X frame image One kind/various features value.Electronic equipment can use pair in i-th frame image of image processing techniques acquisition in the prior art The characteristic value of elephant.
It should be noted that the present embodiment is illustrated so that object is head portrait as an example, in this case, characteristic value can wrap It includes: shape of face, profile etc..
203: judging whether the characteristic value of the object in the i-th frame image meets predetermined condition.
If so, thening follow the steps 204;If it is not, thening follow the steps 205.
Illustratively, step 203 can specifically include: by one kind of the object in the i-th frame image/various features value and in advance One kind of the object first set/various features value is matched, and matching value is obtained;Judge whether matching value meets predetermined condition. Wherein, preset object can be the head portrait acted the leading role, head portrait, the head portrait of star supporting role of the supporting role that makes laughs etc.;The spy of object Value indicative can be protagonist/supporting role positive feature value etc. of the video file.
It should be noted that in the present embodiment based on the characteristic value of head portrait, object that preset object is protagonist It is illustrated for the positive feature value drilled.In this case, the i-th frame image for meeting predetermined condition is that the front acted the leading role is shone.Its In, electronic equipment can use the positive feature value for the protagonist that face recognition technology obtains in the i-th frame image.
" by a kind of characteristic value of the object in the i-th frame image and a kind of progress of characteristic value of preset object Match, obtain matching value " for, predetermined condition can be greater than a default value or the matching value at one for the matching value Within the scope of default value.
204: the i-th frame image of storage, the number Y for meeting the image of predetermined condition add 1 certainly;Wherein, the initial value of Y is 0.
205:i adds 1 certainly.
206: judging whether i is equal to X.
If so, thening follow the steps 207;If it is not, then return step 202.
207: under the first trigger condition, prompting user in the first way;So that user is defeated to electronic equipment instruction first Enter operation.
Illustratively, the first trigger condition can be with are as follows: video file plays at the time of end or electronic equipment receives At the time of the instruction of closing playing device etc..First method can be voice prompting, text prompt etc., wherein suggestion content can To include: whether to share, image identification for whether generating video file etc., whether generate composite video file etc..
208: being based on the first trigger condition, an image is selected in the Y frame image for meeting predetermined condition, as the One frame image;First frame image includes M object, and M >=1, M are integer.
Illustratively, in the present embodiment, M object is specially the head portrait of M protagonist.
Optionally, which can also be substituted with following steps: user selects in the Y frame image for meeting predetermined condition An image is selected, and indicates the image to electronic equipment, electronic equipment is using the image as first frame image.
It should be noted that step 207 and step 208 may be performed simultaneously under the first trigger condition.
209: receiving the first input operation of user's instruction.
210: being inputted and operated with first frame image response first.
Illustratively, step 210 can specifically include: first frame image is shown on the display unit of electronic equipment, And it is set to editable state.Wherein, setting editable state for first frame image can specifically include: by M image in one frame image is set as editable state.
211: the camera based on electronic equipment obtains the first image.
Optionally, step 211 can be replaced with following steps: user selects a figure from the storage device of electronic equipment Picture, and the image is indicated to electronic equipment, electronic equipment is using the image as the first image.
212: delete operation being executed to N number of object in M object, obtains the second image;1≤N≤M, N are integer.
Illustratively, before step 212, this method can also comprise determining that N number of object, can specifically include: user N number of object is indicated to electronic equipment.For example, first frame image includes the head portrait of 3 protagonists, user wishes will be in first frame image The head portrait of protagonist 1 replace with oneself head portrait, then 1 head portrait is acted the leading role to electronic equipment instruction.
213: N number of image in the first image being merged with the second image, and N number of image difference in the first image N number of region in the second image where deleted N number of object obtains combination image.
Illustratively, first frame image includes the head portrait of 3 protagonists, and user acts the leading role 1 head portrait to electronic equipment instruction, then After executing step 212, the head portrait of the protagonist 1 in the first frame image is deleted, in this case, step 213 specifically: electronics 1 head portrait in first image is placed on the region where the head portrait for acting the leading role 1 in first frame image by equipment, and by the first image and Second image merges, and obtains combination image.
214: with one functional module of combination image response.
The step 214 is to combine the application of image, specifically be can be applied in following several scenes:
Scene 1: functional module is a sharing application;Step 214 specifically: the constitutional diagram is shared based on sharing application Picture.
Illustratively, sharing application may include: microblogging, wechat, QQ etc..It is literary to good friend's sharing video frequency using this programme Interest can be enhanced in part, to enhance the experience of user.
Scene 2: functional module is used to generate the image identification of video file;Step 214 specifically: the combination image is raw At the image identification of the video file.
Illustratively, the image identification of personnalité video file can be set using this programme, so that video file Image identification is no longer the mark of single playing device or a certain frame image in video file, to enhance user's Experience.
Scene 3: functional module is for generating composite video file;This method further include: store the combination image, and according to The above method generates multiple combination images;Step 214 specifically: multiple combination image is generated into composite video file.
Illustratively, the composite video file is by meeting the image of predetermined condition and the figure of user's instruction in the video file As (multiple first images) constitute, further, user can by composite video sharing files to good friend, to enhance interest, To enhance the experience of user.
The method of information processing provided in an embodiment of the present invention is applied to electronic equipment, passes through broadcasting in the electronic equipment When putting device playing video file, each frame image that the playing device obtains the video file is monitored in real time, and then obtaining should The characteristic value of object in each frame image, and the characteristic value of object therein is met to the first frame image and of predetermined condition One image is handled, and combination image is generated, which is used to respond a functional module of the electronic equipment.This programme can Image is combined with the generation of other images (the first image) with the image in the video file of watching user, to respond the electronics A functional module in equipment.Sharing process compared with prior art, this programme respond the mistake of the functional module on electronic equipment The operating process of Cheng Zhong, user are simple, and sharing is high-efficient, to enhance the experience of user.
Embodiment three
Referring to Fig. 3, it is a kind of method of information processing provided in an embodiment of the present invention, is applied to electronic equipment, this method Include:
301: during the playing device playing video file of electronic equipment, real time monitoring playing device obtains the view Each frame image of frequency file;The video file has X frame image, and X >=1, X are integer.
302: expression of the user when watching the i-th frame image being obtained by the camera of electronic equipment, and saves the expression The image at place.
Wherein, the initial value of i is 1.
303: obtaining the feature of expression of the user when watching the i-th frame image in real time by the detection device of electronic equipment Value.
Illustratively, electronic equipment can use image processing techniques in the prior art and obtain user in real time in viewing the The characteristic value of expression when i frame image.
304: judging whether the characteristic value of expression when user watches the i-th frame image meets predetermined condition.
If so, thening follow the steps 305;If it is not, thening follow the steps 306.
Illustratively, step 304 can specifically include: by the characteristic value of expression of the user when watching the i-th frame image with The characteristic value of expression in preset expression library is matched, and matching value is obtained;Judge whether matching value meets predetermined item Part.
Wherein, predetermined condition can be greater than a default value for the matching value, or within the scope of a default value; The characteristic value of expression in the expression library can specifically include: feature when characteristic value when laugh, characteristic value when crying, excitement Characteristic value etc. when being worth, is indignant.
305: the i-th frame image of storage, the number Y for meeting the image of predetermined condition add 1 certainly;Wherein, the initial value of Y is 0.
306:i adds 1 certainly.
307: judging whether i is equal to X.
If so, thening follow the steps 308;If it is not, then return step 302.
308: under the first trigger condition, prompting user in the first way;So that user is defeated to electronic equipment instruction first Enter operation.
Illustratively, the first trigger condition can be with are as follows: video file plays at the time of end or electronic equipment receives At the time of the instruction of closing playing device etc..First method can be voice prompting, text prompt etc., wherein suggestion content can To include: whether to share, image identification for whether generating video file etc., whether generate composite video file etc..
309: it is based on the first trigger condition, selects k-th of image in the Y frame image for meeting predetermined condition, as First frame image;1≤k≤Y, k are integer, and first frame image includes M object, and M >=1, M are integer.
Optionally, which can also be substituted with following steps: user selects in the Y frame image for meeting predetermined condition An image is selected, and indicates the image to electronic equipment, electronic equipment is using the image as first frame image.
310: receiving the first input operation of user's instruction.
311: being inputted and operated with first frame image response first.
Illustratively, step 311 can specifically include: first frame image is shown on the display unit of electronic equipment, And it is set to editable state.Wherein, setting editable state for first frame image can specifically include: by M image in one frame image is set as editable state.
312: the image where expression when storing user's viewing kth frame image in obtaining step 302, and the image is made For the first image.
Optionally, step 312 can be replaced with following steps:
User selects an image from the storage device of electronic equipment, and indicates that the image, electronics are set to electronic equipment For using the image as the first image;
Alternatively, electronic equipment is based on camera and obtains the first image after step 311.
313: delete operation being executed to N number of object in M object, obtains the second image;1≤N≤M, N are integer.
Illustratively, before step 313, this method can also comprise determining that N number of object, can specifically include: user N number of object is indicated to electronic equipment.For example, first frame image includes the head portrait of 3 protagonists, user wishes will be in first frame image The head portrait of protagonist 1 replace with oneself head portrait, then 1 head portrait is acted the leading role to electronic equipment instruction.
314: N number of image in the first image being merged with the second image, and N number of image difference in the first image N number of region in the second image where deleted N number of object obtains combination image.
Illustratively, first frame image includes the head portrait of 3 protagonists, and user acts the leading role 1 head portrait to electronic equipment instruction, then After executing step 313, the head portrait of the protagonist 1 in the first frame image is deleted, in this case, step 314 specifically: electronics 1 head portrait in first image is placed on the region where the head portrait for acting the leading role 1 in first frame image by equipment, and by the first image and Second image merges, and obtains combination image.
315: with one functional module of combination image response.
The step 315 is to combine the application of image, specifically can be applied to several fields in the step 214 such as embodiment two Scape, details are not described herein again.
The method of information processing provided in an embodiment of the present invention is applied to electronic equipment, passes through broadcasting in the electronic equipment When putting device playing video file, monitors the playing device in real time and obtain each frame image of the video file, and store user Expression when watching each frame;And then user is obtained when watching each frame image by the detection device of electronic equipment in real time Expression characteristic value, and the characteristic value of the expression by user therein when watching each frame image meets the of predetermined condition One frame image is handled with the first image (image where expression of the user when watching the frame image), generates constitutional diagram Picture, the combination image are used to respond a functional module of the electronic equipment.In the video file that this programme can watch user The generation of image and other images (the first image) combine image, to respond the functional module on the electronic equipment.It compares The sharing process of the prior art, during this programme responds the functional module on electronic equipment, the operating process of user is simple, Share it is high-efficient, to enhance the experience of user.
Example IV
It referring to fig. 4, is a kind of electronic equipment provided in an embodiment of the present invention, to execute information processing shown in FIG. 1 Method, the electronic equipment include:
Playing device 41 is used for playing video file;
Monitoring unit 42, for being broadcast described in real time monitoring during the playing device 41 plays a video file Put each frame image that device obtains the video file;The video file has X frame image;X >=1, the X are integer;
Whether the first determination unit 43, each frame image for determining in the X frame image meet predetermined condition;
Second determination unit 44, for determining the first frame image for meeting the predetermined condition from the X frame image;Institute Stating first frame image includes M object, and M >=1, the M is integer;
First obtains unit 45, for obtaining the first input operation;
Response unit 46, for the first input operation described in the first frame image response;
Second obtaining unit 47, for obtaining the first image;
Processing unit 48 generates combination image for being handled with the first image the first frame image;Institute State the functional module that combination image is used to respond the electronic equipment.
Optionally, the processing unit 48 is specifically used for,
N number of object in the M object is handled, the second image is obtained;1≤N≤M, the N are integer;
Merge the first image and second image, generates combination image;The combination image includes the M right N number of object in the M-N object and the first image in addition to N number of object as in.
Optionally, referring to Fig. 5, the electronic equipment further include: prompt unit 49 is used under the first trigger condition, with First method prompts user;So that user operates to electronic equipment instruction first input.
Optionally, first determination unit 43 is specifically used for,
Obtain the characteristic value of the object in each frame image in the X frame image;
Determine whether the characteristic value of the object in each frame image in the X frame image meets predetermined condition.
Optionally, first determination unit 43 is specifically used for,
By the detection device of the electronic equipment user is obtained in real time in watching the X frame image when each frame image Expression characteristic value;
Determine whether the characteristic value of expression when each frame image that user watches in the X frame meets predetermined condition.
Optionally, the functional module is a sharing application, referring to Fig. 5, the electronic equipment further include: sharing unit 4A, for sharing the combination image based on sharing application;
Alternatively, the functional module is used to generate the image identification of video file, referring to Fig. 5, the electronic equipment is also wrapped It includes: the first generation unit 4B, for the combination image to be generated to the image identification of the video file;
Alternatively, the functional module is used to generate composite video file, and referring to Fig. 5, the electronic equipment further include: second Generation unit 4C, for multiple combination images to be generated composite video file.
Electronic equipment provided in an embodiment of the present invention, by the playing device playing video file of the electronic equipment, Monitor each frame image that the playing device obtains the video file in real time, and then to meeting predetermined condition in each frame image First frame image handled with the first image, generate combination image, the combination image is for responding the one of the electronic equipment Functional module.The image and other images (the first image) generation constitutional diagram in video file that this programme can watch user Picture, to respond the functional module on the electronic equipment.Sharing process compared with prior art, this programme respond electronic equipment On functional module during, the operating process of user is simple, share it is high-efficient, to enhance the experience of user.
Embodiment five
It is a kind of electronic equipment provided in an embodiment of the present invention, to execute information processing shown in FIG. 1 referring to Fig. 6 Method, the electronic equipment include:
Playing device 61 is used for playing video file, memory 62 and processor 63, wherein memory 62 is for storing One group of code, the code execute following movement for processor 63:
During the playing device 61 of the electronic equipment plays a video file, the playing device is monitored in real time Obtain each frame image of the video file;The video file has X frame image;X >=1, the X are integer;
Determine whether each frame image in the X frame image meets predetermined condition;
The first frame image for meeting the predetermined condition is determined from the X frame image;The first frame image includes M Object, M >=1, the M are integer;
Obtain the first input operation;
With the first input operation described in the first frame image response;
Obtain the first image;
The first frame image is handled with the first image, generates combination image;The combination image is used for Respond a functional module of the electronic equipment.
Optionally, processor 63 is specifically used for,
N number of object in the M object is handled, the second image is obtained;1≤N≤M, the N are integer;
Merge the first image and second image, generates combination image;The combination image includes the M right N number of object in the M-N object and the first image in addition to N number of object as in.
Optionally, processor 63 is also used to, and under the first trigger condition, prompts user in the first way;So that user to Electronic equipment instruction the first input operation.
Optionally, processor 63 is specifically used for,
Obtain the characteristic value of the object in each frame image in the X frame image;
Determine whether the characteristic value of the object in each frame image in the X frame image meets predetermined condition.
Optionally, processor 63 is specifically used for,
By the detection device of the electronic equipment user is obtained in real time in watching the X frame image when each frame image Expression characteristic value;
Determine whether the characteristic value of expression when each frame image that user watches in the X frame meets predetermined condition.
Optionally, the functional module is a sharing application, and processor 63 is also used to, and shares institute based on sharing application State combination image;
Alternatively, the functional module is used to generate the image identification of video file, processor 63 is also used to, by the combination Image generates the image identification of the video file;
Alternatively, the functional module is for generating composite video file, processor 63 is also used to, by multiple constitutional diagrams As generating composite video file.
Electronic equipment provided in an embodiment of the present invention, by the playing device playing video file of the electronic equipment, Monitor each frame image that the playing device obtains the video file in real time, and then to meeting predetermined condition in each frame image First frame image handled with the first image, generate combination image, the combination image is for responding the one of the electronic equipment Functional module.The image and other images (the first image) generation constitutional diagram in video file that this programme can watch user Picture, to respond the functional module on the electronic equipment.Sharing process compared with prior art, this programme respond electronic equipment On functional module during, the operating process of user is simple, share it is high-efficient, to enhance the experience of user.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. a kind of method of information processing, which is characterized in that be applied to electronic equipment, which comprises
During the playing device of the electronic equipment plays a video file, monitors the playing device in real time and obtain institute State each frame image of video file;The video file has X frame image;X >=1, the X are integer;
Determine whether each frame image in the X frame image meets predetermined condition;
The first frame image for meeting the predetermined condition is determined from the X frame image;The first frame image includes M right As M >=1, the M is integer;
Obtain the first input operation;
With the first input operation described in the first frame image response;
Obtain the first image;
The first frame image is handled with the first image, generates combination image;The combination image is for responding One functional module of the electronic equipment, so that the object in the first image replaces pair in the first frame image As;
The first frame image is shown on the display unit of the electronic equipment, and setting the first frame image to can The state of editor.
2. the method according to claim 1, wherein it is described to the first frame image and the first image into Row processing generates combination image, comprising:
N number of object in the M object is handled, the second image is obtained;1≤N≤M, the N are integer;
Merge the first image and second image, generates combination image;The combination image includes in the M object The M-N object and the first image in addition to N number of object in N number of object.
3. the method according to claim 1, wherein it is described obtain first input operation before, the method Further include:
Under the first trigger condition, user is prompted in the first way;So that user is defeated to electronic equipment instruction described first Enter operation.
4. the method according to claim 1, wherein each frame image in the determination X frame image is It is no to meet predetermined condition, comprising:
Obtain the characteristic value of the object in each frame image in the X frame image;
Determine whether the characteristic value of the object in each frame image in the X frame image meets predetermined condition.
5. the method according to claim 1, wherein each frame image in the determination X frame image is It is no to meet predetermined condition, comprising:
Table of the user in watching the X frame image when each frame image is obtained in real time by the detection device of the electronic equipment The characteristic value of feelings;
Determine whether the characteristic value of expression when each frame image that user watches in the X frame meets predetermined condition.
6. the method according to claim 1, wherein
The functional module is a sharing application, the method also includes: the combination image is shared based on sharing application;
Alternatively, the functional module is used to generate the image identification of video file, and the method also includes: by the combination image Generate the image identification of the video file;
Alternatively, the functional module is used to generate composite video file, and the method also includes: multiple combination images are raw At combination video file.
7. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Playing device is used for playing video file;
Monitoring unit, for monitoring the playing device in real time and obtaining during the playing device plays a video file Obtain each frame image of the video file;The video file has X frame image;X >=1, the X are integer;
Whether the first determination unit, each frame image for determining in the X frame image meet predetermined condition;
Second determination unit, for determining the first frame image for meeting the predetermined condition from the X frame image;Described first Frame image includes M object, and M >=1, the M is integer;
First obtains unit, for obtaining the first input operation;
Response unit, for the first input operation described in the first frame image response;
Second obtaining unit, for obtaining the first image;
Processing unit generates combination image for being handled with the first image the first frame image;The combination Image is used to respond a functional module of the electronic equipment, so that the object in the first image replaces the first frame Object in image;
The first frame image is shown on the display unit of the electronic equipment, and setting the first frame image to can The state of editor.
8. electronic equipment according to claim 7, which is characterized in that the processing unit is specifically used for,
N number of object in the M object is handled, the second image is obtained;1≤N≤M, the N are integer;
Merge the first image and second image, generates combination image;The combination image includes in the M object The M-N object and the first image in addition to N number of object in N number of object.
9. electronic equipment according to claim 7, which is characterized in that the electronic equipment further include:
Prompt unit, for prompting user in the first way under the first trigger condition;So that user refers to the electronic equipment Show the first input operation.
10. electronic equipment according to claim 7, which is characterized in that first determination unit is specifically used for,
Obtain the characteristic value of the object in each frame image in the X frame image;
Determine whether the characteristic value of the object in each frame image in the X frame image meets predetermined condition.
11. electronic equipment according to claim 7, which is characterized in that first determination unit is specifically used for,
Table of the user in watching the X frame image when each frame image is obtained in real time by the detection device of the electronic equipment The characteristic value of feelings;
Determine whether the characteristic value of expression when each frame image that user watches in the X frame meets predetermined condition.
12. electronic equipment according to claim 7, which is characterized in that
The functional module is a sharing application, the electronic equipment further include: sharing unit, for being applied based on the sharing Share the combination image;
Alternatively, the functional module is used to generate the image identification of video file, the electronic equipment further include: first generates list Member, for the combination image to be generated to the image identification of the video file;
Alternatively, the functional module is for generating composite video file, the electronic equipment further include: the second generation unit is used In multiple combination images are generated composite video files.
CN201310421963.4A 2013-09-16 2013-09-16 A kind of method and electronic equipment of information processing Active CN104461222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310421963.4A CN104461222B (en) 2013-09-16 2013-09-16 A kind of method and electronic equipment of information processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310421963.4A CN104461222B (en) 2013-09-16 2013-09-16 A kind of method and electronic equipment of information processing

Publications (2)

Publication Number Publication Date
CN104461222A CN104461222A (en) 2015-03-25
CN104461222B true CN104461222B (en) 2019-02-05

Family

ID=52907374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310421963.4A Active CN104461222B (en) 2013-09-16 2013-09-16 A kind of method and electronic equipment of information processing

Country Status (1)

Country Link
CN (1) CN104461222B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5590262A (en) * 1993-11-02 1996-12-31 Magic Circle Media, Inc. Interactive video interface and method of creation thereof
CN1312643A (en) * 2000-03-08 2001-09-12 Lg电子株式会社 Method for generating synthesized key frame and video glancing-over system using said method
TW200639739A (en) * 2005-05-09 2006-11-16 Compal Electronics Inc Method for inserting a picture in a video frame
CN102170591A (en) * 2010-02-26 2011-08-31 索尼公司 Content playing device
TW201301891A (en) * 2011-06-17 2013-01-01 Microsoft Corp Video highlight identification based on environmental sensing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719872A (en) * 2005-08-11 2006-01-11 上海交通大学 Film recreation system based on whole body replacing
CN101563698A (en) * 2005-09-16 2009-10-21 富利克索尔股份有限公司 Personalizing a video
KR101382499B1 (en) * 2007-10-22 2014-04-21 삼성전자주식회사 Method for tagging video and apparatus for video player using the same
CN102196245A (en) * 2011-04-07 2011-09-21 北京中星微电子有限公司 Video play method and video play device based on character interaction
US9286641B2 (en) * 2011-10-19 2016-03-15 Facebook, Inc. Automatic photo capture based on social components and identity recognition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5590262A (en) * 1993-11-02 1996-12-31 Magic Circle Media, Inc. Interactive video interface and method of creation thereof
CN1312643A (en) * 2000-03-08 2001-09-12 Lg电子株式会社 Method for generating synthesized key frame and video glancing-over system using said method
TW200639739A (en) * 2005-05-09 2006-11-16 Compal Electronics Inc Method for inserting a picture in a video frame
CN102170591A (en) * 2010-02-26 2011-08-31 索尼公司 Content playing device
TW201301891A (en) * 2011-06-17 2013-01-01 Microsoft Corp Video highlight identification based on environmental sensing

Also Published As

Publication number Publication date
CN104461222A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN105957530B (en) Voice control method and device and terminal equipment
CN105933783B (en) A kind of playback method of barrage, device and terminal device
CN101169955B (en) Method and apparatus for generating meta data of content
CN104822074B (en) A kind of recommendation method and device of TV programme
US9124856B2 (en) Method and system for video event detection for contextual annotation and synchronization
CN105338238B (en) A kind of photographic method and electronic equipment
CN110691633B (en) Method and system for determining reaction time of response and synchronizing user interface with content being rendered
CN107018443A (en) Video recording method, device and electronic equipment
CN110149549B (en) Information display method and device
CN103686344A (en) Enhanced video system and method
JP4621758B2 (en) Content information reproducing apparatus, content information reproducing system, and information processing apparatus
CN105872717A (en) Video processing method and system, video player and cloud server
CN108712667B (en) Smart television, screen capture application method and device thereof, and readable storage medium
WO2013097160A1 (en) Interactive media systems
CN107743271A (en) A kind of processing method of barrage, electronic equipment and computer-readable recording medium
JP2013109537A (en) Interest degree estimation device and program thereof
CN105929941B (en) Information processing method and device and terminal equipment
CN110062163B (en) Multimedia data processing method and device
CN104539998A (en) Intelligent set top box and achieving method thereof
CN108388836B (en) Method and device for acquiring video semantic information
CN113596574A (en) Video processing method, video processing apparatus, electronic device, and readable storage medium
CN104461222B (en) A kind of method and electronic equipment of information processing
US9407864B2 (en) Data processing method and electronic device
CN109151599A (en) Method for processing video frequency and device
CN111918112B (en) Video optimization method, device, storage medium and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant