CN103839032B - A kind of recognition methods and electronic equipment - Google Patents
A kind of recognition methods and electronic equipment Download PDFInfo
- Publication number
- CN103839032B CN103839032B CN201210473641.XA CN201210473641A CN103839032B CN 103839032 B CN103839032 B CN 103839032B CN 201210473641 A CN201210473641 A CN 201210473641A CN 103839032 B CN103839032 B CN 103839032B
- Authority
- CN
- China
- Prior art keywords
- image
- identified
- electronic equipment
- display unit
- unit
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000009471 action Effects 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 14
- 238000001514 detection method Methods 0.000 claims description 8
- 239000007787 solid Substances 0.000 claims description 4
- 230000005611 electricity Effects 0.000 claims description 3
- 238000000926 separation method Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 210000004027 cell Anatomy 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 239000003086 colorant Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 229920001971 elastomer Polymers 0.000 description 2
- 239000005060 rubber Substances 0.000 description 2
- 241000894007 species Species 0.000 description 2
- 238000010009 beating Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Image Analysis (AREA)
- User Interface Of Digital Computer (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a kind of recognition methods and electronic equipment.Methods described is applied on an electronic equipment, and the electronic equipment includes a display unit, and method includes:When being placed with an object to be identified on the display unit, read the pre-set image that one be stored in the electronic equipment is less than a threshold value comprising color category, and the pre-set image is shown on the first area of the display unit, wherein, at least a portion of the object to be identified is placed in the first area;By built-in or be external at least one image collecting device of the electronic equipment, the first image is obtained, wherein, described first image is the image for including the subject image to be identified;Described first image is handled, so that the object to be identified to be identified.
Description
Technical field
The present invention relates to field of image recognition, more particularly to a kind of recognition methods and electronic equipment.
Background technology
With the development of science and technology, user can by image collecting device, such as camera, to carry out a variety of identifications,
Such as recognition of face, iris recognition, gesture identification.
At present, except above-mentioned identification technology, a kind of object recognition technique is have also appeared, at least one object is placed on one
On platform, one or more of these objects are object to be identified, and this platform can be a display screen.When user will
Object to be identified is placed on after this platform, and electronic equipment is just shot by least one camera to the platform, is taken
At least one image come will include above-mentioned object to be identified, then be carried out to shooting at least image come at image
Reason so that the separation of its prospect and background, then obtain treating the characteristic information of object from the prospect isolated for identifying, than
Such as, the information such as color, shape, trade mark, electronic equipment will be searched these information in its database or on internet
Rope matches, and finally identifies the object.
But present inventor has found that above-mentioned technology is at least deposited during technical scheme in realizing the embodiment of the present invention
In following technical problem:
Due to the multiple color that the background image shown by display screen may include, it will make it that the background image is more multiple
Miscellaneous, color category is more, and image complexity is higher, and so allowing for the platform surface image captured by camera has complexity
Background, so, when causing the separation to platform surface image progress prospect and background, interference is larger, and process is complicated, and separation is tired
Difficulty, and then the technical problem low to object identification accuracy to be identified be present.
The content of the invention
The present invention provides a kind of recognition methods and electronic equipment, to solve to treat identification thing present in prior art
The low technical problem of body identification accuracy.
On the one hand, one embodiment that the present invention passes through the application, there is provided a kind of recognition methods, applied to an electronic equipment
On, the electronic equipment includes a display unit, and methods described includes:When being placed with an object to be identified on the display unit
When, the pre-set image that one be stored in the electronic equipment is less than a threshold value comprising color category is read, and in the display
The pre-set image is shown on the first area of unit, wherein, at least a portion of the object to be identified is placed on described
In one region;By built-in or be external at least one image collecting device of the electronic equipment, the first image is obtained, its
In, described first image is the image for including the subject image to be identified;Described first image is handled, with to described
Object to be identified is identified.
Optionally, the default figure for reading one be stored in the electronic equipment and being less than a threshold value comprising color category
Picture, specifically include:Detection whether there is a trigger action to the electronic equipment, wherein, the trigger action is described in control
The operation of at least one image collecting device shooting;When the trigger action be present, the pre-set image is read.
Optionally, the first image of the acquisition, is specifically included:Based on the trigger action, a control instruction is generated;Perform
The control instruction, control at least one image collecting device shoot the surface of the display unit, obtained at least one
Second image;Based on second image, described first image is obtained.
Optionally, it is described that described first image is handled, specifically include:Described first image is handled, with
Obtain the first image information for including the identification feature image information for being used to the object to be identified be identified;Based on described
The identification feature image information in first image information, the object to be identified is identified.
Optionally, the pre-set image is specially the image with solid color.
Optionally, the pre-set image is stored in the video card of the electronic equipment.
On the other hand, the present invention provides a kind of electronic equipment by another embodiment of the application, including:Display unit;
Identification chip, for when being placed with an object to be identified on the display unit, reading to be stored in the electronic equipment
One is less than the pre-set image of a threshold value comprising color category, and the default figure is shown on the first area of the display unit
Picture, wherein, at least a portion of the object to be identified is placed in the first area;By built-in or be external in the electricity
At least one image collecting device of sub- equipment, the first image is obtained, wherein, described first image is to include the thing to be identified
The image of body image;Described first image is handled, so that the object to be identified to be identified.
Optionally, the identification chip specifically includes:First reading unit, for when being placed with one on the display unit
During object to be identified, the pre-set image being stored in the electronic equipment is read;First display unit, for described aobvious
Show and the pre-set image is shown on the first area of unit, wherein, at least a portion of the object to be identified is placed on described
In first area;First obtains unit, for by built-in or be external at least one image collector of the electronic equipment
Put, obtain described first image, wherein, described first image is the image for including the subject image to be identified;First identification
Unit, for handling described first image, so that the object to be identified to be identified.
Optionally, first reading unit specifically includes:First detection unit, it is to the electronic equipment for detecting
It is no a trigger action to be present, wherein, the operation that the trigger action shoots for control at least one image collecting device;The
One reads subelement, for when the trigger action be present, reading the pre-set image.
Optionally, the first obtains unit specifically includes:First generation unit, for based on the trigger action, life
Into a control instruction;First control unit, for performing the control instruction, control at least one image collecting device is clapped
The surface of the display unit is taken the photograph, obtains at least one second image;First graphics processing unit, for based on second figure
Picture, obtain described first image.
Optionally, first recognition unit specifically includes:Second graphics processing unit, for entering to described first image
Row processing, believed with obtaining the first image comprising the identification feature image information for being used to the object to be identified be identified
Breath;First identification subelement, for based on the identification feature image information in described first image information, waiting to know to described
Other object is identified.
Optionally, the pre-set image is specially the image with solid color.
Optionally, the electronic equipment also includes a video card, for storing the pre-set image.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
1st, because the pre-set image comprising color category less than a threshold value is shown in display unit, IMAQ is allowed for
The first image background that device is shot to first area is pre-set image, then, the color kind that the background of the first image is included
Class will be less than above-mentioned threshold value, then background is with regard to relatively simple, then, when carrying out foreground and background separation to the first image,
Interference is smaller so that and separation is relatively easy to, and will improve the identification accuracy to object to be identified, so, efficiently solve
The technical problem low to object identification accuracy to be identified in the prior art be present, and then improve to object identification to be identified
Accuracy.
2nd, due to being shot using at least one image collecting device to first area, then, at least one will be obtained
Individual second image, the first image is then obtained according to the second image, that is to say, that at least one image collecting device can obtain
To the plurality of pictures of first area different angle, thus there will not be the incomplete situation that shoots because region is too big, enter
And alloing first area to be very big region, i.e., display unit can be large-sized display screen.
3rd, because pre-set image is stored in the video card of electronic equipment so that electronic equipment can when being shot
Pre-set image is quickly read, and then user can not be discovered the replacement of display unit background, be carried due to the visual difference of human eye
High Consumer's Experience.
Brief description of the drawings
Fig. 1 is the flow chart of the recognition methods in one embodiment of the invention;
Fig. 2 is the structural representation of the electronic equipment in one embodiment of the invention.
Embodiment
The embodiment of the present application is solved and treated present in prior art by providing a kind of recognition methods and electronic equipment
Identify the low technical problem of object identification accuracy.
Technical scheme in the embodiment of the present application is above-mentioned in the prior art in the presence of to object to be identified knowledge to solve
The problem of not inaccurate, general thought is as follows:
When being placed with an object to be identified on display unit, read storage in the electronic device one include color category
Less than the pre-set image of a threshold value, and pre-set image is shown on the first area of display unit, wherein, object to be identified is extremely
A few part is placed in first area;By built-in or be external at least one image collecting device of electronic equipment, obtain
First image, wherein, the first image is the image for including subject image to be identified;First image is handled, known with treating
Other object is identified.
Because using comprising color category be less than a threshold value pre-set image as on the first area of display unit showing
Diagram picture, the first image background for allowing for shooting first area is relatively simple, and interference is smaller, so, cause to first
Image background progress foreground and background separation is relatively simple, and then improves the identification accuracy to object to be identified.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper
Technical scheme is stated to be described in detail.
On the one hand, the application provides a kind of recognition methods by an embodiment, and applied on an electronic equipment, the electronics is set
Standby can be notebook computer, large scale tablet personal computer, ordinary flat computer, smart mobile phone, and including a display unit, this
Display unit can be touch display screen, LED display, those skilled in the art can sets itself, the application do not do specific limit
It is fixed.Electronic equipment is also inscribed or is circumscribed with least one image collecting device, can be a camera, if can also be
Dry camera, the application are not specifically limited.Further, image collecting device can use high frequency camera shooting head, so, high frequency
Camera can just carry out the shooting of high speed to first area, that is to say, that electronic equipment can just obtain in a short period of time
Obtain the first image.
As shown in figure 1, this method includes:
S101:When being placed with an object to be identified on display unit, read storage in the electronic device one include face
Color species is less than the pre-set image of a threshold value, and shows pre-set image on the first area of display unit, wherein, thing to be identified
At least a portion of body is placed in first area;
S102:By built-in or be external at least one image collecting device of electronic equipment, the first image is obtained, its
In, the first image is the image for including subject image to be identified;
S103:First image is handled, so that object to be identified to be identified.
Below so that electronic equipment is large scale tablet personal computer as an example, such scheme is described in detail.
For example, user placed an object to be identified on the display screen of electronic equipment, such as mobile phone, now, electronics is set
It is standby the object to be identified to be identified, to be supplied to relevant information of the user on object to be identified, such as, this mobile phone
Model, hardware parameter, price.
First, perform S101, read and first area display storage in the electronic device one comprising color category it is small
In the pre-set image of a threshold value.
In specific implementation process, S101 can be that detection whether there is a trigger action to electronic equipment, wherein, triggering
Operate to control the operation of at least one image collecting device shooting;When trigger action be present, pre-set image is read.
Specifically, when user needs that object to be identified is identified, a triggering behaviour can be carried out to electronic equipment
Make, such as, open image collecting device, or point touches " object identification " button, then or press " screenshotss " button, it is single to display
Member carry out screenshotss, then or electronic equipment detected that object to be identified is placed on display unit surface.When user is touched
Hair operation after, electronic equipment can according to the operation of user, generate a triggering command, now mean that to electronic equipment exist it is upper
Trigger action is stated, next, pre-set image is read, wherein, the color category of the pre-set image is less than a threshold value, and the threshold value takes
Value can be 7,4,2, then, the color category of pre-set image can think 5,3,1, such as, threshold value is set as 3, then, preset
2 kinds of colors are at most included in image, it is such as red, blue;Threshold value is set as 5, and 4 kinds of colors are at most included in pre-set image, such as red, yellow,
It is blue, green.Certainly, threshold value and number of colours species can also be other values, as long as can ensure that number of colors is less than above-mentioned threshold value
, those skilled in the art can be according to the accuracy of identification requirement to object to be identified come sets itself, and the application, which is not done, to be had
Body limits.
Further, pre-set image can be monochrome image, such as red, white, black.Pre-set image can be stored in electronics
In the hard disk of equipment, it can also be stored in video card so that electronic equipment can quickly read pre- when being shot
If image, and due to the visual difference of human eye, user can not discover the replacement of display unit background, improve Consumer's Experience.Certainly,
Pre-set image can also be stored in other memory cell of electronic equipment, and the application is not specifically limited.In the present embodiment,
In order to read pre-set image faster, pre-set image is stored in the video card of electronic equipment.Assuming that the refreshing frequency of video card is
60Hz, i.e. 60 images of display per second, then above-mentioned pre-set image can be a two field picture therein, then, pre-set image
It is just 1/60 second to show the time, and human eye is can not to discover the so short display time.
Further, because the memory cell of video card is cache, so, before S101, method can also include:
Originally the pre-set image being stored in the memory cell of electronic equipment is buffered in video card.Such as script pre-set image storage
In the hard disk of electronic equipment, when electronic equipment is started shooting, pre-set image is just moved to video card by electronic equipment from hard disk automatically
Caching in.
Then, after pre-set image is read, pre-set image is shown in the first area of display unit, object to be identified
At least a portion is placed in first area.In specific implementation process, first area can be the whole region of display unit,
Can also be to include at least one of zonule of object to be identified.
Next, including pre-set image behind first area by S101, S102 is performed, i.e.,:By built-in or outer
At least one image collecting device of electronic equipment is connected to, obtains the first image, wherein, the first image is to include object to be identified
The image of image.
In specific implementation process, S102 can be:Based on trigger action, a control instruction is generated;Perform control instruction,
The surface of at least one image collecting device shooting display unit is controlled, obtains at least one second image;Based on the second image,
Obtain the first image.
Specifically, according to above-mentioned trigger action, electronic equipment can control at least one image collecting device single to display
The surface of member is shot.Because at least one image collecting device is arranged on the different angle of electronic equipment, then, to aobvious
After showing that cell surface is shot, electronic equipment will obtain at least one second image, that is, display unit difference angle
The image of degree.Then, image procossing is carried out at least one second image, such as, at least one second image is imaged
Leader is determined, and the coordinate of these the second images is mapped on display unit respectively, then carries out perspective transform, at least one to correct
Second image, next, after the second image is completed into correction, carry out image co-registration so that at least piece image is fused to
Piece image, the complete image on a width display unit surface is so just obtained.
When first area is display unit whole surface, the first image is just above-mentioned complete image;When first area is
During zonule comprising object to be shown, after above-mentioned complete image is obtained, also image is carried out for above-mentioned full graphics
Processing, e.g., first area is determined according to object to be identified and the piezo-electric effect of display unit formation, can also be in thing to be identified
At least three conductive rubbers are set in the side that body contacts with display unit, these conductive rubbers form a closed area,
Electronic equipment will corresponding coordinate be mapped in above-mentioned complete image on the display unit these electric conductors so that upper
State and first area is determined in complete image, to obtain the first image.It is, of course, also possible to have other modes to determine first area,
Those of ordinary skill in the art can be not specifically limited with sets itself, the application.
Next, S103 is performed, i.e.,:First image is handled, so that object to be identified to be identified.
In specific implementation process, S103 can be:First image is handled, is used for obtaining to include to be identified
First image information of the identification feature image information that object is identified;Based on the identification feature image in the first image information
Information, object to be identified is identified.
Specifically, after the first image is obtained, the first image is handled, to obtain the edge of object to be identified
Profile, then, according to the edge contour area defined, that is, the image-region of object to be identified, in the first image
The identification feature information of object to be identified, i.e. the first image information are determined, first image information can be object to be identified
Color, trade mark, surface structure, can also be the picture of object to be identified, next, electronic equipment can the first image information with
Scan for matching in the various features information of its lane database storage, can also be by these characteristic image information on the internet
Scan for matching, if the match is successful, just include the attribute information of the object to be identified corresponding to the first image information aobvious
Show on unit.
In specific implementation process, the method for obtaining the edge contour of object to be identified can be to be extracted using edge contour
Algorithm, such as, use canny operators, Roberts operators, either using gauss hybrid models or various background removal algorithms
Deng.It is, of course, also possible to there are other algorithms, as long as the edge and profile information of object to be identified, the application can be obtained
It is not specifically limited;Further, can also display pattern on the display unit, certain parallel lines such as spacing, to the first figure
As being handled, using Hough transformation come detection of straight lines, due to blocking for object to be identified, the straight line portion on display unit is just
It can be blocked, then when detection, some line segments will be detected, and be mapped to the first image, next, connection first
The end points of these line segments on image, so, it is formed the substantially edge contour of object to be identified.
Further, after S102, method also includes:3rd image is shown on the display unit, wherein, the 3rd image
For the image that display unit is shown before pre-set image is read.
Specifically, after the shooting of at least one electronic equipment is completed, script can be included showing by electronic equipment
The 3rd image on unit replaces pre-set image, shows again on the display unit, that is to say, that show display unit
Image restoring.So, replacement velocity quickly in the case of, user is due to the visual difference of human eye, the imperceptible display back of the body at all
The change of scape.
In specific implementation process, recover three images the step of can be carried out simultaneously with S103, can also S103 it
Preceding progress.In order to quickly recover the 3rd image, user is not discovered, in the present embodiment, the step S103 it
Preceding progress.
The method that the identifying processing in the present invention is introduced below by way of several specific embodiments, the following examples master
Describe several possible application scenarios of the recognition methods.It should be noted that the embodiment in the present invention is served only for
The present invention is explained, and cannot be used for the limitation present invention.All meet the embodiment of inventive concept in the protection model of the present invention
Within enclosing, how those skilled in the art naturally is deformed according to the thought of the present invention if knowing.
Embodiment one:
For example, electronic equipment is large scale tablet personal computer, object to be identified is mobile phone.The display screen of large scale tablet personal computer
Top is provided with two high frequency camera shooting heads, when mobile phone is placed on touch display screen surface by user, tablet personal computer according to mobile phone with
Piezo-electric effect caused by its surface, detect that user places an object to be identified on the surface of touch display screen, then, flat board electricity
The 3rd image buffer storage that brain shows script in touch display screen in video card, meanwhile, tablet personal computer generate a control instruction,
Control tablet personal computer goes to read the black color image being also stored in video card, and it is included in touch display screen.Connect
Get off, according to above-mentioned control instruction, two high frequency camera shooting heads of control are shot to touch sensitive display unit surface, obtain two the
Two images, and then, the two second images are carried out with camera calibration, perspective transform and further correction, by two
Image synthesizes the complete touch display screen surface image of a width, i.e. the first image.So, next, memory cell from video card
It is middle to take out above-mentioned 3rd image, and shown on the display unit so that the image shown by display unit is by pre-set image
Quickly revert to the 3rd image.Further, in the first image, edge extracting is carried out to mobile phone, obtains the profile of mobile phone, and
In the region in mobile phone profile besieged city, the first image information for identifying mobile phone is obtained, such as, the color of mobile phone, trade mark, and
Apparent parameter, then first image information is sent into database or internet, matched, and matching result is shown
Show in touch display screen, to be supplied to user.
Embodiment two:
For example, electronic equipment is notebook computer, object to be identified is mobile phone.Notebook computer is left with being located at its display screen
Two high frequency camera shooting heads on side and right side connect, when mobile phone is placed on display screen surface by user, on user's point beating keyboard
" PrtSc " screenshotss button, after notebook computer receives this operation of user, notebook computer will originally on a display screen
Display the 3rd image buffer storage in video card, meanwhile, generate a control instruction, control notebook computer go reading to be also stored in
A plain white image in video card, and it is included in touch display screen.Next, according to above-mentioned control instruction, control two
Individual high frequency camera shooting head is shot to touch sensitive display unit surface, two the second images is obtained, and then, to the two the second figures
As carrying out camera calibration, perspective transform and further correction, two images are synthesized into the complete display screen surface of a width
Image, i.e. the first image.So, next, taking out above-mentioned 3rd image from the memory cell of video card, and it is included aobvious
Show on unit so that the image shown by display unit is quickly reverted to the 3rd image by pre-set image.Further, in the first figure
As in, edge extracting is carried out to mobile phone, obtains the profile of mobile phone, and in the region in mobile phone profile besieged city, is obtained for identifying
First image information of mobile phone, such as, the color of mobile phone, trade mark, and apparent parameter, then first image information is sent
Into database or internet, matched, and matching result is shown on a display screen, to be supplied to user.
Understand as described above, due to display unit it is shown that being less than the default figure of a threshold value comprising color category
Picture, it is pre-set image to allow for the first image background that image collecting device is shot to first area, then, the back of the body of the first image
The color category that scape is included will be less than above-mentioned threshold value, then background is with regard to relatively simple, then, before being carried out to the first image
When scape and background separation, interference is smaller so that separation is relatively easy to, and will improve the identification accuracy to object to be identified, institute
To efficiently solve and the technical problem inaccurate to object identification to be identified in the prior art be present, and then improve and treat
Identify the accuracy of object identification;Further, due to being shot using at least one image collecting device to first area, that
, at least one second image will be obtained, the first image is then obtained according to the second image, that is to say, that at least one
Image collecting device can obtain the plurality of pictures of first area different angle, thus will not exist and clap because region is too big
Incomplete situation is taken the photograph, and then allows first area to be very big region, i.e., display unit can be large-sized display
Screen;Further, because pre-set image is stored in the video card of electronic equipment so that electronic equipment can when being shot
Pre-set image is quickly read, and then user can not discover the replacement of display unit background due to the parallax of human eye, improve
Consumer's Experience.
On the other hand, provide a kind of electronics based on same inventive concept, the present invention by another embodiment of the application and set
Standby 10, as shown in Fig. 2 including:Display unit 101;Identification chip 102, for be identified when being placed with one on display unit 101
During object, the pre-set image that one be stored in electronic equipment 10 is less than a threshold value comprising color category is read, and it is single in display
Pre-set image is shown on the first area of member 101, wherein, at least a portion of object to be identified is placed in first area;It is logical
At least one image collecting device that is built-in or being external in electronic equipment 10 is crossed, obtains the first image, wherein, the first image is bag
Image containing subject image to be identified;First image is handled, so that object to be identified to be identified.
Further, identification chip 102 specifically includes:First reading unit, for treating when being placed with one on display unit 101
When identifying object, the pre-set image for being less than a threshold value comprising color category being stored in electronic equipment 10 is read;First display
Unit, for showing pre-set image on the first area of display unit 101, wherein, at least a portion of object to be identified is put
Put in first area;First obtains unit, for by built-in or be external at least one IMAQ of electronic equipment 10
Device, the first image is obtained, wherein, the first image is the image for including subject image to be identified;First recognition unit, for pair
First image is handled, so that object to be identified to be identified.
Further, the first reading unit specifically includes:First detection unit, electronic equipment 10 whether there is for detecting
One trigger action, wherein, the operation that trigger action shoots at least one image collecting device of control;First reads subelement,
For when trigger action be present, reading pre-set image.
Further, first obtains unit specifically includes:First generation unit, for based on trigger action, the control of generation one
Instruction;First control unit, for performing control instruction, control at least one image collecting device shooting display unit 101
Surface, obtain at least one second image;First graphics processing unit, for based on the second image, obtaining the first image.
Further, the first recognition unit specifically includes:Second graphics processing unit, for handling the first image,
To obtain the first image information for including the identification feature image information for being used to object to be identified be identified;First identification
Unit, for based on the identification feature image information in the first image information, object to be identified to be identified.
Further, pre-set image is specially the image with solid color.
Further, electronic equipment also includes a video card 103, for storing pre-set image.
As described above, above-mentioned electronic equipment is used for the method for realizing above- mentioned information processing, so, the electronic equipment
The course of work it is consistent with one or more embodiments of the above method, just do not repeat one by one herein.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
1st, because the pre-set image comprising color category less than a threshold value is shown in display unit, IMAQ is allowed for
The first image background that device is shot to first area is pre-set image, then, the color kind that the background of the first image is included
Class will be less than above-mentioned threshold value, then background is with regard to relatively simple, then, when carrying out foreground and background separation to the first image,
Interference is smaller so that and separation is relatively easy to, and will improve the identification accuracy to object to be identified, so, efficiently solve
The technical problem inaccurate to object identification to be identified in the prior art be present, and then improve the essence to object identification to be identified
Exactness.
2nd, due to being shot using at least one image collecting device to first area, then, at least one will be obtained
Individual second image, the first image is then obtained according to the second image, that is to say, that at least one image collecting device can obtain
To the plurality of pictures of first area different angle, thus there will not be the incomplete situation that shoots because region is too big, enter
And alloing first area to be very big region, i.e., display unit can be large-sized display screen.
3rd, because pre-set image is stored in the video card of electronic equipment so that electronic equipment can when being shot
Pre-set image is quickly read, and then user can not discover the replacement of display unit background due to the parallax of human eye, improve
Consumer's Experience.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation
The form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (13)
1. a kind of recognition methods, applied on an electronic equipment, the electronic equipment includes a display unit, it is characterised in that
Methods described includes:
When being placed with an object to be identified on the display unit, read one be stored in the electronic equipment and include color
Species is less than the pre-set image of a threshold value, and the pre-set image is shown on the first area of the display unit, wherein, institute
At least a portion for stating object to be identified is placed in the first area;
By built-in or be external at least one image collecting device of the electronic equipment, the first image is obtained, wherein, it is described
First image is the image for including the subject image to be identified;
Described first image is handled, so that the object to be identified to be identified.
2. the method as described in claim 1, it is characterised in that it is described read be stored in the electronic equipment one include face
Color species is less than the pre-set image of a threshold value, specifically includes:
Detection whether there is a trigger action to the electronic equipment, wherein, the trigger action is described at least one to control
The operation of image collecting device shooting;
When the trigger action be present, the pre-set image is read.
3. method as claimed in claim 2, it is characterised in that the first image of the acquisition, specifically include:
Based on the trigger action, a control instruction is generated;
The control instruction is performed, control at least one image collecting device shoots the surface of the display unit, obtained
At least one second image;
Based on second image, described first image is obtained.
4. the method as described in claim 1, it is characterised in that it is described that described first image is handled, specifically include:
Described first image is handled, to obtain comprising the identification feature figure for being used to the object to be identified be identified
As the first image information of information;
Based on the identification feature image information in described first image information, the object to be identified is identified.
5. the method as described in claim any one of 1-4, it is characterised in that the pre-set image has solid color
Image.
6. the method as described in claim any one of 1-4, it is characterised in that the pre-set image is stored in the electronic equipment
Video card in.
7. a kind of electronic equipment, it is characterised in that including:
Display unit;
Identification chip, for when being placed with an object to be identified on the display unit, reading to be stored in the electronic equipment
In one be less than the pre-set image of a threshold value comprising color category, and show on the first area of the display unit described pre-
If image, wherein, at least a portion of the object to be identified is placed in the first area;By built-in or be external in institute
At least one image collecting device of electronic equipment is stated, obtains the first image, wherein, described first image is to wait to know comprising described
The image of other subject image;Described first image is handled, so that the object to be identified to be identified.
8. electronic equipment as claimed in claim 7, it is characterised in that the identification chip specifically includes:
First reading unit, for when being placed with the object to be identified on the display unit, reading to be stored in the electricity
The pre-set image in sub- equipment;
First display unit, for showing the pre-set image on the first area of the display unit, wherein, it is described to wait to know
At least a portion of other object is placed in the first area;
First obtains unit, for by built-in or be external at least one image collecting device of the electronic equipment, obtaining
Described first image, wherein, described first image is the image for including the subject image to be identified;
First recognition unit, for handling described first image, so that the object to be identified to be identified.
9. electronic equipment as claimed in claim 8, it is characterised in that first reading unit specifically includes:
First detection unit, a trigger action whether there is to the electronic equipment for detecting, wherein, the trigger action is
Control the operation of at least one image collecting device shooting;
First reads subelement, for when the trigger action be present, reading the pre-set image.
10. electronic equipment as claimed in claim 9, it is characterised in that the first obtains unit specifically includes:
First generation unit, for based on the trigger action, generating a control instruction;
First control unit, for performing the control instruction, control at least one image collecting device shooting is described aobvious
Show the surface of unit, obtain at least one second image;
First graphics processing unit, for based on second image, obtaining described first image.
11. electronic equipment as claimed in claim 8, it is characterised in that first recognition unit specifically includes:
Second graphics processing unit, for handling described first image, it is used for obtaining to include to the thing to be identified
First image information of the identification feature image information that body is identified;
First identification subelement, for based on the identification feature image information in described first image information, being treated to described
Identification object is identified.
12. the electronic equipment as described in claim any one of 7-11, it is characterised in that the pre-set image is specially to have list
The image of one color.
13. the electronic equipment as described in claim any one of 7-11, it is characterised in that it is aobvious that the electronic equipment also includes one
Card, for storing the pre-set image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210473641.XA CN103839032B (en) | 2012-11-20 | 2012-11-20 | A kind of recognition methods and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210473641.XA CN103839032B (en) | 2012-11-20 | 2012-11-20 | A kind of recognition methods and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103839032A CN103839032A (en) | 2014-06-04 |
CN103839032B true CN103839032B (en) | 2018-03-23 |
Family
ID=50802511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210473641.XA Active CN103839032B (en) | 2012-11-20 | 2012-11-20 | A kind of recognition methods and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103839032B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104266673B (en) * | 2014-09-26 | 2016-06-08 | 博奥生物集团有限公司 | A kind of method utilizing photographic head identification reaction member kind |
CN104298970B (en) * | 2014-09-26 | 2017-10-27 | 博奥生物集团有限公司 | A kind of camera identification and detection method based on color characteristic |
CN107977668A (en) * | 2017-07-28 | 2018-05-01 | 北京物灵智能科技有限公司 | A kind of robot graphics' recognition methods and system |
CN109278421A (en) * | 2018-11-29 | 2019-01-29 | 北京小米移动软件有限公司 | color recognition printer |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913683A (en) * | 2005-08-12 | 2007-02-14 | Lg电子株式会社 | Mobile communication terminal with dual-display unit having function of editing captured image and method thereof |
CN101542240A (en) * | 2006-09-25 | 2009-09-23 | 马佐尔外科技术公司 | C-arm computerized tomography system |
CN101739567A (en) * | 2008-11-19 | 2010-06-16 | 索尼爱立信移动通信日本株式会社 | Terminal apparatus, display control method, and display control program |
CN201820364U (en) * | 2010-01-22 | 2011-05-04 | 汉王科技股份有限公司 | Handheld type electronic reading device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005252911A (en) * | 2004-03-08 | 2005-09-15 | Fuji Photo Film Co Ltd | Image processing method and image processor |
JP4626658B2 (en) * | 2008-02-14 | 2011-02-09 | ソニー株式会社 | Display device, imaging device, and position detection device |
TWI479428B (en) * | 2008-10-14 | 2015-04-01 | Sicpa Holding Sa | Method and system for item identification |
-
2012
- 2012-11-20 CN CN201210473641.XA patent/CN103839032B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913683A (en) * | 2005-08-12 | 2007-02-14 | Lg电子株式会社 | Mobile communication terminal with dual-display unit having function of editing captured image and method thereof |
CN101542240A (en) * | 2006-09-25 | 2009-09-23 | 马佐尔外科技术公司 | C-arm computerized tomography system |
CN101739567A (en) * | 2008-11-19 | 2010-06-16 | 索尼爱立信移动通信日本株式会社 | Terminal apparatus, display control method, and display control program |
CN201820364U (en) * | 2010-01-22 | 2011-05-04 | 汉王科技股份有限公司 | Handheld type electronic reading device |
Also Published As
Publication number | Publication date |
---|---|
CN103839032A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111274928B (en) | Living body detection method and device, electronic equipment and storage medium | |
CN110610453B (en) | Image processing method and device and computer readable storage medium | |
WO2020151489A1 (en) | Living body detection method based on facial recognition, and electronic device and storage medium | |
US9734393B2 (en) | Gesture-based control system | |
KR101305694B1 (en) | Method of image processing for detecting object, device, method for user interface and user interface thereof | |
CN108288306A (en) | The display methods and device of virtual objects | |
JP5778967B2 (en) | Information processing program, information processing method, information processing apparatus, and information processing system | |
CN107316029B (en) | A kind of living body verification method and equipment | |
CN110222573A (en) | Face identification method, device, computer equipment and storage medium | |
CN110135336A (en) | Training method, device and the storage medium of pedestrian's generation model | |
KR101551576B1 (en) | Robot cleaner, apparatus and method for recognizing gesture | |
CN103839032B (en) | A kind of recognition methods and electronic equipment | |
JP2012221260A (en) | Information processing program, information processing method, information processor and information processing system | |
CN103000054B (en) | Intelligent teaching machine for kitchen cooking and control method thereof | |
CN109657627A (en) | Auth method, device and electronic equipment | |
CN106096043A (en) | A kind of photographic method and mobile terminal | |
JP7600315B2 (en) | Detecting Wrapped Attacks in Face Recognition | |
CN113723164A (en) | Method, device and equipment for acquiring edge difference information and storage medium | |
CN104063041B (en) | A kind of information processing method and electronic equipment | |
CN105892637A (en) | Gesture identification method and virtual reality display output device | |
JP2017033556A (en) | Image processing method and electronic apparatus | |
Liao et al. | Action recognition based on depth image sequence | |
JP7248345B2 (en) | Image processing device, image processing method and program | |
Ranasinghe et al. | ChessEye: An integrated framework for accurate and efficient chessboard reconstruction | |
Song et al. | Real-time 3d hand gesture detection from depth images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |