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

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN105447460B
CN105447460B CN201510813199.4A CN201510813199A CN105447460B CN 105447460 B CN105447460 B CN 105447460B CN 201510813199 A CN201510813199 A CN 201510813199A CN 105447460 B CN105447460 B CN 105447460B
Authority
CN
China
Prior art keywords
image scene
image
modes
scene mode
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510813199.4A
Other languages
Chinese (zh)
Other versions
CN105447460A (en
Inventor
胡娜
冯斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510813199.4A priority Critical patent/CN105447460B/en
Publication of CN105447460A publication Critical patent/CN105447460A/en
Application granted granted Critical
Publication of CN105447460B publication Critical patent/CN105447460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of information processing method and electronic equipments, which comprises obtains the first preview image;At least one parameter for being identified to first preview image is obtained by least one sensor of electronic equipment;Based at least one described parameter, first preview image is identified.For solving that the more time-consuming technical problem of image recognition processes exists in the prior art, the high technical effect of the recognition efficiency of image recognition is realized.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, in particular to a kind of information processing method and electronic equipment.
Background technique
With the development of science and technology, the electronic equipments such as mobile phone, tablet computer increasingly have multifunction, for example, Camera function, projecting function etc..Wherein, it takes pictures demand to meet user, camera is often installed on smart phone.With During family is taken pictures, often first image to be collected is shown on a display screen in a manner of preview, it then, can be to figure to be collected As being identified, and corresponding screening-mode is selected according to recognition result.By taking landscape identifies as an example, landscape more commonly used at present Recognizer determines whether the picture is landscape screening-mode by the way that whether analysis picture has blue sky, white clouds, green vegetation. If so, selecting corresponding landscape screening-mode then to continue to take pictures.
Present inventor during technical solution, has found the above-mentioned prior art at least in invention the embodiment of the present application It has the following technical problems:
Since a pair of of preview image of the various screening-modes one in the prior art, being based only in electronic equipment carries out figure As identification.With increasing for screening-mode, the time of image recognition certainly will be increased, that is to say, that image exists in the prior art The more time-consuming technical problem of identification process.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, and image exists in the prior art for solving The more time-consuming technical problem of identification process, realizes the high technical effect of the recognition efficiency of image recognition.
On the one hand, the embodiment of the present application provides a kind of information processing method, comprising the following steps:
Obtain the first preview image;
At least one parameter is obtained by least one sensor of electronic equipment;
Based at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, it obtains Obtain the second image scene set of modes comprising N kind image scene mode, wherein M is the integer more than or equal to 2, and N is less than M Positive integer;
First preview image is identified based on the second image scene set of modes.
Optionally, described at least one sensor by electronic equipment obtains at least one parameter, specifically:
The brightness for characterizing the electronic equipment local environment is obtained by the light sensor in the electronic equipment First brightness value of value;And/or
The temperature for characterizing the electronic equipment local environment is obtained by the temperature sensor in the electronic equipment First temperature value of value;And/or
The first party for characterizing the electronic equipment orientation values is obtained by the direction sensor in the electronic equipment Parallactic angle.
Optionally, described based at least one described parameter, and the first image scene comprising M kind image scene mode Set of modes obtains the second image scene set of modes comprising N kind image scene mode, specifically includes:
Based on the first corresponding relationship between at least one described parameter and image scene mode, from the M kind image scene In mode obtain except with the N kind image scene in addition at least one unmatched image scene mode of at least one described parameter Mode;
It obtains and matched second image scene comprising the N kind image scene mode of at least one described parameter Set of modes.
Optionally, described based at least one described parameter, and the first image scene comprising M kind image scene mode Set of modes obtains the second image scene set of modes comprising N kind image scene mode, specifically includes:
Based on the second corresponding relationship between brightness value and image scene mode, obtained from the M kind image scene set of modes It obtains and matches third image scene set of modes with first brightness value, wherein the third image scene set of modes includes L Kind image scene mode, L are the positive integer not less than N, and no more than M;
Based on the third corresponding relationship between orientation values and image scene mode, from the third image scene set of modes It obtains and the matched second image scene set of modes of the first party parallactic angle, wherein the second image scene mode Set includes the N kind image scene mode.
Optionally, described to identify have to first preview image based on the second image scene set of modes Body includes:
Extract at least one characteristic information of first preview image;
Based at least one described characteristic information, determine that described first is pre- from the second image scene set of modes Look at image present image scene mode be the first image scene mode.
Optionally, described based at least one described characteristic information, from the second image scene set of modes really Make first preview image present image scene mode be the first image scene mode after, the method also includes:
Based on the corresponding the first image scene mode of first preview image, adjustment and at least one described parameter Relevant functional module, so that each parameter adjusted and the first image scene mode match.
Two, the embodiment of the present application also provides a kind of electronic equipment, comprising:
Image acquisition units, for obtaining the first preview image;
At least one sensor, for obtaining at least one parameter;
Processor links together with described image acquisition unit and at least one described sensor;Wherein, the processing Device is configured as:
Based at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, it obtains Obtain the second image scene set of modes comprising N kind image scene mode, wherein M is the integer more than or equal to 2, and N is less than M Positive integer;
First preview image is identified based on the second image scene set of modes.
Optionally, at least one described sensor is specially light sensor, and/or, temperature sensor, and/or, direction Sensor;Wherein, first for characterizing the brightness value of the electronic equipment local environment is obtained by the light sensor Brightness value;The first temperature for characterizing the temperature value of the electronic equipment local environment is obtained by the temperature sensor Value;The first party parallactic angle for characterizing the electronic equipment orientation values is obtained by the direction sensor.
Optionally, the processor is configured to:
Based on the first corresponding relationship between at least one described parameter and image scene mode, from the M kind image scene In mode obtain except with the N kind image scene in addition at least one unmatched image scene mode of at least one described parameter Mode;
It obtains and matched second image scene comprising the N kind image scene mode of at least one described parameter Set of modes.
Optionally, the processor is configured to:
Based on the second corresponding relationship between brightness value and image scene mode, obtained from the M kind image scene set of modes It obtains and matches third image scene set of modes with first brightness value, wherein the third image scene set of modes includes L Kind image scene mode, L are the positive integer not less than N, and no more than M;
Based on the third corresponding relationship between orientation values and image scene mode, from the third image scene set of modes It obtains and the matched second image scene set of modes of the first party parallactic angle, wherein the second image scene mode Set includes the N kind image scene mode.
Optionally, the processor is configured to:
Extract at least one characteristic information of first preview image;
Based at least one described characteristic information, determine that described first is pre- from the second image scene set of modes Look at image present image scene mode be the first image scene mode.
Optionally, the processor is configured to:
Based on the corresponding the first image scene mode of first preview image, adjustment and at least one described parameter Relevant functional module, so that each parameter adjusted and the first image scene mode match.
Three, the embodiment of the present application also provides a kind of electronic equipment, comprising:
First obtains unit, for obtaining the first preview image;
Second obtaining unit, for obtaining at least one parameter by least one sensor of the electronic equipment;
Third obtaining unit, based at least one described parameter, and the first picture field comprising M kind image scene mode Scape set of modes obtains the second image scene set of modes comprising N kind image scene mode, wherein M is more than or equal to 2 Integer, N are the positive integer less than M;
First recognition unit identifies first preview image based on the second image scene set of modes.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
In the technical solution of the application, at least one parameter is obtained by least one sensor of electronic equipment;Base In at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, obtaining includes N kind Second image scene set of modes of image scene mode, wherein M is the integer more than or equal to 2, and N is the positive integer less than M; First preview image is identified based on the second image scene set of modes.That is, passing through at least one After sensor obtains at least one parameter, some picture fields are weeded out from current image scene mode based on these parameters Scape mode.Then, image recognition is carried out to the first preview image based on remaining image scene mode, is set to accelerate electronics The identification of the standby image scene mode to the first preview image.So the technology effect that the recognition efficiency for realizing image recognition is high Fruit.
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, will be described below to embodiment Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment.
Fig. 1 is a kind of flow chart for information processing method that the embodiment of the present application one provides;
The method flow diagram of step S103 in a kind of information processing method that Fig. 2 provides for the embodiment of the present application one;
It is specially at least one described sensor in a kind of information processing method that Fig. 3 provides for the embodiment of the present application one The method flow diagram of step S103 when light sensor and direction sensor;
The method flow diagram of step S104 in a kind of information processing method that Fig. 4 provides for the embodiment of the present application one;
Fig. 5 is the structural block diagram for a kind of electronic equipment that the embodiment of the present application two provides;
Fig. 6 is the structural block diagram for a kind of electronic equipment that the embodiment of the present application three provides.
Specific embodiment
The embodiment of the present application provides a kind of information processing method and electronic equipment, and figure exists in the prior art for solving As the more time-consuming technical problem of identification process, the high technical effect of the recognition efficiency of image recognition is realized.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
Obtain the first preview image;
At least one parameter is obtained by least one sensor of electronic equipment;
Based at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, it obtains Obtain the second image scene set of modes comprising N kind image scene mode, wherein M is the integer more than or equal to 2, and N is less than M Positive integer;
First preview image is identified based on the second image scene set of modes.
In the technical solution of the application, at least one parameter is obtained by least one sensor of electronic equipment;Base In at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, obtaining includes N kind Second image scene set of modes of image scene mode, wherein M is the integer more than or equal to 2, and N is the positive integer less than M; First preview image is identified based on the second image scene set of modes.That is, passing through at least one After sensor obtains at least one parameter, some picture fields are weeded out from current image scene mode by these parameters Scape mode.Then, image recognition is carried out to the first preview image based on remaining image scene mode, is set to accelerate electronics The identification of the standby image scene mode to the first preview image.So the technology effect that the recognition efficiency for realizing image recognition is high Fruit.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or" in the case where not illustrating.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the detailed of technical solution of the present invention Thin explanation, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present application and embodiment In technical characteristic can be combined with each other.
Embodiment one
Referring to FIG. 1, the embodiment of the present application one provides a kind of information processing method, comprising:
S101: the first preview image is obtained;
S102: at least one parameter is obtained by least one sensor of electronic equipment;
S103: based at least one described parameter, and the first image scene set of patterns comprising M kind image scene mode It closes, obtains the second image scene set of modes comprising N kind image scene mode, wherein M is the integer more than or equal to 2, and N is Positive integer less than M;
S104: first preview image is identified based on the second image scene set of modes.
In the specific implementation process, step S101 to step S104's the specific implementation process is as follows:
Firstly, obtaining the first preview image by the electronic equipment;For example, user opens the camera function of smart phone Can, preview is carried out to current image to be collected.In the embodiment of the present application, in order to guarantee that electronic equipment can be based on current Photographed scene automatically selects out suitable screening-mode.In the specific implementation process, figure is being carried out to first preview image Before identification, firstly, at least one sensor by the electronic equipment obtains at least one parameter.Then, it is based on institute At least one parameter, and the first image scene set of modes comprising M kind image scene mode are stated, obtaining includes N kind image Second image scene set of modes of scene mode.For example, the electronic equipment has prestored 10 kinds of image scene modes, Such as: moving scene mode, night scene scene mode, seabeach scene mode, etc..It is obtained based at least one described sensor 4 kinds of image scene modes are weeded out from this 10 kinds of image scene modes after at least one parameter.At this point, this 10 kinds will be obtained 6 kinds of image scene set of modes in image scene mode in addition to this 4 kinds of image scene modes.Then, remaining this 6 kinds are based on Image scene mode identifies first preview image.When the figure for determining to shoot first preview image As the electronic equipment can be controlled based on the first preview graph described in current image scene type collection after scene mode Picture.
In the embodiment of the present application, the sensor being arranged in the electronic equipment can be one or more, for Each sensor will obtain different parameter informations.In the specific implementation process, step S102: at least by electronic equipment One sensor obtains at least one parameter, specifically:
The brightness for characterizing the electronic equipment local environment is obtained by the light sensor in the electronic equipment First brightness value of value;And/or
The temperature for characterizing the electronic equipment local environment is obtained by the temperature sensor in the electronic equipment First temperature value of value;And/or
The first party for characterizing the electronic equipment orientation values is obtained by the direction sensor in the electronic equipment Parallactic angle.
In the specific implementation process, step S102 can specifically have following several ways of realization, but be not limited only to following several Kind implementation.
The first way of realization
When at least one described sensor is light sensor, obtained by the light sensor described for characterizing First brightness value of the brightness value of electronic equipment local environment.In the specific implementation process, to the electronic equipment local environment The detection of brightness value this can also be waited adopting by the image to be collected collected of the imaging sensor in the electronic equipment The gray value of collection image performs corresponding processing, and further determines that out the brightness value of the electronic equipment local environment.Namely It says, in the embodiment of the present application, the light conditions of the electronic equipment local environment can be detected by sensor, and then really Make environment bright-dark degree locating for the electronic equipment.Due to the corresponding figure in the case where the electronic equipment is in different brightness values As scene mode is possible to different.For example, when brightness value is 2, due to the electronic equipment local environment dark, user The Image Acquisition under described electronic equipment progress " self-timer " scene mode is not will use usually.
For example, a photosensitive sensor is arranged in mobile phone, when mobile phone opens camera function preview image, mobile phone should by starting Photosensitive sensor, the photosensitive sensor will obtain the brightness values in the mobile phone local environment in real time.For example, present intensity value It is 7.Certainly, for those skilled in the art, can also be detected locating for the electronic equipment using other means The brightness value of environment just different one schematically illustrates herein.
Second of way of realization
When at least one described sensor is temperature sensor, obtained by the temperature sensor in the electronic equipment For characterizing the first temperature value of the temperature value of the electronic equipment local environment.For example, opening camera function preview in mobile phone When image, mobile phone will start the temperature sensor, which will obtain the temperature in the mobile phone local environment in real time Information.Since image scene mode corresponding under different temperatures information is possible to different, for example, in zero degrees celsius hereinafter, described Electronic equipment can just collect the image under " snow scenes " this scene mode.When temperature value is in 40 degrees Celsius, the electronics Equipment can not usually collect the image under " snow scenes " this scene mode.
The third way of realization
When at least one described sensor is direction sensor, obtained by the direction sensor in the electronic equipment For characterizing the first party parallactic angle of the electronic equipment orientation values.For example, the gravity sensitive in the electronic equipment can be passed through It is 30 ° that device, which obtains the angle between the electronic equipment display screen and horizontal plane,.In the specific implementation process, those skilled in the art Member can also obtain the angle between the electronic equipment display screen and horizontal plane using different sensors as needed, than Such as, it can be gyroscope, can be acceleration transducer, etc., just do not repeat one by one herein.Since the electronic equipment exists Corresponding image scene mode is possible to different under different azimuths, for example, in the angle of the electronic equipment and horizontal plane When for 45 ° of the angle of depression, user not will use " sky " of the electronic equipment this scene mode usually and remove acquisition image.Described When the angle of electronic equipment and horizontal plane is 130 ° of the elevation angle, user not will use the electronic equipment usually and go to collect " setting sun " The image of this scene mode.
4th kind of implementation
When the number of at least one sensor is multiple, for example, at least one described sensor includes that light passes Sensor and temperature sensor, then step S102 specifically can be, and obtain the electronic equipment local environment by light sensor Brightness value, and obtain by temperature sensor the temperature value of the electronic equipment local environment.That is, at this point, institute Sensor in electronic equipment is stated by the parameter information including obtaining brightness value and temperature value.
Based on the 4th kind of identical mode of implementation, it can also be through light sensor and direction sensor and obtain Parameter information;It is also possible to obtain parameter information by temperature sensor and direction sensor.It is, of course, also possible to be to tie simultaneously Light sensor, temperature sensor, direction sensor are closed to obtain corresponding parameter information.In addition, for the technology of this field For personnel, it can also be obtained by the infrared sensor in the electronic equipment for characterizing ring locating for the electronic equipment First infrared mumber value of the infrared mumber in border.It is, of course, also possible to obtain corresponding parameter by other sensors Information does not just repeat one by one herein.
In the embodiment of the present application, referring to FIG. 2, step S103: based at least one described parameter, and including M kind First image scene set of modes of image scene mode obtains the second image scene mode comprising N kind image scene mode Set, specifically includes:
S201: based on the first corresponding relationship between at least one described parameter and image scene mode, from the M kind image In scene mode obtain except with the N kind image in addition at least one unmatched image scene mode of at least one described parameter Scene mode;
S202: it obtains and matched second figure comprising the N kind image scene mode of at least one described parameter Image field scape set of modes.
In the specific implementation process, step S201 to step S202's the specific implementation process is as follows:
Firstly, based on the first corresponding relationship between at least one described parameter and image scene mode, from the M kind image In scene mode obtain except with the N kind image in addition at least one unmatched image scene mode of at least one described parameter Scene mode;Then, it obtains and matched second figure comprising the N kind image scene mode of at least one described parameter Image field scape set of modes.For giving a concrete illustration, when the electronic equipment acquires first preview image, and pass through The brightness value that light sensor detects is when showing that the electronic equipment is currently at night-environment, not with present intensity value The image scene mode matched has " portrait scene mode ", " landscape scene mode ", " single self-timer mode ".By image scene mode In these three scene modes weed out after, obtain with present intensity value it is matched " pyrotechnics scene mode ", " candlelight scene mould Formula ", " setting sun scene mode " these three scene modes.
It in the embodiment of the present application, can be by the obtained parameter information of at least one sensor come to described first The corresponding image scene mode of preview image is screened.Specifically, when at least one sensor is specially light sensor When with direction sensor, referring to FIG. 3, step S103: based at least one described parameter, and including M kind image scene mould First image scene set of modes of formula obtains the second image scene set of modes comprising N kind image scene mode, specific to wrap It includes:
S301: based on the second corresponding relationship between brightness value and image scene mode, from the M kind image scene set of patterns It closes to obtain and matches third image scene set of modes with first brightness value, wherein the third image scene set of modes Including L kind image scene mode, L is the positive integer not less than N, and no more than M;
S302: based on the third corresponding relationship between orientation values and image scene mode, from the third image scene mode It is obtained and the matched second image scene set of modes of the first party parallactic angle in set, wherein second picture field Scape set of modes includes the N kind image scene mode.
In the specific implementation process, step S301 to step S302's the specific implementation process is as follows:
Firstly, based on the second corresponding relationship between brightness value and image scene mode, from the M kind image scene set of patterns It closes and obtains and the matched third image scene set of modes of first brightness value;Then, based on orientation values and image scene mould Third corresponding relationship between formula obtains matched described with the first party parallactic angle from the third image scene set of modes Second image scene set of modes.Still it with the corresponding relationship between the brightness value of above-mentioned acquisition and image scene mode, determines Matched " pyrotechnics scene mode " with present intensity value, " candlelight scene mode ", " setting sun scene mode " these three scene moulds For formula, when the angle for detecting the electronic equipment and horizontal plane is 130 ° of elevations angle, then screened from these three scene modes " pyrotechnics scene mode " and " candlelight scene mode " both scene modes out.For another example, in conjunction with brightness value and temperature value this two Parameter information is planted to screen to the matched scene mode of the first preview image.When detecting that the electronic equipment works as When preceding locating ambient temperature value is 37 degrees Celsius, then from " pyrotechnics scene mode ", " candlelight scene mode ", " setting sun scene mould These three scene modes of formula " filter out " pyrotechnics scene mode " and " candlelight scene mode ".Further, after directly against screening Both scene modes image recognition is carried out to first preview image, effectively reduce image recognition it is spent when It is long.
Certainly, in the embodiment of the present application, it can be combined with the multiple parameter values and described first that multiple sensors obtain The matched scene mode of preview image is screened, and just different one is schematically illustrated herein.
In the embodiment of the present application, referring to FIG. 4, step S104: based on the second image scene set of modes to institute It states the first preview image to be identified, specifically include:
S401: at least one characteristic information of first preview image is extracted;
S402: it based at least one described characteristic information, is determined from the second image scene set of modes described The present image scene mode of first preview image is the first image scene mode.
In the specific implementation process, step S401 to step S402's the specific implementation process is as follows:
After filtering out the image scene set of modes that first preview image is possible to affiliated, firstly, extracting institute State at least one characteristic information in the first preview image;For example, " color background is blue ", " location information constantly changes ", " appearance profile is a car shaped ", etc..Then, based at least one described characteristic information, from second image scene The present image scene mode that first preview image is determined in set of modes is the first image scene mode.For example, The second image scene set of modes is specially " pyrotechnics scene mode ", " candlelight scene mode ", and the feature letter extracted Breath is " umbrella ", and when " ascending motion ", then the present image scene mode of first preview image is " pyrotechnics scene mode ". For another example, the figure ground color extracted for first preview image has " blue ", " white ", the features such as " green ". Then it determines with the matched image scene mode of these characteristic informations to be " landscape from the second image scene set of modes Scene mode ", " group is to scene mode ", " water flow scene mode ".Then, further image is done to these scene modes to know Not, and then the current scene mode of first preview image is determined.
In the embodiment of the present application, in step S402: based at least one described characteristic information, from second picture field The present image scene mode that first preview image is determined in scape set of modes is institute after the first image scene mode State method further include:
Based on the corresponding the first image scene mode of first preview image, adjustment and at least one described parameter Relevant functional module, so that each parameter adjusted and the first image scene mode match.
In the specific implementation process, in order to guarantee the electronic equipment to the better shooting effect of present preview image.? Determine first preview image present image scene mode be the first image scene mode after, by adjusting the electricity The parameter of the corresponding function module in sub- equipment, to guarantee the electronic equipment to the collection effect of present preview image.For example, After determining the current image scene mode of first preview image specially " landscape scene mode ", passed due to passing through light The brightness value that sensor detects is lower, when the ambient light that the electronic equipment is presently in is darker, can automatically open flash of light Lamp assists the acquisition to present preview image.
Embodiment two
Referring to FIG. 5, being based on inventive concept same as embodiment one, the embodiment of the present application also provides a kind of electronics to set It is standby, comprising:
Image acquisition units 10, for obtaining the first preview image;
At least one sensor 20, for obtaining at least one parameter;
Processor 30 links together with image acquisition units 10 and at least one sensor 20;Wherein, 30 quilt of processor It is configured that
Based at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, it obtains Obtain the second image scene set of modes comprising N kind image scene mode, wherein M is the integer more than or equal to 2, and N is less than M Positive integer;
First preview image is identified based on the second image scene set of modes.
In the embodiment of the present application, at least one sensor 20 is specially light sensor, and/or, temperature sensor, And/or direction sensor;Wherein, it is obtained by the light sensor for characterizing the bright of the electronic equipment local environment First brightness value of angle value;The temperature value for characterizing the electronic equipment local environment is obtained by the temperature sensor First temperature value;The first party parallactic angle for characterizing the electronic equipment orientation values is obtained by the direction sensor.
In the embodiment of the present application, processor 30 is configured as:
Based on the first corresponding relationship between at least one described parameter and image scene mode, from the M kind image scene In mode obtain except with the N kind image scene in addition at least one unmatched image scene mode of at least one described parameter Mode;
It obtains and matched second image scene comprising the N kind image scene mode of at least one described parameter Set of modes.
In the embodiment of the present application, processor 30 is configured as:
Based on the second corresponding relationship between brightness value and image scene mode, obtained from the M kind image scene set of modes It obtains and matches third image scene set of modes with first brightness value, wherein the third image scene set of modes includes L Kind image scene mode, L are the positive integer not less than N, and no more than M;
Based on the third corresponding relationship between orientation values and image scene mode, from the third image scene set of modes It obtains and the matched second image scene set of modes of the first party parallactic angle, wherein the second image scene mode Set includes the N kind image scene mode.
In the embodiment of the present application, processor 30 is configured as:
Extract at least one characteristic information of first preview image;
Based at least one described characteristic information, determine that described first is pre- from the second image scene set of modes Look at image present image scene mode be the first image scene mode.
In the embodiment of the present application, processor 30 is configured as:
Based on the corresponding the first image scene mode of first preview image, adjustment and at least one described parameter Relevant functional module, so that each parameter adjusted and the first image scene mode match.
Embodiment three
Referring to FIG. 6, being based on the same inventive concept of the embodiment of the present application one, the embodiment of the present application also provides a kind of electricity Sub- equipment, comprising:
First obtains unit 40, for obtaining the first preview image;
Second obtaining unit 50, for obtaining at least one parameter by least one sensor of the electronic equipment;
Third obtaining unit 60, based at least one described parameter, and the first image comprising M kind image scene mode Scene mode set obtains the second image scene set of modes comprising N kind image scene mode, wherein M is more than or equal to 2 Integer, N is positive integer less than M;
First recognition unit 70 knows first preview image based on the second image scene set of modes Not.
In the embodiment of the present application, the second obtaining unit 50 is specifically used for:
The brightness for characterizing the electronic equipment local environment is obtained by the light sensor in the electronic equipment First brightness value of value;And/or
The temperature for characterizing the electronic equipment local environment is obtained by the temperature sensor in the electronic equipment First temperature value of value;And/or
The first party for characterizing the electronic equipment orientation values is obtained by the direction sensor in the electronic equipment Parallactic angle.
In the embodiment of the present application, third obtaining unit 60 specifically includes:
First obtains module, based on the first corresponding relationship between at least one described parameter and image scene mode, from institute State in M kind image scene mode obtain except with the institute in addition at least one unmatched image scene mode of at least one described parameter State N kind image scene mode;
Second obtains module, includes the N kind image scene mode for obtaining matched at least one described parameter The second image scene set of modes.
In the embodiment of the present application, third obtaining unit 60 specifically includes:
Third obtains module, based on the second corresponding relationship between brightness value and image scene mode, from the M kind picture field Scape set of modes, which is obtained, matches third image scene set of modes with first brightness value, wherein the third image scene Set of modes includes L kind image scene mode, and L is the positive integer not less than N, and no more than M;
4th obtains module, based on the third corresponding relationship between orientation values and image scene mode, from the third image It is obtained and the matched second image scene set of modes of the first party parallactic angle in scene mode set, wherein described the Two image scene set of modes include the N kind image scene mode.
In the embodiment of the present application, the first recognition unit 70 specifically includes:
First extraction module, for extracting at least one characteristic information of first preview image;
First determining module, based at least one described characteristic information, from the second image scene set of modes really The present image scene mode for making first preview image is the first image scene mode.
In the embodiment of the present application, described based at least one described characteristic information, from the second image scene mould The present image scene mode that first preview image is determined in formula set is the electricity after the first image scene mode Sub- equipment further include:
The first adjustment unit is based on the corresponding the first image scene mode of first preview image, adjustment and institute The relevant functional module of at least one parameter is stated, so that each parameter adjusted and the first image scene mode phase Match.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implemented Fruit:
In the technical solution of the application, at least one parameter is obtained by least one sensor of electronic equipment;Base In at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, obtaining includes N kind Second image scene set of modes of image scene mode, wherein M is the integer more than or equal to 2, and N is the positive integer less than M; First preview image is identified based on the second image scene set of modes.That is, passing through at least one After sensor obtains at least one parameter, some picture fields are weeded out from current image scene mode by these parameters Scape mode.Then, image recognition is carried out to the first preview image based on remaining image scene mode, is set to accelerate electronics The identification of the standby image scene mode to the first preview image.So the technology effect that the recognition efficiency for realizing image recognition is high Fruit.
In the technical solution of the application, based on the second image scene set of modes after screening come to first preview Image is identified.Specifically, based at least one characteristic information extracted in first preview image, and then from described The present image scene mode that first preview image is determined in two image scene set of modes is the first image scene mould Formula.That is, coming to carry out feature to first preview image directly against the second image scene set of modes after screening Identification ensure that the accuracy of image recognition result to increase the accuracy to characteristic information identification.
In the technical solution of the application, due to determining described first from the second image scene set of modes The present image scene of preview image is adjustment function mould relevant at least one described parameter after the first scene mode Block, so that each parameter adjusted and the first image scene mode match.To ensure that the electronic equipment needle The image of acquisition acquired to preview image has preferable image effect, enhances user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage medium One electronic equipment reads or is performed, and includes the following steps:
Obtain the first preview image;
At least one parameter is obtained by least one sensor of electronic equipment;
Based at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, it obtains Obtain the second image scene set of modes comprising N kind image scene mode, wherein M is the integer more than or equal to 2, and N is less than M Positive integer;
First preview image is identified based on the second image scene set of modes.
Optionally, stored in the storage medium and step, described at least one sensor by electronic equipment Obtain at least one parameter, corresponding computer program instructions when executed, specifically:
The brightness for characterizing the electronic equipment local environment is obtained by the light sensor in the electronic equipment First brightness value of value;And/or
The temperature for characterizing the electronic equipment local environment is obtained by the temperature sensor in the electronic equipment First temperature value of value;And/or
The first party for characterizing the electronic equipment orientation values is obtained by the direction sensor in the electronic equipment Parallactic angle.
Optionally, stored in the storage medium and step, it is described based at least one described parameter, and include M First image scene set of modes of kind image scene mode, obtains the second image scene mould comprising N kind image scene mode Formula set, corresponding computer program instructions when executed, specifically include:
Based on the first corresponding relationship between at least one described parameter and image scene mode, from the M kind image scene In mode obtain except with the N kind image scene in addition at least one unmatched image scene mode of at least one described parameter Mode;
It obtains and matched second image scene comprising the N kind image scene mode of at least one described parameter Set of modes.
Optionally, stored in the storage medium and step, it is described based at least one described parameter, and include M First image scene set of modes of kind image scene mode, obtains the second image scene mould comprising N kind image scene mode Formula set, corresponding computer program instructions when executed, specifically include:
Based on the second corresponding relationship between brightness value and image scene mode, obtained from the M kind image scene set of modes It obtains and matches third image scene set of modes with first brightness value, wherein the third image scene set of modes includes L Kind image scene mode, L are the positive integer not less than N, and no more than M;
Based on the third corresponding relationship between orientation values and image scene mode, from the third image scene set of modes It obtains and the matched second image scene set of modes of the first party parallactic angle, wherein the second image scene mode Set includes the N kind image scene mode.
Optionally, stored in the storage medium and step, it is described to be based on the second image scene set of modes pair First preview image is identified that corresponding computer program instructions when executed, specifically include:
Extract at least one characteristic information of first preview image;
Based at least one described characteristic information, determine that described first is pre- from the second image scene set of modes Look at image present image scene mode be the first image scene mode.
Optionally, stored in the storage medium and step, described based at least one described characteristic information, from institute It states and determines that the present image scene mode of first preview image is the first picture field in the second image scene set of modes After scape mode, corresponding computer program instructions when executed, the method also includes:
Based on the corresponding the first image scene mode of first preview image, adjustment and at least one described parameter Relevant functional module, so that each parameter adjusted and the first image scene mode match.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.If in this way, these modifications and changes of the present invention belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (11)

1. a kind of information processing method, comprising:
Obtain the first preview image;
At least one parameter is obtained by least one sensor of electronic equipment;
Based at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, it is wrapped Second image scene set of modes of the image scene mode of kind containing N, wherein M is the integer more than or equal to 2, and N is just less than M Integer;
First preview image is identified based on the second image scene set of modes;Wherein,
Described at least one sensor by electronic equipment obtains at least one parameter, specifically:
The brightness value for characterizing the electronic equipment local environment is obtained by the light sensor in the electronic equipment First brightness value;And/or
The temperature value for characterizing the electronic equipment local environment is obtained by the temperature sensor in the electronic equipment First temperature value;And/or
The first party parallactic angle for characterizing the electronic equipment orientation values is obtained by the direction sensor in the electronic equipment.
2. the method as described in claim 1, which is characterized in that it is described based at least one described parameter, and include M kind figure As the first image scene set of modes of scene mode, the second image scene set of patterns comprising N kind image scene mode is obtained It closes, specifically includes:
Based on the first corresponding relationship between at least one described parameter and image scene mode, from the M kind image scene mode It is middle obtain except with the N kind image scene mould in addition at least one unmatched image scene mode of at least one described parameter Formula;
It obtains and matched the second image scene mode comprising the N kind image scene mode of at least one described parameter Set.
3. method according to claim 2, which is characterized in that it is described based at least one described parameter, and include M kind figure As the first image scene set of modes of scene mode, the second image scene set of patterns comprising N kind image scene mode is obtained It closes, specifically includes:
Based on the second corresponding relationship between brightness value and image scene mode, from the M kind image scene set of modes obtain with First brightness value matches third image scene set of modes, wherein the third image scene set of modes includes L kind figure As scene mode, L is the positive integer not less than N, and no more than M;
Based on the third corresponding relationship between orientation values and image scene mode, obtained from the third image scene set of modes With the matched second image scene set of modes of the first party parallactic angle, wherein the second image scene set of modes Include the N kind image scene mode.
4. the method as described in any claim of claim 1-3, which is characterized in that described to be based on the second image scene mode Set identifies first preview image, specifically includes:
Extract at least one characteristic information of first preview image;
Based at least one described characteristic information, first preview graph is determined from the second image scene set of modes The present image scene mode of picture is the first image scene mode.
5. method as claimed in claim 4, which is characterized in that described based at least one described characteristic information, from described The present image scene mode that first preview image is determined in second image scene set of modes is the first image scene After mode, the method also includes:
Based on the corresponding the first image scene mode of first preview image, adjust related at least one described parameter Functional module so that each parameter adjusted and the first image scene mode match.
6. a kind of electronic equipment, comprising:
Image acquisition units, for obtaining the first preview image;
At least one sensor, for obtaining at least one parameter;
Processor links together with described image acquisition unit and at least one described sensor;Wherein, the processor quilt It is configured that
Based at least one described parameter, and the first image scene set of modes comprising M kind image scene mode, it is wrapped Second image scene set of modes of the image scene mode of kind containing N, wherein M is the integer more than or equal to 2, and N is just less than M Integer;
First preview image is identified based on the second image scene set of modes;Wherein,
At least one described sensor is specially light sensor, and/or, temperature sensor, and/or, direction sensor;Its In, the first brightness value for characterizing the brightness value of the electronic equipment local environment is obtained by the light sensor;It is logical It crosses the temperature sensor and obtains the first temperature value for characterizing the temperature value of the electronic equipment local environment;By described Direction sensor obtains the first party parallactic angle for characterizing the electronic equipment orientation values.
7. electronic equipment as claimed in claim 6, which is characterized in that the processor is configured to:
Based on the first corresponding relationship between at least one described parameter and image scene mode, from the M kind image scene mode It is middle obtain except with the N kind image scene mould in addition at least one unmatched image scene mode of at least one described parameter Formula;
It obtains and matched the second image scene mode comprising the N kind image scene mode of at least one described parameter Set.
8. electronic equipment as claimed in claim 7, which is characterized in that the processor is configured to:
Based on the second corresponding relationship between brightness value and image scene mode, from the M kind image scene set of modes obtain with First brightness value matches third image scene set of modes, wherein the third image scene set of modes includes L kind figure As scene mode, L is the positive integer not less than N, and no more than M;
Based on the third corresponding relationship between orientation values and image scene mode, obtained from the third image scene set of modes With the matched second image scene set of modes of the first party parallactic angle, wherein the second image scene set of modes Include the N kind image scene mode.
9. the electronic equipment as described in any claim of claim 6-8, which is characterized in that the processor is configured to:
Extract at least one characteristic information of first preview image;
Based at least one described characteristic information, first preview graph is determined from the second image scene set of modes The present image scene mode of picture is the first image scene mode.
10. electronic equipment as claimed in claim 9, which is characterized in that the processor is configured to:
Based on the corresponding the first image scene mode of first preview image, adjust related at least one described parameter Functional module so that each parameter adjusted and the first image scene mode match.
11. a kind of electronic equipment, comprising:
First obtains unit, for obtaining the first preview image;
Second obtaining unit, for obtaining at least one parameter by least one sensor of the electronic equipment;
Third obtaining unit, based at least one described parameter, and the first image scene mould comprising M kind image scene mode Formula set obtains the second image scene set of modes comprising N kind image scene mode, wherein and M is the integer more than or equal to 2, N is the positive integer less than M;
First recognition unit identifies first preview image based on the second image scene set of modes;Wherein,
Second obtaining unit is used to obtain at least one parameter by least one sensor of the electronic equipment, specifically Are as follows:
The brightness value for characterizing the electronic equipment local environment is obtained by the light sensor in the electronic equipment First brightness value;And/or
The temperature value for characterizing the electronic equipment local environment is obtained by the temperature sensor in the electronic equipment First temperature value;And/or
The first party parallactic angle for characterizing the electronic equipment orientation values is obtained by the direction sensor in the electronic equipment.
CN201510813199.4A 2015-11-20 2015-11-20 A kind of information processing method and electronic equipment Active CN105447460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510813199.4A CN105447460B (en) 2015-11-20 2015-11-20 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510813199.4A CN105447460B (en) 2015-11-20 2015-11-20 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105447460A CN105447460A (en) 2016-03-30
CN105447460B true CN105447460B (en) 2019-05-31

Family

ID=55557620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510813199.4A Active CN105447460B (en) 2015-11-20 2015-11-20 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105447460B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110348291A (en) * 2019-05-28 2019-10-18 华为技术有限公司 A kind of scene recognition method, a kind of scene Recognition device and a kind of electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976461A (en) * 2010-10-25 2011-02-16 北京理工大学 Novel outdoor augmented reality label-free tracking registration algorithm
CN102054166A (en) * 2010-10-25 2011-05-11 北京理工大学 Scene recognition technology used in outdoor augmented reality system
US8238671B1 (en) * 2009-12-07 2012-08-07 Google Inc. Scene classification for place recognition
CN102982336A (en) * 2011-09-02 2013-03-20 株式会社理光 Method and system for recognition model generation
CN103514446A (en) * 2013-10-16 2014-01-15 北京理工大学 Outdoor scene recognition method fused with sensor information
CN103716527A (en) * 2012-09-29 2014-04-09 浙江大华技术股份有限公司 Method and equipment for determining working mode of camera equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8724919B2 (en) * 2012-09-21 2014-05-13 Eastman Kodak Company Adjusting the sharpness of a digital image

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8238671B1 (en) * 2009-12-07 2012-08-07 Google Inc. Scene classification for place recognition
CN101976461A (en) * 2010-10-25 2011-02-16 北京理工大学 Novel outdoor augmented reality label-free tracking registration algorithm
CN102054166A (en) * 2010-10-25 2011-05-11 北京理工大学 Scene recognition technology used in outdoor augmented reality system
CN102982336A (en) * 2011-09-02 2013-03-20 株式会社理光 Method and system for recognition model generation
CN103716527A (en) * 2012-09-29 2014-04-09 浙江大华技术股份有限公司 Method and equipment for determining working mode of camera equipment
CN103514446A (en) * 2013-10-16 2014-01-15 北京理工大学 Outdoor scene recognition method fused with sensor information

Also Published As

Publication number Publication date
CN105447460A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105245863B (en) The image processing apparatus and its control method and picture pick-up device of progress white balance control
JP5652886B2 (en) Face authentication device, authentication method and program, information device
CN104580878A (en) Automatic effect method for photography and electronic apparatus
CN106664366B (en) Image processing apparatus, photographic device and image processing method
CN104954697A (en) Image processing apparatus and image processing method
CN106060379B (en) The control method of picture pick-up device and picture pick-up device
CN108537155A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN107172407A (en) Electronic installation and method suitable for producing depth map
US20130182010A2 (en) Device for capturing and displaying images of objects, in particular digital binoculars, digital camera or digital video camera
CN102761706A (en) Imaging device and imaging method and program
CN103733607A (en) Device and method for detecting moving objects
KR20090087670A (en) Method and system for extracting the photographing information
JP2016151955A (en) Image processing apparatus, imaging device, distance measuring device, and image processing method
CN107623819B (en) A kind of method taken pictures and mobile terminal and related media production
CN108200351A (en) Image pickup method, terminal and computer-readable medium
CN107392192A (en) A kind of personal identification method, device and multi-cam module
CN116055712B (en) Method, device, chip, electronic equipment and medium for determining film forming rate
CN109040746B (en) Camera calibration method and apparatus, electronic equipment, computer readable storage medium
CN109040745A (en) Camera method for self-calibrating and device, electronic equipment, computer storage medium
CN106331460A (en) Image processing method and device, and terminal
JP2014146989A (en) Image pickup device, image pickup method, and image pickup program
JP6374849B2 (en) User terminal, color correction system, and color correction method
CN107948618A (en) Image processing method, device, computer-readable recording medium and computer equipment
CN105447460B (en) A kind of information processing method and electronic equipment
CN109816628A (en) Face evaluation method and Related product

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