CN108875625A - A kind of recognition methods and electronic equipment - Google Patents
A kind of recognition methods and electronic equipment Download PDFInfo
- Publication number
- CN108875625A CN108875625A CN201810607381.8A CN201810607381A CN108875625A CN 108875625 A CN108875625 A CN 108875625A CN 201810607381 A CN201810607381 A CN 201810607381A CN 108875625 A CN108875625 A CN 108875625A
- Authority
- CN
- China
- Prior art keywords
- image
- mould group
- acquisition
- preset
- condition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/20—Movements or behaviour, e.g. gesture recognition
- G06V40/28—Recognition of hand or arm movements, e.g. recognition of deaf sign language
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Health & Medical Sciences (AREA)
- Psychiatry (AREA)
- Social Psychology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A kind of recognition methods provided by the present application, it is analyzed by the first image acquired to Image Acquisition mould group, judge whether it meets preset condition, and when being unsatisfactory for, the parameter value of Image Acquisition mould group is adjusted, until realizing that it can collect and meets the image of preset condition, and when first image meets preset condition, content in image is analyzed to obtain operating gesture information, realizes the identification to user gesture.During being somebody's turn to do, adjust the parameter value of Image Acquisition mould group in real time in conjunction with the image that Image Acquisition mould group acquires, content in the image of acquisition is correctly validated, solve light condition it is poor when, the problem of equipment can not correctly identify the gesture of user.
Description
Technical field
This application involves field of electronic devices, and more specifically, it relates to a kind of recognition methods and electronic equipments.
Background technique
With the development of electronic technology, currently, many equipment support gesture interaction.
But in the prior art, the gesture interaction equipment the moderate interior of light can normal use, and the equipment exists
It, can not be to the hand of user in the environment of light condition poor (such as light is weaker, or relatively strong, especially strong sunlight irradiation)
Gesture is correctly identified, leads to not realize gesture interaction.
Summary of the invention
In view of this, this application provides a kind of recognition methods, when solving that light condition is poor in the prior art, equipment
The problem of gesture of user can not correctly being identified.
To achieve the above object, the application provides the following technical solutions:
A kind of recognition methods, the method are applied to electronic equipment, the method includes:
Receive the first image of Image Acquisition mould group acquisition;
Judge whether the first image meets preset condition;
Meet preset condition based on the first image, analyze the content in the first image, obtains operating gesture letter
Breath;
Preset condition, the parameter value of adjustment described image acquisition mould group, so that institute are unsatisfactory for based on the first image
The first image of Image Acquisition mould group newly according to parameter value adjusted acquisition is stated, until the first new image of acquisition meets in advance
If condition.
Preferably, above-mentioned method, it is described to judge whether the first image meets preset condition, including:
Gray scale image is converted by the first image;
The gray value for obtaining each pixel in the gray scale image calculates the average gray value in the gray scale image;
Judge whether the average gray value meets preset threshold condition;
Meet preset threshold condition based on the average gray value, determines that the first image meets preset condition;
It is unsatisfactory for preset threshold condition based on the average gray value, determines that the first image is unsatisfactory for default item
Part.
Preferably, above-mentioned method, the parameter value of the adjustment described image acquisition mould group, including:
According to preset adjustment rule, the yield value of adjustment described image acquisition mould group and/or time for exposure.
Preferably, above-mentioned method, it is described receive Image Acquisition mould group acquisition image before, further include:
Receive the second image that Image Acquisition mould group acquires in default environment;
According to preset recognition rule, identifies the operating gesture information in second image, obtain recognition result;
Meet preset identification condition based on the recognition result, calculates the average gray value of second image, and will
The average gray value of second image is set as threshold condition.
Preferably, above-mentioned method further includes:
It is unsatisfactory for preset identification condition based on the recognition result, adjustment described image acquires the parameter value of mould group, with
So that described image acquires mould group second image new according to parameter value adjusted acquisition, until recognition result meet it is preset
Identification condition.
A kind of electronic equipment, including:
Ontology;
The Image Acquisition mould group being set in the ontology, for acquiring the first image;
Processor, for receiving the first image of Image Acquisition mould group acquisition;It is pre- to judge whether the first image meets
If condition;Meet preset condition based on the first image, analyze the content in the first image, obtains operating gesture letter
Breath;Preset condition, the parameter value of adjustment described image acquisition mould group, so that described image are unsatisfactory for based on the first image
Mould group first image new according to parameter value adjusted acquisition is acquired, until the first new image of acquisition meets default item
Part.
Preferably, above-mentioned electronic equipment, the processor are used for,
Gray scale image is converted by the first image;
The gray value for obtaining each pixel in the gray scale image calculates the average gray value in the gray scale image;
Judge whether the average gray value meets preset threshold condition;
Meet preset threshold condition based on the average gray value, determines that the first image meets preset condition;
It is unsatisfactory for preset threshold condition based on the average gray value, determines that the first image is unsatisfactory for default item
Part.
Preferably, above-mentioned electronic equipment, the processor are specifically used for,
According to preset adjustment rule, the yield value of adjustment described image acquisition mould group and/or time for exposure.
Preferably, above-mentioned electronic equipment, the processor are specifically used for,
Receive the second image that Image Acquisition mould group acquires in default environment;
According to preset recognition rule, identifies the operating gesture information in second image, obtain recognition result;
Meet preset identification condition based on the recognition result, calculates the average gray value of second image, and will
The average gray value of second image is set as threshold condition.
Preferably, above-mentioned electronic equipment, the processor are also used to,
It is unsatisfactory for preset identification condition based on the recognition result, adjustment described image acquires the parameter value of mould group, with
So that described image acquires mould group second image new according to parameter value adjusted acquisition, until recognition result meet it is preset
Identification condition.
It can be seen via above technical scheme that compared with prior art, this application provides a kind of recognition methods, including:
Receive the first image of Image Acquisition mould group acquisition;Judge whether the first image meets preset condition;Based on described first
Image meets preset condition, analyzes the content in the first image, obtains operating gesture information;Not based on the first image
Meet preset condition, the parameter value of adjustment described image acquisition mould group, so that described image acquires mould group according to adjusted
The first new image of parameter value acquisition, until the first new image of acquisition meets preset condition.Using this method, by figure
The first image as acquiring the acquisition of mould group is analyzed, and judges whether it meets preset condition, and when being unsatisfactory for, adopt to image
The parameter value of collection mould group is adjusted, and until realizing that it can collect and meets the image of preset condition, and works as first figure
As being analyzed the content in image to obtain operating gesture information, realizing the knowledge to user gesture when meeting preset condition
Not.During being somebody's turn to do, the parameter value of Image Acquisition mould group is adjusted in real time in conjunction with the image that Image Acquisition mould group acquires, so that acquisition
Content can be correctly validated in image, solve light condition it is poor when, equipment can not carry out the gesture of user correct
The problem of identification.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of recognition methods embodiment 1 provided by the present application;
Fig. 2 is a kind of flow chart of recognition methods embodiment 2 provided by the present application;
Fig. 3 is overexposure and image schematic diagram adjusted in a kind of recognition methods embodiment 2 provided by the present application;
Fig. 4 is a kind of flow chart of recognition methods embodiment 3 provided by the present application;
Fig. 5 is a kind of flow chart of recognition methods embodiment 4 provided by the present application;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment embodiment provided by the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
As shown in Figure 1, it is a kind of flow chart of recognition methods embodiment 1 provided by the present application, this method is applied to one
Electronic equipment has image collecting function in the electronic equipment, and this approach includes the following steps:
Step S101:Receive the first image of Image Acquisition mould group acquisition;
Wherein, Image Acquisition mould group is provided in the electronic equipment, the Image Acquisition mould group to its image acquisition region into
Row Image Acquisition obtains the first image.
In specific implementation, user executes gesture operation in the image acquisition region, correspondingly, the Image Acquisition mould group is adopted
It include the gesture information of user in the image of collection.
In specific implementation, gesture identification operation is carried out, is analyzed generally by infrared information, the Image Acquisition mould group
IR camera (Infrared Radiation camera, infrared camera) can be used, in the image acquisition region
Content is acquired, and obtained image is infrared image.
Step S102:Judge whether the first image meets preset condition;
Wherein, which has preset condition, judges whether first image meets condition based on the preset condition.
In specific implementation, which can specifically include exposure and meets condition, i.e. the brightness of image is suitable, and being based on should
Brightness, the content in image can be identified.
If first image meets condition, characterizing operating gesture information wherein included can be identified;Otherwise, should
The operating gesture information for including in first image can not be identified.
It is explained in subsequent embodiment for how to judge whether first image meets preset condition, in the present embodiment not
It is described in detail.
Step S103:Meet preset condition based on the first image, analyzes the content in the first image, grasped
It makes a sign with the hand information;
Wherein, which meets preset condition, correspondingly, the content in first image can be identified, accordingly
, the content of first image is identified respectively, obtains the operating gesture information of user, so that the electronic equipment is able to respond
The operating gesture information, completes the gesture operation of user.
Wherein it is possible to be identified according to image recognition technology to the content in image.
Step S104:It is unsatisfactory for preset condition based on the first image, adjustment described image acquires the parameter value of mould group,
So that described image acquires mould group first image new according to parameter value adjusted acquisition, until the first image that acquisition is new
Meet preset condition.
Wherein, when which is unsatisfactory for preset condition, by adjusting the parameter value of the Image Acquisition mould group, change is adopted
Collect obtained image, and judge whether the first new image collected meets preset condition again, and be unsatisfactory for it is pre-
If when condition, being adjusted the parameter value of Image Acquisition mould group again, circulation is executed, until the first new image of the acquisition is full
Sufficient preset condition.
To sum up, a kind of recognition methods provided in this embodiment, including:Receive the first image of Image Acquisition mould group acquisition;
Judge whether the first image meets preset condition;Meet preset condition based on the first image, analyzes first figure
Content as in, obtains operating gesture information;It is unsatisfactory for preset condition based on the first image, adjustment described image acquires mould
The parameter value of group, so that described image acquires mould group first image new according to parameter value adjusted acquisition, until acquisition
The first new image meet preset condition.Using this method, divided by the first image acquired to Image Acquisition mould group
Analysis, judges whether it meets preset condition, and when being unsatisfactory for, is adjusted to the parameter value of Image Acquisition mould group, to realize
Until it can collect the image for meeting preset condition, and when first image meets preset condition, in image
Appearance is analyzed to obtain operating gesture information, realizes the identification to user gesture.During being somebody's turn to do, adopted in conjunction with Image Acquisition mould group
The image of collection adjusts the parameter value of Image Acquisition mould group in real time, and content in the image of acquisition is correctly validated, and solves
When light condition is poor, the problem of equipment can not correctly identify the gesture of user.
As shown in Figure 2, it is a kind of flow chart of recognition methods embodiment 2 provided by the present application, this method includes following
Step:
Step S201:Receive the first image of Image Acquisition mould group acquisition;
Wherein, step S201 is consistent with the step S101 in embodiment 1, does not repeat them here in the present embodiment.
Step S202:Gray scale image is converted by the first image;
In specific implementation, the Image Acquisition mould group acquisition the first image sampling infrared image, and in order to characterize this first
The brightness of image can be indicated using gray value.
Firstly, it is necessary to be gray scale image by the first image transformation in planta, it can be to each thin in the gray scale image
Section part is handled, so that it meets preset condition.
In specific implementation, it can carry out being calculated using the method for average, the minimax method of average and weighted mean method every
The gray value of a pixel, and image is converted to obtain gray scale image based on the gray value.
Wherein, the method for average carries out the value of 3 channel RGB of the same location of pixels (red green blue, RGB)
It is average;The method of average, the minimax method of average take in the RGB of the same location of pixels brightness maximum and it is the smallest carry out it is flat
?;Weighted mean method, such as I (x, y)=0.3*I_R (x, y)+0.59*I_G (x, y)+0.11*I_B (x, y), several weighting coefficients
0.3,0.59,0.11 is the parameter for adjusting out according to the brightness sensory perceptual system of people, is a widely used normalizing parameter.
It should be noted that the infrared camera takes YUV (brightness ginseng when first image is infrared image after taking
Amount and the separately shown pixel format of coloration parameter) the Y channel data of brightness (Luminance/Luma) is indicated in channel, directly
It connects as gray value.Respectively using each pixel its Y channel data as its gray value, according to each pixel
Gray value can obtain whole gray scale image.
Step S203:The gray value for obtaining each pixel in the gray scale image calculates flat in the gray scale image
Equal gray value;
Wherein, which is made of several pixels, the corresponding gray value of each pixel.
Specifically, calculate the average gray value of each pixel in the gray scale image, especially by by each pixel
For the sum of gray value divided by pixel number, obtained numerical value is the average gray value of the gray scale image.
In practical application, when the ambient brightness on the electronic equipment periphery is higher, the image of acquisition is converted to gray-scale figure
The average gray value of picture is also higher;Correspondingly, when the ambient brightness on the electronic equipment periphery is lower, the image conversion of acquisition
It is relatively low for the average gray value of gray scale image;Or the electronic equipment breaks down, the brightness of image for causing it to acquire is lower
Perhaps higher correspondingly, the average gray value of gray scale image that converts of image of its acquisition is lower or higher.
Step S204:Judge whether the average gray value meets preset threshold condition;
Wherein, preset threshold condition is met based on the average gray value, determines that the first image meets default item
Part;It is unsatisfactory for preset threshold condition based on the average gray value, determines that the first image is unsatisfactory for preset condition.
Wherein, when the exposure of first image is too low or overexposure, average gray value is unsatisfactory for threshold condition, accordingly
, content therein can not identify, and the exposure of first image is suitable, and average gray value is therein in threshold condition
Content can identify.
It should be noted that acquisition is infrared when the Image Acquisition mould group of the electronic equipment uses infrared camera
Image, correspondingly, the range of light wavelengths of its acquisition are 900nm (nanometer) left and right.And during infrared image acquisition, human body
Corresponding range of light wavelengths are in the infrared imaging range content, still, in stronger daylight, due to environment temperature compared with
Height, cause the wave-length coverage in have part be environment, can to the imaging of user interfere it is more.
It is therefore desirable to handle the process of the infrared image of Image Acquisition mould group acquisition, to reduce environment to red
The influence of outer imaging.
Overexposure and image schematic diagram adjusted as shown in Figure 3, wherein (a) is the gray scale image of overexposure, it is (b) adjustment
Gray scale image afterwards.
Wherein scheming white area in (a) is the stronger region of brightness, has large stretch of stronger region of brightness, in the area
The operating gesture of user can not be identified in domain.And scheme the stronger region of brightness in (b) and reduce, the gesture operation of user can be carried out
Identification.
Step S205:Meet preset condition based on the first image, analyzes the content in the first image, grasped
It makes a sign with the hand information;
Step S206:It is unsatisfactory for preset condition based on the first image, adjustment described image acquires the parameter value of mould group,
So that described image acquires mould group first image new according to parameter value adjusted acquisition, until the first new figure of acquisition
As meeting preset condition.
Wherein, step S205-206 is consistent with the step S103-104 in embodiment 1, does not repeat them here in the present embodiment.
To sum up, described to judge whether the first image meets default item in a kind of recognition methods provided in this embodiment
Part, including:Gray scale image is converted by the first image;The gray value of each pixel in the gray scale image is obtained, is counted
Calculate the average gray value in the gray scale image;Judge whether the average gray value meets preset threshold condition;Based on institute
It states average gray value and meets preset threshold condition, determine that the first image meets preset condition;Based on the average gray
Value is unsatisfactory for preset threshold condition, determines that the first image is unsatisfactory for preset condition.In the program, by calculating the first figure
As the average gray value in corresponding gray scale image, determine first image whether overexposure or under-exposure, and be adjusted,
Adjustment mode is simple and easy.
As shown in Figure 4, it is a kind of flow chart of recognition methods embodiment 3 provided by the present application, this method includes following
Step:
Step S401:Receive the first image of Image Acquisition mould group acquisition;
Step S402:Judge whether the first image meets preset condition;
Step S403:Meet preset condition based on the first image, analyzes the content in the first image, grasped
It makes a sign with the hand information;
Wherein, step S401-403 is consistent with the step S101-103 in embodiment 1, does not repeat them here in the present embodiment.
Step S404:It is unsatisfactory for preset condition based on the first image, according to preset adjustment rule, adjusts the figure
Yield value and/or time for exposure as acquisition mould group, so that described image acquisition mould group is acquired according to parameter value adjusted
The first new image, until the first new image of acquisition meets preset condition.
Wherein, the parameter of the Image Acquisition mould group includes:Yield value and time for exposure.
In specific implementation, the parameter of the Image Acquisition mould group is adjusted, it can be real by adjusting yield value and/or time for exposure
It is existing.
In specific implementation, yield value and time for exposure are adjusted using linear mode.
Wherein, which may include:Using a parameter as definite value, another parameter is adjusted in a manner of arithmetic progression
Numerical value.
For example, during adjustment, first using the time for exposure as definite value, the size of adjust gain value, when yield value is transferred to maximum
Or when minimum, when can't obtain meeting the gray value of condition, the value of time for exposure is adjusted, again with exposure adjusted
The size of time adjust gain value.
As a specific example, which is the image of overexposure, in the parameter mistake for adjusting the Image Acquisition mould group
Journey includes:Time for exposure is constant, reduce yield value, if yield value value range be (10,20), can first by yield value from 20 according to
It is secondary to be down to 18,16 ..., until near 10, if yield value is 10, the first image of Image Acquisition mould group acquisition is converted to
The average gray value of gray scale image be also greater than threshold value, then reduce the time for exposure, then with the time for exposure after the reduction be fixed
Value reduces yield value since maximum value.
It is that two yield values and the numerical value of time for exposure are all past respectively if average gray value is larger in specific implementation
Small direction tune;It is by two yield values and the numerical value of time for exposure respectively toward big direction tune if average gray value is smaller.
It should be noted that adjusting between the use linear mode proposed in the present embodiment, it is not limited to this in specific implementation,
It can also be adjusted using other modes.
To sum up, in a kind of recognition methods provided in this embodiment, the parameter value of the adjustment described image acquisition mould group, packet
It includes:According to preset adjustment rule, the yield value of adjustment described image acquisition mould group and/or time for exposure.Using this method, lead to
Yield value and/or the time for exposure for crossing adjustment Image Acquisition mould group, realize that the gray scale of adjustment image, adjustment mode are simple and easy.
As shown in Figure 5, it is a kind of flow chart of recognition methods embodiment 4 provided by the present application, this method includes following
Step:
Step S501:Receive the second image that Image Acquisition mould group acquires in default environment;
Wherein, it presets in environment detection setting is carried out to threshold value at this, which can be outdoor environment, can also be with
For indoor environment.
It wherein, include the gesture information of user in second image.
It should be noted that when the default environment is indoor environment, the brightness of the indoor environment is generally appropriate bright
Degree, i.e., the operating gesture information in image acquired under the indoor environment can be identified;When the default environment is outdoor environment,
The brightness of the outdoor environment is generally large, needs the parameter to the Image Acquisition mould group that can collect operation after being adjusted
The identified image of gesture information.
Step S502:According to preset recognition rule, identifies the operating gesture information in second image, identified
As a result;
Wherein, which is image recognition rule, can be known to the content in image based on the recognition rule
Not.
Wherein, which may include the content in image, specifically include user's operation gesture and environment etc..
Step S503:Whether meet preset identification condition based on the recognition result, calculates the flat of second image
Equal gray value, and threshold condition is set by the average gray value of second image;
Wherein, when the recognition result of second image meets preset identification condition, the use that includes in second image
Family operating gesture information can be accurately identified out, then at this point, picture quality is preferable, the parameter value of Image Acquisition mould group is closed
It is suitable, then the average gray value of this image can be set as the corresponding numerical value of threshold condition.
In specific implementation, which can be a value range, can be by repeatedly adjusting Image Acquisition mould group
Parameter value obtains a range threshold (upper and lower bound), to analyze in the next steps the first image of acquisition.
Step S504:It is unsatisfactory for preset identification condition based on the recognition result, adjustment described image acquisition mould group
Parameter value, so that described image acquires mould group second image new according to parameter value adjusted acquisition, until recognition result
Meet preset identification condition;
Wherein, when the recognition result of second image is unsatisfactory for preset identification condition, include in second image
User's operation gesture information can not be accurately identified out, and picture quality is poor, and the parameter value of Image Acquisition mould group is improper,
The parameter value to the Image Acquisition mould group is needed to be adjusted.
Its adjustment mode is similar to adjustment mode in Image Acquisition mould group with embodiment 3, repeats no more in the present embodiment.
In specific implementation, it can be realized by adjusting the yield value of Image Acquisition mould group and time for exposure.
Step S505:Receive the first image of Image Acquisition mould group acquisition;
Step S506:Judge whether the first image meets preset condition;
Step S507:Meet preset condition based on the first image, analyzes the content in the first image, grasped
It makes a sign with the hand information;
Step S508:It is unsatisfactory for preset condition based on the first image, adjustment described image acquires the parameter value of mould group,
So that described image acquires mould group first image new according to parameter value adjusted acquisition, until the first new figure of acquisition
As meeting preset condition.
Wherein, step S505-508 is consistent with the step S101-104 in embodiment 1, does not repeat them here in the present embodiment.
To sum up, in a kind of recognition methods provided in this embodiment, further include:Image Acquisition mould group is received in default environment
Second image of acquisition;According to preset recognition rule, the operating gesture information in second image is identified, obtain identification knot
Fruit;Meet preset identification condition based on the recognition result, calculate the average gray value of second image, and by described the
The average gray value of two images is set as threshold condition;It is unsatisfactory for preset identification condition based on the recognition result, adjusts institute
The parameter value of Image Acquisition mould group is stated, so that described image acquires mould group second figure new according to parameter value adjusted acquisition
Picture, until recognition result meets preset identification condition.Using this method, by image recognition mode in specific environment
Parameter adjustment, realize the threshold condition for determining average gray value, the accuracy of given threshold is higher.
Corresponding with a kind of above-mentioned recognition methods embodiment provided by the present application, present invention also provides apply the identification
The electronic equipment embodiment of method.
Structural schematic diagram as shown in FIG. 6 for a kind of electronic equipment embodiment provided by the present application, in the electronic equipment
With image collecting function, which includes with flowering structure:Ontology 601, Image Acquisition mould group 602 and processor 603;
Wherein, Image Acquisition mould group 602 is set in the ontology 601, for acquiring the first image;
Wherein, processor 603, for receiving the first image of the acquisition of Image Acquisition mould group 602;Judge the first image
Whether preset condition is met;Meet preset condition based on the first image, analyzes the content in the first image, grasped
It makes a sign with the hand information;It is unsatisfactory for preset condition based on the first image, adjustment described image acquires the parameter value of mould group, so that
Described image acquires mould group first image new according to parameter value adjusted acquisition, until the first new image of acquisition meets
Preset condition.
In specific implementation, which can use infrared camera, correspondingly, the image of its acquisition is infrared figure
Picture.
In specific implementation, which can be using structures such as the chips with data-handling capacity.
Preferably, the processor is used for, and converts gray scale image for the first image;It obtains in the gray scale image
The gray value of each pixel calculates the average gray value in the gray scale image;Judge whether the average gray value meets
Preset threshold condition;Meet preset threshold condition based on the average gray value, it is default to determine that the first image meets
Condition;It is unsatisfactory for preset threshold condition based on the average gray value, determines that the first image is unsatisfactory for preset condition.
Preferably, the processor is specifically used for, according to preset adjustment rule, the increasing of adjustment described image acquisition mould group
Benefit value and/or time for exposure.
Preferably, the processor is specifically used for, and receives the second image that Image Acquisition mould group acquires in default environment;
According to preset recognition rule, identifies the operating gesture information in second image, obtain recognition result;Based on the identification
As a result meet preset identification condition, calculate the average gray value of second image, and by the average ash of second image
Angle value is set as threshold condition.
Preferably, the processor is also used to, and preset identification condition is unsatisfactory for based on the recognition result, described in adjustment
The parameter value of Image Acquisition mould group, so that described image acquires mould group second figure new according to parameter value adjusted acquisition
Picture, until recognition result meets preset identification condition.
To sum up, a kind of electronic equipment provided in this embodiment, including:Ontology;The Image Acquisition being set in the ontology
Mould group, for acquiring the first image;Processor, for receiving the first image of Image Acquisition mould group acquisition;Judge described first
Whether image meets preset condition;Meet preset condition based on the first image, analyzes the content in the first image, obtain
To operating gesture information;It is unsatisfactory for preset condition based on the first image, adjustment described image acquires the parameter value of mould group, with
So that described image acquires mould group first image new according to parameter value adjusted acquisition, until the first new image of acquisition
Meet preset condition.The electronic equipment adjusts the parameter of Image Acquisition mould group in conjunction with the image that Image Acquisition mould group acquires in real time
Value, enable acquisition image in content be correctly validated, solve light condition it is poor when, equipment can not be to user's
The problem of gesture is correctly identified.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.The device provided for embodiment
For, since it is corresponding with the method that embodiment provides, so being described relatively simple, related place is said referring to method part
It is bright.
To the above description of provided embodiment, professional and technical personnel in the field is made to can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and principle provided in this article and features of novelty phase one
The widest scope of cause.
Claims (10)
1. a kind of recognition methods, the method is applied to electronic equipment, the method includes:
Receive the first image of Image Acquisition mould group acquisition;
Judge whether the first image meets preset condition;
Meet preset condition based on the first image, analyzes the content in the first image, obtain operating gesture information;
Preset condition, the parameter value of adjustment described image acquisition mould group, so that the figure are unsatisfactory for based on the first image
As acquisition mould group first image new according to parameter value adjusted acquisition, until the first new image of acquisition meets default item
Part.
2. it is described to judge whether the first image meets preset condition according to the method described in claim 1, wherein, including:
Gray scale image is converted by the first image;
The gray value for obtaining each pixel in the gray scale image calculates the average gray value in the gray scale image;
Judge whether the average gray value meets preset threshold condition;
Meet preset threshold condition based on the average gray value, determines that the first image meets preset condition;
It is unsatisfactory for preset threshold condition based on the average gray value, determines that the first image is unsatisfactory for preset condition.
3. according to the method described in claim 1, wherein, the parameter value of the adjustment described image acquisition mould group, including:
According to preset adjustment rule, the yield value of adjustment described image acquisition mould group and/or time for exposure.
4. according to the method described in claim 1, wherein, before the image for receiving the acquisition of Image Acquisition mould group, further including:
Receive the second image that Image Acquisition mould group acquires in default environment;
According to preset recognition rule, identifies the operating gesture information in second image, obtain recognition result;
Meet preset identification condition based on the recognition result, calculates the average gray value of second image, and will be described
The average gray value of second image is set as threshold condition.
5. according to the method described in claim 4, wherein, further including:
It is unsatisfactory for preset identification condition based on the recognition result, adjustment described image acquires the parameter value of mould group, so that
Described image acquires mould group second image new according to parameter value adjusted acquisition, until recognition result meets preset identification
Condition.
6. a kind of electronic equipment, including:
Ontology;
The Image Acquisition mould group being set in the ontology, for acquiring the first image;
Processor, for receiving the first image of Image Acquisition mould group acquisition;Judge whether the first image meets default item
Part;Meet preset condition based on the first image, analyzes the content in the first image, obtain operating gesture information;Base
Preset condition, the parameter value of adjustment described image acquisition mould group, so that described image acquires are unsatisfactory in the first image
Mould group first image new according to parameter value adjusted acquisition, until the first new image of acquisition meets preset condition.
7. electronic equipment according to claim 6, wherein the processor is used for,
Gray scale image is converted by the first image;
The gray value for obtaining each pixel in the gray scale image calculates the average gray value in the gray scale image;
Judge whether the average gray value meets preset threshold condition;
Meet preset threshold condition based on the average gray value, determines that the first image meets preset condition;
It is unsatisfactory for preset threshold condition based on the average gray value, determines that the first image is unsatisfactory for preset condition.
8. electronic equipment according to claim 6, wherein the processor is specifically used for,
According to preset adjustment rule, the yield value of adjustment described image acquisition mould group and/or time for exposure.
9. electronic equipment according to claim 6, wherein the processor is specifically used for,
Receive the second image that Image Acquisition mould group acquires in default environment;
According to preset recognition rule, identifies the operating gesture information in second image, obtain recognition result;
Meet preset identification condition based on the recognition result, calculates the average gray value of second image, and will be described
The average gray value of second image is set as threshold condition.
10. electronic equipment according to claim 9, wherein the processor is also used to,
It is unsatisfactory for preset identification condition based on the recognition result, adjustment described image acquires the parameter value of mould group, so that
Described image acquires mould group second image new according to parameter value adjusted acquisition, until recognition result meets preset identification
Condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810607381.8A CN108875625B (en) | 2018-06-13 | 2018-06-13 | Identification method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810607381.8A CN108875625B (en) | 2018-06-13 | 2018-06-13 | Identification method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108875625A true CN108875625A (en) | 2018-11-23 |
CN108875625B CN108875625B (en) | 2021-12-24 |
Family
ID=64338450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810607381.8A Active CN108875625B (en) | 2018-06-13 | 2018-06-13 | Identification method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108875625B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109741271A (en) * | 2018-12-14 | 2019-05-10 | 陕西高速公路工程试验检测有限公司 | A kind of detection method and system |
CN111609515A (en) * | 2020-05-26 | 2020-09-01 | 珠海格力电器股份有限公司 | Method for removing honeycomb of air conditioner external unit and air conditioner external unit |
CN115511194A (en) * | 2021-06-29 | 2022-12-23 | 布瑞克农业大数据科技集团有限公司 | Agricultural data processing method, system, device and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247480A (en) * | 2008-03-26 | 2008-08-20 | 北京中星微电子有限公司 | Automatic exposure method based on objective area in image |
CN101304489A (en) * | 2008-06-20 | 2008-11-12 | 北京中星微电子有限公司 | Automatic exposure method and apparatus |
CN105227853A (en) * | 2015-09-02 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of image pickup method and terminal |
CN106203365A (en) * | 2016-07-14 | 2016-12-07 | 浙江赢视科技有限公司 | The fingerprint imaging method that gain-adjusted processes |
US20170237888A1 (en) * | 2014-05-30 | 2017-08-17 | Apple Inc. | Realtime capture exposure adjust gestures |
-
2018
- 2018-06-13 CN CN201810607381.8A patent/CN108875625B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247480A (en) * | 2008-03-26 | 2008-08-20 | 北京中星微电子有限公司 | Automatic exposure method based on objective area in image |
CN101304489A (en) * | 2008-06-20 | 2008-11-12 | 北京中星微电子有限公司 | Automatic exposure method and apparatus |
US20170237888A1 (en) * | 2014-05-30 | 2017-08-17 | Apple Inc. | Realtime capture exposure adjust gestures |
CN105227853A (en) * | 2015-09-02 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of image pickup method and terminal |
CN106203365A (en) * | 2016-07-14 | 2016-12-07 | 浙江赢视科技有限公司 | The fingerprint imaging method that gain-adjusted processes |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109741271A (en) * | 2018-12-14 | 2019-05-10 | 陕西高速公路工程试验检测有限公司 | A kind of detection method and system |
CN109741271B (en) * | 2018-12-14 | 2021-11-19 | 陕西高速公路工程试验检测有限公司 | Detection method and system |
CN111609515A (en) * | 2020-05-26 | 2020-09-01 | 珠海格力电器股份有限公司 | Method for removing honeycomb of air conditioner external unit and air conditioner external unit |
CN115511194A (en) * | 2021-06-29 | 2022-12-23 | 布瑞克农业大数据科技集团有限公司 | Agricultural data processing method, system, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN108875625B (en) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108364267B (en) | Image processing method, device and equipment | |
US8154612B2 (en) | Systems, methods, and apparatus for image processing, for color classification, and for skin color detection | |
US8655068B1 (en) | Color correction system | |
CN107451969A (en) | Image processing method, device, mobile terminal and computer-readable recording medium | |
US20140071310A1 (en) | Image processing apparatus, method, and program | |
CN103400146B (en) | Chinese medicine complexion recognition method based on color modeling | |
US8175382B2 (en) | Learning image enhancement | |
US9460521B2 (en) | Digital image analysis | |
US11062480B2 (en) | Method and apparatus for processing image | |
US9418414B2 (en) | Image measurement apparatus, image measurement method and image measurement system | |
US9330333B2 (en) | Method and apparatus for image content-based automatic brightness detection | |
CN102088539B (en) | Method and system for evaluating pre-shot picture quality | |
JP2000171304A (en) | Detecting method of color illumination color temperature and device therefor | |
DE102009029391A1 (en) | Image processing apparatus and image processing method | |
CN108875625A (en) | A kind of recognition methods and electronic equipment | |
JP2019054449A (en) | Image processing method, image processing system, and image processing program | |
TWI255429B (en) | Method for adjusting image acquisition parameters to optimize objection extraction | |
CN116086390A (en) | Flatness detection device and system for LED display screen | |
US9596410B2 (en) | Vision systems and methods for analysing images taken by image sensors | |
CN114286014A (en) | Image database acquisition method | |
CN106791744A (en) | Projector's picture HDR processing system and its processing method | |
CN107977959B (en) | Respirator state identification method suitable for electric power robot | |
CN106652898B (en) | LED shows pointwise correction method | |
Karlsen et al. | A smart phone-based robust correction algorithm for the colorimetric detection of Urinary Tract Infection | |
CN110659683A (en) | Image processing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |