CN109191370A - Image processing method, device, intelligent terminal and computer readable storage medium - Google Patents

Image processing method, device, intelligent terminal and computer readable storage medium Download PDF

Info

Publication number
CN109191370A
CN109191370A CN201810884934.4A CN201810884934A CN109191370A CN 109191370 A CN109191370 A CN 109191370A CN 201810884934 A CN201810884934 A CN 201810884934A CN 109191370 A CN109191370 A CN 109191370A
Authority
CN
China
Prior art keywords
image
feature
described image
additional information
processed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810884934.4A
Other languages
Chinese (zh)
Inventor
杨颖慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guang Heng Hengyu (beijing) Technology Co Ltd
Original Assignee
Guang Heng Hengyu (beijing) Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guang Heng Hengyu (beijing) Technology Co Ltd filed Critical Guang Heng Hengyu (beijing) Technology Co Ltd
Priority to CN201810884934.4A priority Critical patent/CN109191370A/en
Publication of CN109191370A publication Critical patent/CN109191370A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses image processing method, device, intelligent terminal and computer readable storage mediums.The described method includes: obtaining image to be processed;Described image is identified, at least one feature of described image is obtained;Additional information is added in described image based on the feature.The application scenarios of the technical solution are extensive, and all kinds of photos of shooting, normal picture etc. can be identified therefrom can be with the feature of additional information, and adds additional information on this basis, enrich the content of picture, user group is expanded, playing method multiplicity is novel interesting.

Description

Image processing method, device, intelligent terminal and computer readable storage medium
Technical field
The present invention relates to technical field of image processing, and in particular to image processing method, device, intelligent terminal and computer Readable storage medium storing program for executing.
Background technique
Currently, being capable of providing the application of image procossing has very much, such as take pictures using U.S. face effect is had mostly, also The special efficacys such as various headwears are provided, are selected for user.However, existing application scenarios are less, it is impossible to meet the demand of user, It is just to be able to achieve based on recognition of face mostly.Such as one desktop of shooting, it is difficult to carry out it rich interesting processing.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State image processing method, device, intelligent terminal and the computer readable storage medium of problem.
According to one aspect of the present invention, a kind of image processing method is provided, comprising:
Obtain image to be processed;
Described image is identified, at least one feature of described image is obtained;
Additional information is added in described image based on the feature.
It is optionally, described that obtain image to be processed include following one or more:
Image to be processed is read from the memory of intelligent terminal;
Image to be processed is obtained from the server of application;
The camera for opening intelligent terminal obtains the image to be processed of the camera shooting.
Optionally, described image includes following one or more:
Static images;
Frame some or all of in dynamic picture;
Frame some or all of in video.
Optionally, described to identify to described image, at least one feature for obtaining described image includes:
Binary conversion treatment is carried out to described image;
At least one default geometric figure feature is identified from the image after binaryzation.
Optionally, the default geometric figure feature includes following one or more:
Straight line, plane and cuboid.
Optionally, described to add additional information in described image based on the feature and include:
The special efficacy with the geometric figure characteristic matching is chosen from special efficacy library;
The special efficacy is merged in described image with the geometric figure feature.
Optionally, described to identify to described image, at least one feature for obtaining described image includes:
Using several object recognizer, at least one object is identified from described image;
It is described to be based on the feature to add additional information in described image including: to add label for the object.
Optionally, the label is text displaying control and/or plays the audio presentation control of sound in a triggered.
Optionally, the label includes the description information that the object is described with one or more texts.
Optionally, described to add additional information in described image based on the feature and include:
When the feature has multiple, according to area accounting of each feature in described image, determine as additional letter The feature on breath addition basis;Alternatively, obtained feature is indicated in described image, conduct is determined according to instruction is chosen The feature on additional information addition basis;Alternatively, determining to add as additional information according to the priority of the affiliated type of each feature The feature on basis.
Another aspect according to the present invention provides a kind of image processing apparatus, comprising:
Image acquisition unit, suitable for obtaining image to be processed;
Image identification unit obtains at least one feature of described image suitable for identifying to described image;
Image processing unit, suitable for adding additional information in described image based on the feature.
Optionally, described image acquiring unit, suitable for by it is following it is one or more in a manner of obtain image to be processed: from Image to be processed is read in the memory of intelligent terminal;Image to be processed is obtained from the server of application;Open intelligence eventually The camera at end obtains the image to be processed of the camera shooting.
Optionally, described image includes following one or more: static images;Some or all of in dynamic picture Frame;Frame some or all of in video.
Optionally, described image recognition unit is suitable for carrying out binary conversion treatment to described image;From the image after binaryzation In identify at least one default geometric figure feature.
Optionally, the default geometric figure feature includes following one or more:
Straight line, plane and cuboid.
Optionally, described image processing unit, suitable for choosing the spy with the geometric figure characteristic matching from special efficacy library Effect;The special efficacy is merged in described image with the geometric figure feature.
Optionally, described image recognition unit is suitable for utilizing several object recognizer, identify from described image At least one object out;
Described image processing unit is suitable for the object addition label.
Optionally, the label is text displaying control and/or plays the audio presentation control of sound in a triggered.
Optionally, the label includes the description information that the object is described with one or more texts.
Optionally, described image processing unit, suitable for when the feature has multiple, according to each feature in described image Area accounting, determine as additional information add basis feature;Alternatively, obtained feature is carried out in described image Mark determines the feature that basis is added as additional information according to instruction is chosen;Alternatively, according to the excellent of the affiliated type of each feature First grade determines the feature that basis is added as additional information.
Another aspect according to the present invention, provides a kind of intelligent terminal, comprising: processor;And it is arranged to store The memory of computer executable instructions, the executable instruction execute the processor such as any of the above-described institute The method stated.
According to the present invention in another aspect, providing a kind of computer readable storage medium, wherein it is described computer-readable Storage medium stores one or more programs, and one or more of programs when being executed by a processor, are realized as any of the above-described The method.
It can be seen from the above, technical solution of the present invention is known after getting image to be processed using image recognition technology Not Chu at least one feature in image, then the addition of additional information is carried out based on the feature identified to image.The technical side The application scenarios of case are extensive, and all kinds of photos of shooting, normal picture etc. can be identified therefrom can be with additional information Feature, and additional information is added on this basis, the content of picture is enriched, user group, playing method multiplicity have been expanded, novelty has Interest.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a 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 a kind of flow diagram of image processing method according to an embodiment of the invention;
Fig. 2 shows a kind of structural schematic diagrams of image processing apparatus according to an embodiment of the invention;
Fig. 3 shows the structural schematic diagram of intelligent terminal according to an embodiment of the invention;
Fig. 4 shows the structural schematic diagram of computer readable storage medium according to an embodiment of the invention;
Fig. 5 a shows the effect picture according to an embodiment of the invention for adding additional information in the picture;
Figure 5b shows that the effect pictures in accordance with another embodiment of the present invention for adding additional information in the picture;
Fig. 5 c shows the effect picture for adding additional information in the picture of another embodiment according to the present invention;
Fig. 5 d shows the effect picture for adding additional information in the picture of further embodiment according to the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure 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 It is fully disclosed to those skilled in the art.
Fig. 1 shows a kind of flow diagram of image processing method according to an embodiment of the invention.Such as Fig. 1 institute Show, this method comprises:
Step S110 obtains image to be processed.Specifically, in one embodiment of the invention, it obtains to be processed Image include following one or more: image to be processed is read from the memory of intelligent terminal;From the service of application Device obtains image to be processed;The camera of intelligent terminal is opened, the image to be processed of camera shooting is obtained.
For example, this method is applied in camera applications, intelligent terminal camera shooting can be obtained after camera applications starting When the access right of head, the camera of intelligent terminal is opened, obtains the image to be processed of camera shooting.In another example by this Method is applied in image processing application, can handle photograph album in intelligent terminal or the image under specified folder.Again For example, by this method be applied to live streaming application in, can before the video stream of shooting is gone out, to each frame therein into Row image procossing can also carry out image procossing to each frame in the video flowing received.
The mode for obtaining image to be processed can not also be limited in the present embodiment.
Step S120, identifies image, obtains at least one feature of image.
Step S130 adds additional information based on feature in the picture.
As it can be seen that method shown in FIG. 1 identifies image using image recognition technology after getting image to be processed In at least one feature, then based on the feature identified to image carry out additional information addition.The application of the technical solution Scene is extensive, for all kinds of photos of shooting, normal picture etc. can therefrom identify can with the feature of additional information, and Additional information is added on the basis of this, enriches the content of picture, has expanded user group, and playing method multiplicity is novel interesting.
In one embodiment of the invention, in the above method, image includes following one or more: static images; Frame some or all of in dynamic picture;Frame some or all of in video.
When handling dynamic picture or video, can select to handle which frame by user, such as with Family merely desires to generate short-sighted frequency using the segment in one section of video, then the frame in this segment can be selected only.
In one embodiment of the invention, in the above method, image is identified, obtains at least one spy of image Sign includes: to carry out binary conversion treatment to image;At least one default geometric figure feature is identified from the image after binaryzation.
Piece image generally includes target object, there are also noises for background, to directly extract from the digital picture of multivalue Target object out can set a threshold value T, the data of image are divided into two parts: greater than T pixel group with T and less than T's Pixel group.This mode is also referred to as the binaryzation of image.
It is to identify that the default geometrical characteristic in image, geometrical characteristic have very using binary conversion treatment in the present embodiment It is more, such as curve, straight line, triangle, ellipse etc..In one embodiment of the invention, in the above method, geometry is preset Graphic feature includes following one or more: straight line, plane and cuboid.
Above-mentioned three kinds of geometric figure features in general additional informations such as addition special efficacy preferably, and in photo also more For it is common, convenient for identification.Certainly, preset geometric figure feature can be not limited to above-mentioned three kinds in other embodiments.
Referring to Fig. 5 a, Fig. 5 b and Fig. 5 c, the effect example that additional information is added in photo is respectively illustrated.In Fig. 5 a, Expression is added on the surface (plane) of sofa;In Fig. 5 b, it is added to expression on book (cuboid), at bookshelf edge (straight line) On be added to chicken special efficacy;In Fig. 5 c, coffee garland special efficacy is added in coffee cup rim of a cup (circular plane).
In one embodiment of the invention, in the above method, added in the picture based on feature additional information include: from The special efficacy with geometric figure characteristic matching is chosen in special efficacy library;Special efficacy is merged in the picture with geometric figure feature.
By taking Fig. 5 c as an example, coffee garland is typically realized on circular coffee cup surface, therefore in reality scene Its matched geometric figure is exactly circular plane.Although Fig. 5 a and Fig. 5 b are to be added to expression, but it can be seen that expression The geometric figure being applicable in is different, if the sofa surface that the expression in Fig. 5 b is applied to Fig. 5 a is possible, but in Fig. 5 a Expression can not but be applied on the book in Fig. 5 b.Therefore, special efficacy and geometric figure are that there are certain matching relationships.
In one embodiment of the invention, in the above method, image is identified, obtains at least one spy of image Sign includes: that at least one object is identified from image using several object recognizer;In the picture based on feature Addition additional information includes: to add label for object.
Label as its name suggests, can carry out a degree of description to object, such as in one embodiment of the present of invention In, in the above method, label includes the description information that object is described with one or more texts.
Fig. 5 d shows the effect picture for adding additional information in the picture of further embodiment according to the present invention.Such as Fig. 5 d It is shown, have the cup with rice surprise decoration in figure, the label of addition included in have Chinese " cup " and English " Cup ", is easy the imagination, and this method can be applied in the English education of children.
In one embodiment of the invention, in the above method, label is text displaying control and/or broadcasts in a triggered The audio presentation control of sound reproduction sound.
It can be a kind of effect signal comprising text displaying control shown by Fig. 5 d.It will of course be understood that image can Using the carrier that can be interacted as one, audio presentation control is being added above, such as the pronunciation of " Cup " is issued after being triggered.
In one embodiment of the invention, in the above method, adding additional information in the picture based on feature includes: to work as When feature has multiple, according to the area accounting of each feature in the picture, the feature that basis is added as additional information is determined;Or Person indicates obtained feature in the picture, determines the feature that basis is added as additional information according to instruction is chosen; Alternatively, determining the feature for adding basis as additional information according to the priority of the affiliated type of each feature.
By taking Fig. 5 d as an example, not only there is cup in figure, there are one rice surprises to decorate.Therefore multiple features can recognize that When (meter Qi, cup), it is referred to mode shown in the present embodiment and is selected.For example, Fig. 5 d is exactly to exist according to feature Area accounting in image determines that feature is cup rather than meter Qi.It is readily appreciated that, if cup and meter Qi distinguished in figure It irises out, is selected by user, then or rice surprise adds additional information.For another example the preferential of different type feature can be set Grade (such as plane is better than straight line), determines the feature that basis is added as additional information.
Fig. 2 shows a kind of structural schematic diagrams of image processing apparatus according to an embodiment of the invention.Such as Fig. 2 institute Show, image processing apparatus 200 includes:
Image acquisition unit 210, suitable for obtaining image to be processed.Specifically, in one embodiment of the invention, Image acquisition unit 210, suitable for by it is following it is one or more in a manner of obtain image to be processed: from the memory of intelligent terminal It is middle to read image to be processed;Image to be processed is obtained from the server of application;The camera of intelligent terminal is opened, acquisition is taken the photograph The image to be processed shot as head.
For example, this method is applied in camera applications, intelligent terminal camera shooting can be obtained after camera applications starting When the access right of head, the camera of intelligent terminal is opened, obtains the image to be processed of camera shooting.In another example by this Method is applied in image processing application, can handle photograph album in intelligent terminal or the image under specified folder.Again For example, by this method be applied to live streaming application in, can before the video stream of shooting is gone out, to each frame therein into Row image procossing can also carry out image procossing to each frame in the video flowing received.
The mode for obtaining image to be processed can not also be limited in the present embodiment.
Image identification unit 220 obtains at least one feature of image suitable for identifying to image.
Image processing unit 230, suitable for adding additional information in the picture based on feature.
As it can be seen that device shown in Fig. 2, utilizes figure after getting image to be processed by the mutual cooperation of each unit As identification technology identifies at least one feature in image, then additional information is carried out to image based on the feature identified and is added Add.The application scenarios of the technical solution are extensive, and all kinds of photos of shooting, normal picture etc. can be identified therefrom can be with The feature of additional information, and additional information is added on this basis, the content of picture is enriched, user group, playing method have been expanded Multiplicity is novel interesting.
In one embodiment of the invention, in above-mentioned apparatus, image includes following one or more: static images; Frame some or all of in dynamic picture;Frame some or all of in video.
When handling dynamic picture or video, can select to handle which frame by user, such as with Family merely desires to generate short-sighted frequency using the segment in one section of video, then the frame in this segment can be selected only.
In one embodiment of the invention, in above-mentioned apparatus, image identification unit 220 is suitable for carrying out two-value to image Change processing;At least one default geometric figure feature is identified from the image after binaryzation.
Piece image generally includes target object, there are also noises for background, to directly extract from the digital picture of multivalue Target object out can set a threshold value T, the data of image are divided into two parts: greater than T pixel group with T and less than T's Pixel group.This mode is also referred to as the binaryzation of image.
It is to identify that the default geometrical characteristic in image, geometrical characteristic have very using binary conversion treatment in the present embodiment It is more, such as curve, straight line, triangle, ellipse etc..In one embodiment of the invention, in above-mentioned apparatus, geometry is preset Graphic feature includes following one or more: straight line, plane and cuboid.
Above-mentioned three kinds of geometric figure features in general additional informations such as addition special efficacy preferably, and in photo also more For it is common, convenient for identification.Certainly, preset geometric figure feature can be not limited to above-mentioned three kinds in other embodiments.
Referring to Fig. 5 a, Fig. 5 b and Fig. 5 c, the effect example that additional information is added in photo is respectively illustrated.In Fig. 5 a, Expression is added on the surface (plane) of sofa;In Fig. 5 b, it is added to expression on book (cuboid), at bookshelf edge (straight line) On be added to chicken special efficacy;In Fig. 5 c, coffee garland special efficacy is added in coffee cup rim of a cup (circular plane).
In one embodiment of the invention, in above-mentioned apparatus, image processing unit 230, suitable for being chosen from special efficacy library With the special efficacy of geometric figure characteristic matching;Special efficacy is merged in the picture with geometric figure feature.
By taking Fig. 5 c as an example, coffee garland is typically realized on circular coffee cup surface, therefore in reality scene Its matched geometric figure is exactly circular plane.Although Fig. 5 a and Fig. 5 b are to be added to expression, but it can be seen that expression The geometric figure being applicable in is different, if the sofa surface that the expression in Fig. 5 b is applied to Fig. 5 a is possible, but in Fig. 5 a Expression can not but be applied on the book in Fig. 5 b.Therefore, special efficacy and geometric figure are that there are certain matching relationships.
In one embodiment of the invention, in above-mentioned apparatus, image identification unit 220 is suitable for utilizing several target Object recognizer identifies at least one object from image;Image processing unit 230 is suitable for object addition label.
Label as its name suggests, can carry out a degree of description to object, such as in one embodiment of the present of invention In, in above-mentioned apparatus, label includes the description information that object is described with one or more texts.
Fig. 5 d shows the effect picture for adding additional information in the picture of further embodiment according to the present invention.Such as Fig. 5 d It is shown, have the cup with rice surprise decoration in figure, the label of addition included in have Chinese " cup " and English " Cup ", is easy the imagination, and this method can be applied in the English education of children.
In one embodiment of the invention, in above-mentioned apparatus, label is text displaying control and/or broadcasts in a triggered The audio presentation control of sound reproduction sound.
It can be a kind of effect signal comprising text displaying control shown by Fig. 5 d.It will of course be understood that image can Using the carrier that can be interacted as one, audio presentation control is being added above, such as the pronunciation of " Cup " is issued after being triggered.
In one embodiment of the invention, in above-mentioned apparatus, image processing unit 230, suitable for when feature has multiple, According to the area accounting of each feature in the picture, the feature that basis is added as additional information is determined;Alternatively, the spy that will be obtained Sign is indicated in the picture, determines the feature that basis is added as additional information according to instruction is chosen;Alternatively, according to each spy The priority of type belonging to levying determines the feature that basis is added as additional information.
By taking Fig. 5 d as an example, not only there is cup in figure, there are one rice surprises to decorate.Therefore multiple features can recognize that When (meter Qi, cup), it is referred to mode shown in the present embodiment and is selected.For example, Fig. 5 d is exactly to exist according to feature Area accounting in image determines that feature is cup rather than meter Qi.It is readily appreciated that, if cup and meter Qi distinguished in figure It irises out, is selected by user, then or rice surprise adds additional information.For another example the preferential of different type feature can be set Grade (such as plane is better than straight line), determines the feature that basis is added as additional information.
In conclusion technical solution of the present invention is identified after getting image to be processed using image recognition technology At least one feature in image out, then the addition based on the feature identified to image progress additional information.The technical solution Application scenarios it is extensive, all kinds of photos of shooting, normal picture etc. can be identified therefrom can be with the spy of additional information Sign, and additional information is added on this basis, the content of picture is enriched, user group, playing method multiplicity have been expanded, novelty has Interest.
It should be understood that
Algorithm and display be not inherently related to any certain computer, virtual bench or other equipment provided herein. Various fexible units can also be used together with teachings based herein.As described above, it constructs required by this kind of device Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced 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 specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, 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 disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, 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 itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose 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 certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize some in image processing apparatus according to an embodiment of the present invention or The some or all functions of person's whole component.The present invention is also implemented as one for executing method as described herein Point or whole device or device programs (for example, computer program and computer program product).Such this hair of realization Bright program can store on a computer-readable medium, or may be in the form of one or more signals.It is such Signal can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or is provided in any other form.
For example, Fig. 3 shows the structural schematic diagram of intelligent terminal according to an embodiment of the invention.The intelligent terminal packet It includes processor 310 and is arranged to the memory 320 of storage computer executable instructions (computer readable program code).Storage Device 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 the computer-readable program stored for executing any method and step in the above method The memory space 330 of code 331.For example, the memory space 330 for storing computer readable program code may include difference For realizing each computer readable program code 331 of the various steps in above method.Computer readable program code 331 can read or be written to the production of this one or more computer program from one or more computer program product In product.These computer program products include such as hard disk, and the program code of compact-disc (CD), storage card or floppy disk etc carries Body.Such computer program product is usually computer readable storage medium described in such as Fig. 4.Fig. 4 is shown according to this A kind of structural schematic diagram of the computer readable storage medium of invention one embodiment.The computer readable storage medium 400 is deposited The computer readable program code 331 for executing steps of a method in accordance with the invention is contained, it can be by the place of intelligent terminal 300 It manages device 310 to read, when computer readable program code 331 is run by intelligent terminal 300, the intelligent terminal 300 is caused to execute Each step in method described above, specifically, the computer-readable journey of the computer-readable recording medium storage Sequence code 331 can execute method shown in any of the above-described embodiment.Computer readable program code 331 can be with appropriate shape Formula is compressed.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses 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" located in front of the 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.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The invention discloses A1, a kind of image processing method, comprising:
Obtain image to be processed;
Described image is identified, at least one feature of described image is obtained;
Additional information is added in described image based on the feature.
A2, method as described in a1, wherein described to obtain image to be processed include following one or more:
Image to be processed is read from the memory of intelligent terminal;
Image to be processed is obtained from the server of application;
The camera for opening intelligent terminal obtains the image to be processed of the camera shooting.
A3, method as described in a1, wherein described image includes following one or more:
Static images;
Frame some or all of in dynamic picture;
Frame some or all of in video.
A4, method as described in a1, wherein it is described that described image is identified, obtain at least one of described image Feature includes:
Binary conversion treatment is carried out to described image;
At least one default geometric figure feature is identified from the image after binaryzation.
A5, the method as described in A4, wherein the default geometric figure feature includes following one or more:
Straight line, plane and cuboid.
A6, the method as described in A4, wherein described to add additional information in described image based on the feature and include:
The special efficacy with the geometric figure characteristic matching is chosen from special efficacy library;
The special efficacy is merged in described image with the geometric figure feature.
A7, method as described in a1, wherein it is described that described image is identified, obtain at least one of described image Feature includes:
Using several object recognizer, at least one object is identified from described image;
It is described to be based on the feature to add additional information in described image including: to add label for the object.
A8, the method as described in A7, wherein the label is text displaying control and/or plays sound in a triggered Audio presentation control.
A9, the method as described in A7, wherein the label includes to be retouched with one or more texts to the object The description information stated.
A10, method as described in a1, wherein described to add additional information in described image based on the feature and include:
When the feature has multiple, according to area accounting of each feature in described image, determine as additional letter The feature on breath addition basis;Alternatively, obtained feature is indicated in described image, conduct is determined according to instruction is chosen The feature on additional information addition basis;Alternatively, determining to add as additional information according to the priority of the affiliated type of each feature The feature on basis.
The invention also discloses B11, a kind of image processing apparatus, comprising:
Image acquisition unit, suitable for obtaining image to be processed;
Image identification unit obtains at least one feature of described image suitable for identifying to described image;
Image processing unit, suitable for adding additional information in described image based on the feature.
B12, device as described in b11, wherein
Described image acquiring unit, suitable for by it is following it is one or more in a manner of obtain image to be processed: from intelligent end Image to be processed is read in the memory at end;Image to be processed is obtained from the server of application;Open taking the photograph for intelligent terminal As head, the image to be processed of the camera shooting is obtained.
B13, device as described in b11, wherein described image includes following one or more: static images;Dynamic Graph Frame some or all of in piece;Frame some or all of in video.
B14, device as described in b11, wherein
Described image recognition unit is suitable for carrying out binary conversion treatment to described image;It is identified from the image after binaryzation At least one default geometric figure feature out.
B15, the device as described in B14, wherein the default geometric figure feature includes following one or more:
Straight line, plane and cuboid.
B16, the device as described in B14, wherein
Described image processing unit, suitable for choosing the special efficacy with the geometric figure characteristic matching from special efficacy library;By institute Special efficacy is stated to be merged in described image with the geometric figure feature.
B17, device as described in b11, wherein
Described image recognition unit is suitable for utilizing several object recognizer, identify at least from described image A kind of object;
Described image processing unit is suitable for the object addition label.
B18, the device as described in B17, wherein label broadcasting sound for text displaying control and/or in a triggered The audio presentation control of sound.
B19, the device as described in B17, wherein the label includes to be carried out with one or more texts to the object The description information of description.
B20, device as described in b11, wherein
Described image processing unit, suitable for when the feature has multiple, according to area of each feature in described image Accounting determines the feature that basis is added as additional information;Alternatively, obtained feature is indicated in described image, The feature that basis is added as additional information is determined according to instruction is chosen;Alternatively, according to the priority of the affiliated type of each feature, Determine the feature that basis is added as additional information.
The invention also discloses C21, a kind of intelligent terminal, wherein the intelligent terminal includes: processor;And it is arranged At the memory of storage computer executable instructions, the executable instruction makes the processor execute such as A1- when executed Method described in any one of A10.
The invention also discloses D 22, a kind of computer readable storage medium, wherein the computer readable storage medium One or more programs are stored, one or more of programs when being executed by a processor, are realized such as any one of A1-A10 institute The method stated.

Claims (10)

1. a kind of image processing method, comprising:
Obtain image to be processed;
Described image is identified, at least one feature of described image is obtained;
Additional information is added in described image based on the feature.
2. the method for claim 1, wherein described, to obtain image to be processed include following one or more:
Image to be processed is read from the memory of intelligent terminal;
Image to be processed is obtained from the server of application;
The camera for opening intelligent terminal obtains the image to be processed of the camera shooting.
3. the method for claim 1, wherein described image includes following one or more:
Static images;
Frame some or all of in dynamic picture;
Frame some or all of in video.
4. the method for claim 1, wherein described identify described image, at least the one of described image is obtained A feature includes:
Binary conversion treatment is carried out to described image;
At least one default geometric figure feature is identified from the image after binaryzation.
5. method as claimed in claim 4, wherein the default geometric figure feature includes following one or more:
Straight line, plane and cuboid.
6. method as claimed in claim 4, wherein described to add additional information packet in described image based on the feature It includes:
The special efficacy with the geometric figure characteristic matching is chosen from special efficacy library;
The special efficacy is merged in described image with the geometric figure feature.
7. the method for claim 1, wherein described identify described image, at least the one of described image is obtained A feature includes:
Using several object recognizer, at least one object is identified from described image;
It is described to be based on the feature to add additional information in described image including: to add label for the object.
8. a kind of image processing apparatus, comprising:
Image acquisition unit, suitable for obtaining image to be processed;
Image identification unit obtains at least one feature of described image suitable for identifying to described image;
Image processing unit, suitable for adding additional information in described image based on the feature.
9. a kind of intelligent terminal, wherein the intelligent terminal includes: processor;And it is arranged to the executable finger of storage computer The memory of order, the executable instruction execute the processor as described in any one of claim 1-7 Method.
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 such as method of any of claims 1-7.
CN201810884934.4A 2018-08-06 2018-08-06 Image processing method, device, intelligent terminal and computer readable storage medium Pending CN109191370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810884934.4A CN109191370A (en) 2018-08-06 2018-08-06 Image processing method, device, intelligent terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810884934.4A CN109191370A (en) 2018-08-06 2018-08-06 Image processing method, device, intelligent terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109191370A true CN109191370A (en) 2019-01-11

Family

ID=64920252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810884934.4A Pending CN109191370A (en) 2018-08-06 2018-08-06 Image processing method, device, intelligent terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109191370A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020192761A1 (en) * 2019-03-28 2020-10-01 华为技术有限公司 Method for recording user emotion, and related apparatus
CN111914523A (en) * 2020-08-19 2020-11-10 腾讯科技(深圳)有限公司 Multimedia processing method and device based on artificial intelligence and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107492128A (en) * 2017-09-14 2017-12-19 光锐恒宇(北京)科技有限公司 A kind of image processing method and device
CN107948585A (en) * 2017-11-13 2018-04-20 西安艾润物联网技术服务有限责任公司 Video recording labeling method, device and computer-readable recording medium
CN108076288A (en) * 2017-12-14 2018-05-25 光锐恒宇(北京)科技有限公司 Image processing method, device and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107492128A (en) * 2017-09-14 2017-12-19 光锐恒宇(北京)科技有限公司 A kind of image processing method and device
CN107948585A (en) * 2017-11-13 2018-04-20 西安艾润物联网技术服务有限责任公司 Video recording labeling method, device and computer-readable recording medium
CN108076288A (en) * 2017-12-14 2018-05-25 光锐恒宇(北京)科技有限公司 Image processing method, device and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020192761A1 (en) * 2019-03-28 2020-10-01 华为技术有限公司 Method for recording user emotion, and related apparatus
CN111914523A (en) * 2020-08-19 2020-11-10 腾讯科技(深圳)有限公司 Multimedia processing method and device based on artificial intelligence and electronic equipment
CN111914523B (en) * 2020-08-19 2021-12-14 腾讯科技(深圳)有限公司 Multimedia processing method and device based on artificial intelligence and electronic equipment

Similar Documents

Publication Publication Date Title
US10299008B1 (en) Smart closed caption positioning system for video content
Minichino et al. Learning OpenCV 3 computer vision with python
CN108174099A (en) Method for displaying image, device and computer readable storage medium
Rahman Beginning Microsoft Kinect for Windows SDK 2.0: Motion and Depth Sensing for Natural User Interfaces
US20110016173A1 (en) Interactive information system, interactive information method, and computer readable medium thereof
CN108810619B (en) Method and device for identifying watermark in video and electronic equipment
EP3410258B1 (en) Method for pushing picture, mobile terminal and storage medium
CN108377418A (en) A kind of video labeling treating method and apparatus
CN108495058A (en) Image processing method, device and computer readable storage medium
CN107633541A (en) The generation method and device of a kind of image special effect
CN112866776B (en) Video generation method and device
CN108848416A (en) The evaluation method and device of audio-video frequency content
CN105807917A (en) Method and device for assisting user in learning characters
CN109191370A (en) Image processing method, device, intelligent terminal and computer readable storage medium
Bednarek The television title sequence: A visual analysis of Flight of the Conchords
CN108495184A (en) A kind of method and apparatus for adding barrage for video
CN109191545A (en) A kind of method and device making caricature
CN109040782A (en) Video playing processing method, device and electronic equipment
US20100194761A1 (en) Converting children's drawings into animated movies
JP7177175B2 (en) Creating rich content from text content
Smith et al. A method for animating children’s drawings of the human figure
CN115119014A (en) Video processing method, and training method and device of frame insertion quantity model
CN111782603A (en) Video book envelope display method, computing equipment and computer storage medium
Hetherington et al. Make-believing animated films featuring digital humans: A qualitative inquiry using online sources
CN105869447A (en) Generating method and device of audiobook

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