CN105447460A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105447460A
CN105447460A CN201510813199.4A CN201510813199A CN105447460A CN 105447460 A CN105447460 A CN 105447460A CN 201510813199 A CN201510813199 A CN 201510813199A CN 105447460 A CN105447460 A CN 105447460A
Authority
CN
China
Prior art keywords
image scene
modes
image
electronic equipment
pattern
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
Application number
CN201510813199.4A
Other languages
Chinese (zh)
Other versions
CN105447460B (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 an information processing method and electronic equipment, and the method comprises the steps: obtaining a first preview image; obtaining at least one parameter for the recognition of the first preview image through at least one sensor of the electronic equipment; and carrying out the recognition of the first preview image based on at least one parameter. The method is used for solving a technical problem that the image recognition process consumes a large amount of time in the prior art, and achieves the high efficiency of image recognition.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly a kind of information processing method and electronic equipment.
Background technology
Along with the development of science and technology, such as the electronic equipment such as mobile phone, panel computer day by day possesses multifunction, such as, and camera function, projecting function etc.Wherein, to take pictures demand to meet user, smart mobile phone is often provided with camera.In the process that user takes pictures, often first image to be collected is shown on a display screen in the mode of preview, then, can identify image to be collected, and select corresponding screening-mode according to recognition result.Being identified as example with landscape, landscape recognizer relatively conventional at present, whether having blue sky, white clouds, green vegetation to judge this picture whether as landscape screening-mode by analyzing picture.In this way, then corresponding landscape screening-mode is selected to continue to take pictures.
In the process of present inventor's technical scheme in invention the embodiment of the present application, find that above-mentioned prior art at least exists following technical matters:
Due in the prior art, just carry out image recognition based on various screening-modes 1 a pair preview image in electronic equipment.Along with increasing of screening-mode, the time of image recognition certainly will be increased, that is, in prior art, there is the technical matters that image recognition processes is comparatively consuming time.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, there is image recognition processes technical matters comparatively consuming time, achieving the technique effect that the recognition efficiency of image recognition is high for solving in prior art.
On the one hand, the embodiment of the present application provides a kind of information processing method, comprises 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 parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
Based on described second image scene set of modes, described first preview image is identified.
Alternatively, describedly obtain at least one parameter by least one sensor in electronic equipment, be specially:
The first brightness value of the brightness value for characterizing environment residing for described electronic equipment is obtained by the light sensor in described electronic equipment; And/or,
The first temperature value of the temperature value for characterizing environment residing for described electronic equipment is obtained by the temperature sensor in described electronic equipment; And/or,
The first party parallactic angle for characterizing described electronic equipment orientation values is obtained by the direction sensor in described electronic equipment.
Alternatively, described based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, specifically comprise:
Based on the first corresponding relation between at least one parameter described and image scene pattern, obtain from described M kind image scene pattern except with the described N kind image scene pattern except at least one parameter described at least one image scene pattern unmatched;
Obtain the described second image scene set of modes comprising described N kind image scene pattern with at least one parameter matching described.
Alternatively, described based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, specifically comprise:
Based on the second corresponding relation between brightness value and image scene pattern, obtain from described M kind image scene set of modes and mate the 3rd image scene set of modes with described first brightness value, wherein, described 3rd image scene set of modes comprises L kind image scene pattern, L for being not less than N, and is not more than the positive integer of M;
Based on the 3rd corresponding relation between orientation values and image scene pattern, the described second image scene set of modes of mating with described first party parallactic angle is obtained from described 3rd image scene set of modes, wherein, described second image scene set of modes comprises described N kind image scene pattern.
Alternatively, describedly based on described second image scene set of modes, described first preview image to be identified, specifically comprises:
Extract at least one characteristic information of described first preview image;
Based at least one characteristic information described, from described second image scene set of modes, determine that the present image scene mode of described first preview image is the first image scene pattern.
Alternatively, described based at least one characteristic information described, determine that the present image scene mode of described first preview image is the first image scene pattern from described second image scene set of modes after, described method also comprises:
Based on the described first image scene pattern that described first preview image is corresponding, adjust the functional module relevant at least one parameter described, to make each parameter after adjustment and described first image scene patterns match.
Two, the embodiment of the present application additionally 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 units and at least one sensor described; Wherein, described processor is configured to:
Based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
Based on described second image scene set of modes, described first preview image is identified.
Alternatively, at least one sensor described is specially light sensor, and/or, temperature sensor, and/or, direction sensor; Wherein, the first brightness value of the brightness value for characterizing environment residing for described electronic equipment is obtained by described light sensor; The first temperature value of the temperature value for characterizing environment residing for described electronic equipment is obtained by described temperature sensor; The first party parallactic angle for characterizing described electronic equipment orientation values is obtained by described direction sensor.
Alternatively, described processor is configured to:
Based on the first corresponding relation between at least one parameter described and image scene pattern, obtain from described M kind image scene pattern except with the described N kind image scene pattern except at least one parameter described at least one image scene pattern unmatched;
Obtain the described second image scene set of modes comprising described N kind image scene pattern with at least one parameter matching described.
Alternatively, described processor is configured to:
Based on the second corresponding relation between brightness value and image scene pattern, obtain from described M kind image scene set of modes and mate the 3rd image scene set of modes with described first brightness value, wherein, described 3rd image scene set of modes comprises L kind image scene pattern, L for being not less than N, and is not more than the positive integer of M;
Based on the 3rd corresponding relation between orientation values and image scene pattern, the described second image scene set of modes of mating with described first party parallactic angle is obtained from described 3rd image scene set of modes, wherein, described second image scene set of modes comprises described N kind image scene pattern.
Alternatively, described processor is configured to:
Extract at least one characteristic information of described first preview image;
Based at least one characteristic information described, from described second image scene set of modes, determine that the present image scene mode of described first preview image is the first image scene pattern.
Alternatively, described processor is configured to:
Based on the described first image scene pattern that described first preview image is corresponding, adjust the functional module relevant at least one parameter described, to make each parameter after adjustment and described first image scene patterns match.
Three, the embodiment of the present application additionally provides a kind of electronic equipment, comprising:
First obtains unit, for obtaining the first preview image;
Second obtains unit, obtains at least one parameter at least one sensor by described electronic equipment;
3rd obtains unit, based at least one parameter described, and comprises the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
First recognition unit, identifies described first preview image based on described second image scene set of modes.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
In the technical scheme of the application, obtain at least one parameter by least one sensor of electronic equipment; Based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M; Based on described second image scene set of modes, described first preview image is identified.That is, after obtaining at least one parameter by least one sensor, from current image scene pattern, some image scene patterns are weeded out based on these parameters.Then, the image scene pattern based on remainder carries out image recognition to the first preview image, thus accelerates the identification of electronic equipment to the image scene pattern of the first preview image.So, achieve the technique effect that the recognition efficiency of image recognition is high.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described by the accompanying drawing used required in describing embodiment below, apparently, the accompanying drawing in the following describes is only some embodiments of the present invention.
The process flow diagram of a kind of information processing method that Fig. 1 provides for the embodiment of the present application one;
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;
In a kind of information processing method that Fig. 3 provides for the embodiment of the present application one when at least one sensor described is specially light sensor and direction sensor the method flow diagram of step S103;
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;
The structured flowchart of a kind of electronic equipment that Fig. 5 provides for the embodiment of the present application two;
The structured flowchart of a kind of electronic equipment that Fig. 6 provides for the embodiment of the present application three.
Embodiment
The embodiment of the present application provides a kind of information processing method and electronic equipment, there is image recognition processes technical matters comparatively consuming time, achieving the technique effect that the recognition efficiency of image recognition is high for solving in prior art.
Technical scheme in the embodiment of the present application is solve above-mentioned technical matters, and general thought is as follows:
Obtain the first preview image;
At least one parameter is obtained by least one sensor of electronic equipment;
Based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
Based on described second image scene set of modes, described first preview image is identified.
In the technical scheme of the application, obtain at least one parameter by least one sensor of electronic equipment; Based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M; Based on described second image scene set of modes, described first preview image is identified.That is, after obtaining at least one parameter by least one sensor, from current image scene pattern, some image scene patterns are weeded out by these parameters.Then, the image scene pattern based on remainder carries out image recognition to the first preview image, thus accelerates the identification of electronic equipment to the image scene pattern of the first preview image.So, achieve the technique effect that the recognition efficiency of image recognition is high.
Term "and/or" herein, being only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, when not illustrating, general expression forward-backward correlation is to the relation liking a kind of "or".
In order to better understand technique scheme, below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, the specific features being to be understood that in the embodiment of the present application and embodiment is the detailed description to technical solution of the present invention, instead of the restriction to technical solution of the present invention, when not conflicting, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
Embodiment one
Please refer to Fig. 1, the embodiment of the present application one provides a kind of information processing method, comprising:
S101: obtain the first preview image;
S102: obtain at least one parameter by least one sensor of electronic equipment;
S103: based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
S104: described first preview image is identified based on described second image scene set of modes.
In specific implementation process, the specific implementation process of step S101 to step S104 is as follows:
First, the first preview image is obtained by described electronic equipment; Such as, user opens the camera function of smart mobile phone, carries out preview to current image to be collected.In the embodiment of the present application, in order to ensure that electronic equipment can select suitable screening-mode automatically based on current photographed scene.In specific implementation process, before image recognition is carried out to described first preview image, first, obtain at least one parameter by least one sensor of described electronic equipment.Then, based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern.Such as, the 10 kinds of image scene patterns that prestored of described electronic equipment, such as: moving scene pattern, night scene scene mode, seabeach scene mode, etc.From these 10 kinds of image scene patterns, 4 kinds of image scene patterns are weeded out after obtaining at least one parameter based at least one sensor described.Now, 6 kinds of image scene set of modes in these 10 kinds of image scene patterns except these 4 kinds of image scene patterns will be obtained.Then, these the 6 kinds of image scene patterns based on remainder identify described first preview image.After determining the image scene pattern that described first preview image is taken, just can control described electronic equipment based on the first preview image described in current image scene type collection.
In the embodiment of the present application, the sensor be arranged in described electronic equipment can be one or more, will obtain different parameter informations for each sensor.In specific implementation process, step S102: obtain at least one parameter by least one sensor of electronic equipment, be specially:
The first brightness value of the brightness value for characterizing environment residing for described electronic equipment is obtained by the light sensor in described electronic equipment; And/or,
The first temperature value of the temperature value for characterizing environment residing for described electronic equipment is obtained by the temperature sensor in described electronic equipment; And/or,
The first party parallactic angle for characterizing described electronic equipment orientation values is obtained by the direction sensor in described electronic equipment.
In specific implementation process, step S102 specifically can have following several way of realization, but is not limited only to following several implementation.
The first way of realization
When at least one sensor described is light sensor, obtained the first brightness value of the brightness value for characterizing environment residing for described electronic equipment by described light sensor.In specific implementation process, to the image to be collected that the detection of the brightness value of environment residing for described electronic equipment can also be gathered by the imageing sensor in described electronic equipment, the gray-scale value of this image to be collected is processed accordingly, determines the brightness value of environment residing for described electronic equipment further.That is, in the embodiment of the present application, the light conditions of environment residing for described electronic equipment can be detected by sensor, and then determine the environment bright-dark degree residing for described electronic equipment.Because image scene pattern corresponding under being in different brightness value at described electronic equipment is likely different.Such as, when brightness value is 2, residing for described electronic equipment, ambient light is comparatively dark, and user can not use described electronic equipment to carry out image acquisition under " auto heterodyne " scene mode usually.
Such as, arrange a light sensor in mobile phone, when camera function preview image opened by mobile phone, mobile phone is by this light sensor of startup, and this light sensor is by the brightness values in environment residing for this mobile phone of real-time acquisition.Such as, present intensity value is 7.Certainly, for a person skilled in the art, other means can also be adopted to detect the brightness value of environment residing for described electronic equipment, just differing at this one schematically illustrates.
The second way of realization
When at least one sensor described is temperature sensor, obtained the first temperature value of the temperature value for characterizing environment residing for described electronic equipment by the temperature sensor in described electronic equipment.Such as, when camera function preview image opened by mobile phone, mobile phone is by this temperature sensor of startup, and this temperature sensor is by the temperature information in environment residing for this mobile phone of real-time acquisition.Because image scene pattern corresponding under different temperatures information is likely different, such as, below zero degrees celsius, described electronic equipment just can collect the image under " snow scenes " this scene mode.When temperature value is in 40 degrees Celsius, described electronic equipment cannot collect the image under " snow scenes " this scene mode usually.
The third way of realization
When at least one sensor described is direction sensor, obtain the first party parallactic angle for characterizing described electronic equipment orientation values by the direction sensor in described electronic equipment.Such as, can the angle obtained by the gravity sensor in described electronic equipment between described electronic equipment display screen and surface level it be 30 °.In specific implementation process, those skilled in the art can also use different sensors to obtain the angle between described electronic equipment display screen and surface level as required, such as, it can be gyroscope, can be acceleration transducer, etc., just do not repeat one by one at this.The image scene pattern corresponding under different position angles due to described electronic equipment is likely different, such as, when the angle of described electronic equipment and surface level is 45 °, the angle of depression, user can not use " sky " this scene mode of described electronic equipment to go to gather image usually.When the angle of described electronic equipment and surface level is 130 °, the elevation angle, user can not use described electronic equipment to remove to collect the image of " setting sun " this scene mode usually.
4th kind of implementation
When the number of at least one sensor described is multiple, such as, at least one sensor described comprises light sensor and temperature sensor, then step S102 can be specifically, obtained the brightness value of environment residing for described electronic equipment by light sensor, and obtain the temperature value of environment residing for described electronic equipment by temperature sensor.That is, now, the sensor in described electronic equipment by acquisition brightness value and temperature value at interior parameter information.
Based on the 4th kind of mode that implementation is identical, can also be obtain parameter information by light sensor and direction sensor; Also can be obtain parameter information by temperature sensor and direction sensor.Certainly, can also be simultaneously in conjunction with light sensor, temperature sensor, direction sensor to obtain corresponding parameter information.In addition, for a person skilled in the art, the first infrared mumber value of the infrared mumber for characterizing environment residing for described electronic equipment can also be obtained by the infrared sensor in described electronic equipment.Certainly, corresponding parameter information can also be obtained by other sensor, just not repeat one by one at this.
In the embodiment of the present application, please refer to Fig. 2, step S103: based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, specifically comprise:
S201: based on the first corresponding relation between at least one parameter described and image scene pattern, obtain from described M kind image scene pattern except with the described N kind image scene pattern except at least one parameter described at least one image scene pattern unmatched;
S202: obtain the described second image scene set of modes comprising described N kind image scene pattern with at least one parameter matching described.
In specific implementation process, the specific implementation process of step S201 to step S202 is as follows:
First, based on the first corresponding relation between at least one parameter described and image scene pattern, obtain from described M kind image scene pattern except with the described N kind image scene pattern except at least one parameter described at least one image scene pattern unmatched; Then, the described second image scene set of modes comprising described N kind image scene pattern with at least one parameter matching described is obtained.Give a concrete illustration, when described electronic equipment gathers described first preview image, and the brightness value detected by light sensor is when showing that described electronic equipment is current and being in night-environment, have " portrait scene mode " with the unmatched image scene pattern of present intensity value, " landscape scene mode ", " single self-timer mode ".After this in image scene pattern three kinds of scene modes are weeded out, obtain " the pyrotechnics scene mode " that mate with present intensity value, " candlelight scene mode ", " setting sun scene mode " these three kinds of scene modes.
In the embodiment of the present application, can by least one sensor described obtain parameter information corresponding to described first preview image image scene pattern screen.Specifically, when at least one sensor is specially light sensor and direction sensor, please refer to Fig. 3, step S103: based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, specifically comprise:
S301: based on the second corresponding relation between brightness value and image scene pattern, obtain from described M kind image scene set of modes and mate the 3rd image scene set of modes with described first brightness value, wherein, described 3rd image scene set of modes comprises L kind image scene pattern, L for being not less than N, and is not more than the positive integer of M;
S302: based on the 3rd corresponding relation between orientation values and image scene pattern, the described second image scene set of modes of mating with described first party parallactic angle is obtained from described 3rd image scene set of modes, wherein, described second image scene set of modes comprises described N kind image scene pattern.
In specific implementation process, the specific implementation process of step S301 to step S302 is as follows:
First, based on the second corresponding relation between brightness value and image scene pattern, obtain the 3rd image scene set of modes of mating with described first brightness value from described M kind image scene set of modes; Then, based on the 3rd corresponding relation between orientation values and image scene pattern, from described 3rd image scene set of modes, obtain the described second image scene set of modes of mating with described first party parallactic angle.Still with the corresponding relation between the brightness value of above-mentioned acquisition and image scene pattern, " the pyrotechnics scene mode " that mate with present intensity value determined, " candlelight scene mode ", " setting sun scene mode " these three kinds of scene modes are example, when detecting that the angle of described electronic equipment and surface level is 130 ° of elevations angle, then from these three kinds of scene modes, filter out " pyrotechnics scene mode " and " candlelight scene mode " these two kinds of scene modes.For another example, in conjunction with brightness value and these two kinds of parameter informations of temperature value, the scene mode mated with described first preview image is screened.When detecting that the current residing ambient temperature value of described electronic equipment is 37 degrees Celsius, then from " pyrotechnics scene mode ", " candlelight scene mode ", " setting sun scene mode " these three kinds of scene modes filter out " pyrotechnics scene mode " and " candlelight scene mode ".Further, directly for these the two kinds of scene modes after screening, image recognition is carried out to described first preview image, effectively reduce the spent duration of image recognition.
Certainly, in the embodiment of the present application, the scene mode that the multiple parameter values that can also obtain in conjunction with multiple sensor mate with described first preview image screens, and just differing at this one schematically illustrates.
In the embodiment of the present application, please refer to Fig. 4, step S104: based on described second image scene set of modes, described first preview image is identified, specifically comprise:
S401: at least one characteristic information extracting described first preview image;
S402: based at least one characteristic information described, determines that from described second image scene set of modes the present image scene mode of described first preview image is the first image scene pattern.
In specific implementation process, the specific implementation process of step S401 to step S402 is as follows:
After filtering out the likely affiliated image scene set of modes of described first preview image, first, extract at least one characteristic information in described first preview image; Such as, " color background is blue ", " positional information constantly changes ", " appearance profile is a car shaped ", etc.Then, based at least one characteristic information described, from described second image scene set of modes, determine that the present image scene mode of described first preview image is the first image scene pattern.Such as, be specially " pyrotechnics scene mode " in described second image scene set of modes, " candlelight scene mode ", and the characteristic information extracted is " umbrella ", time " upward movement ", then the present image scene mode of described first preview image is " pyrotechnics scene mode ".For another example, the figure ground color extracted for described first preview image has " blueness ", " white ", features such as " greens ".Then from described second image scene set of modes, determine that the image scene pattern of mating with these characteristic informations is " landscape scene mode ", " sending scene mode ", " current scene mode ".Then, further image recognition is done to these scene modes, and then determine the current scene pattern of described first preview image.
In the embodiment of the present application, in step S402: based at least one characteristic information described, determine that the present image scene mode of described first preview image is the first image scene pattern from described second image scene set of modes after, described method also comprises:
Based on the described first image scene pattern that described first preview image is corresponding, adjust the functional module relevant at least one parameter described, to make each parameter after adjustment and described first image scene patterns match.
In specific implementation process, in order to ensure the better shooting effect of described electronic equipment to present preview image.After determining that the present image scene mode of described first preview image is the first image scene pattern, by adjusting the parameter of the corresponding function module in described electronic equipment, to ensure the collection effect of described electronic equipment to present preview image.Such as, after determining that the current image scene pattern of described first preview image is specially " landscape scene mode ", because the brightness value detected by light sensor is lower, when the current residing ambient light of described electronic equipment is darker, automatically can open flashlamp to assist the collection to present preview image.
Embodiment two
Please refer to Fig. 5, based on the inventive concept same with embodiment one, the embodiment of the present application additionally provides a kind of electronic equipment, 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, processor 30 is configured to:
Based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
Based on described second image scene set of modes, described first preview image is identified.
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, the first brightness value of the brightness value for characterizing environment residing for described electronic equipment is obtained by described light sensor; The first temperature value of the temperature value for characterizing environment residing for described electronic equipment is obtained by described temperature sensor; The first party parallactic angle for characterizing described electronic equipment orientation values is obtained by described direction sensor.
In the embodiment of the present application, processor 30 is configured to:
Based on the first corresponding relation between at least one parameter described and image scene pattern, obtain from described M kind image scene pattern except with the described N kind image scene pattern except at least one parameter described at least one image scene pattern unmatched;
Obtain the described second image scene set of modes comprising described N kind image scene pattern with at least one parameter matching described.
In the embodiment of the present application, processor 30 is configured to:
Based on the second corresponding relation between brightness value and image scene pattern, obtain from described M kind image scene set of modes and mate the 3rd image scene set of modes with described first brightness value, wherein, described 3rd image scene set of modes comprises L kind image scene pattern, L for being not less than N, and is not more than the positive integer of M;
Based on the 3rd corresponding relation between orientation values and image scene pattern, the described second image scene set of modes of mating with described first party parallactic angle is obtained from described 3rd image scene set of modes, wherein, described second image scene set of modes comprises described N kind image scene pattern.
In the embodiment of the present application, processor 30 is configured to:
Extract at least one characteristic information of described first preview image;
Based at least one characteristic information described, from described second image scene set of modes, determine that the present image scene mode of described first preview image is the first image scene pattern.
In the embodiment of the present application, processor 30 is configured to:
Based on the described first image scene pattern that described first preview image is corresponding, adjust the functional module relevant at least one parameter described, to make each parameter after adjustment and described first image scene patterns match.
Embodiment three
Please refer to Fig. 6, based on the inventive concept that the embodiment of the present application one is same, the embodiment of the present application additionally provides a kind of electronic equipment, comprising:
First obtains unit 40, for obtaining the first preview image;
Second obtains unit 50, obtains at least one parameter at least one sensor by described electronic equipment;
3rd obtains unit 60, based at least one parameter described, and comprises the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
First recognition unit 70, identifies described first preview image based on described second image scene set of modes.
In the embodiment of the present application, second obtain unit 50 specifically for:
The first brightness value of the brightness value for characterizing environment residing for described electronic equipment is obtained by the light sensor in described electronic equipment; And/or,
The first temperature value of the temperature value for characterizing environment residing for described electronic equipment is obtained by the temperature sensor in described electronic equipment; And/or,
The first party parallactic angle for characterizing described electronic equipment orientation values is obtained by the direction sensor in described electronic equipment.
In the embodiment of the present application, the 3rd acquisition unit 60 specifically comprises:
First obtains module, based on the first corresponding relation between at least one parameter described and image scene pattern, obtain from described M kind image scene pattern except with the described N kind image scene pattern except at least one parameter described at least one image scene pattern unmatched;
Second obtains module, for obtaining the described second image scene set of modes comprising described N kind image scene pattern with at least one parameter matching described.
In the embodiment of the present application, the 3rd acquisition unit 60 specifically comprises:
3rd obtains module, based on the second corresponding relation between brightness value and image scene pattern, obtain from described M kind image scene set of modes and mate the 3rd image scene set of modes with described first brightness value, wherein, described 3rd image scene set of modes comprises L kind image scene pattern, L for being not less than N, and is not more than the positive integer of M;
4th obtains module, based on the 3rd corresponding relation between orientation values and image scene pattern, the described second image scene set of modes of mating with described first party parallactic angle is obtained from described 3rd image scene set of modes, wherein, described second image scene set of modes comprises described N kind image scene pattern.
In the embodiment of the present application, the first recognition unit 70 specifically comprises:
First extraction module, for extracting at least one characteristic information of described first preview image;
First determination module, based at least one characteristic information described, determines that from described second image scene set of modes the present image scene mode of described first preview image is the first image scene pattern.
In the embodiment of the present application, described based at least one characteristic information described, determine that the present image scene mode of described first preview image is the first image scene pattern from described second image scene set of modes after, described electronic equipment also comprises:
First adjustment unit, based on the described first image scene pattern that described first preview image is corresponding, adjusts the functional module relevant at least one parameter described, to make each parameter after adjustment and described first image scene patterns match.
By the one or more technical schemes in the embodiment of the present application, following one or more technique effect can be realized:
In the technical scheme of the application, obtain at least one parameter by least one sensor of electronic equipment; Based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M; Based on described second image scene set of modes, described first preview image is identified.That is, after obtaining at least one parameter by least one sensor, from current image scene pattern, some image scene patterns are weeded out by these parameters.Then, the image scene pattern based on remainder carries out image recognition to the first preview image, thus accelerates the identification of electronic equipment to the image scene pattern of the first preview image.So, achieve the technique effect that the recognition efficiency of image recognition is high.
In the technical scheme of the application, based on the second image scene set of patterns after screening is incompatible, described first preview image is identified.Particularly, based at least one characteristic information extracted in described first preview image, and then from described second image scene set of modes, determine that the present image scene mode of described first preview image is the first image scene pattern.That is, directly for the second image scene set of patterns after screening is incompatible, feature identification is carried out to described first preview image, thus add the accuracy to characteristic information identification, ensure that the accuracy of image recognition result.
In the technical scheme of the application, due to after determine that the present image scene of described first preview image is the first scene mode from described second image scene set of modes, adjust the functional module relevant at least one parameter described, to make each parameter after adjustment and described first image scene patterns match.Thus ensure that described electronic equipment for preview image gather acquisition image there is good image effect, enhance Consumer's Experience.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, the computer program instructions that information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, read by an electronic equipment when the computer program instructions corresponding with information processing method in storage medium or when being performed, comprise the steps:
Obtain the first preview image;
At least one parameter is obtained by least one sensor of electronic equipment;
Based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
Based on described second image scene set of modes, described first preview image is identified.
Alternatively, store in described storage medium and step, describedly obtain at least one parameter by least one sensor in electronic equipment, corresponding computer program instructions, when being performed, is specially:
The first brightness value of the brightness value for characterizing environment residing for described electronic equipment is obtained by the light sensor in described electronic equipment; And/or,
The first temperature value of the temperature value for characterizing environment residing for described electronic equipment is obtained by the temperature sensor in described electronic equipment; And/or,
The first party parallactic angle for characterizing described electronic equipment orientation values is obtained by the direction sensor in described electronic equipment.
Alternatively, that store in described storage medium and step, described based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, corresponding computer program instructions, when being performed, specifically comprises:
Based on the first corresponding relation between at least one parameter described and image scene pattern, obtain from described M kind image scene pattern except with the described N kind image scene pattern except at least one parameter described at least one image scene pattern unmatched;
Obtain the described second image scene set of modes comprising described N kind image scene pattern with at least one parameter matching described.
Alternatively, that store in described storage medium and step, described based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, corresponding computer program instructions, when being performed, specifically comprises:
Based on the second corresponding relation between brightness value and image scene pattern, obtain from described M kind image scene set of modes and mate the 3rd image scene set of modes with described first brightness value, wherein, described 3rd image scene set of modes comprises L kind image scene pattern, L for being not less than N, and is not more than the positive integer of M;
Based on the 3rd corresponding relation between orientation values and image scene pattern, the described second image scene set of modes of mating with described first party parallactic angle is obtained from described 3rd image scene set of modes, wherein, described second image scene set of modes comprises described N kind image scene pattern.
Alternatively, store in described storage medium and step, describedly identify described first preview image based on described second image scene set of modes, corresponding computer program instructions, when being performed, specifically comprises:
Extract at least one characteristic information of described first preview image;
Based at least one characteristic information described, from described second image scene set of modes, determine that the present image scene mode of described first preview image is the first image scene pattern.
Alternatively, that store in described storage medium and step, described based at least one characteristic information described, determine that the present image scene mode of described first preview image is the first image scene pattern from described second image scene set of modes after, corresponding computer program instructions is when being performed, and described method also comprises:
Based on the described first image scene pattern that described first preview image is corresponding, adjust the functional module relevant at least one parameter described, to make each parameter after adjustment and described first image scene patterns match.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if of the present invention these amendment and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (13)

1. an 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 parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
Based on described second image scene set of modes, described first preview image is identified.
2. the method for claim 1, is characterized in that, describedly obtains at least one parameter by least one sensor in electronic equipment, is specially:
The first brightness value of the brightness value for characterizing environment residing for described electronic equipment is obtained by the light sensor in described electronic equipment; And/or,
The first temperature value of the temperature value for characterizing environment residing for described electronic equipment is obtained by the temperature sensor in described electronic equipment; And/or,
The first party parallactic angle for characterizing described electronic equipment orientation values is obtained by the direction sensor in described electronic equipment.
3. method as claimed in claim 2, it is characterized in that, described based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, specifically comprise:
Based on the first corresponding relation between at least one parameter described and image scene pattern, obtain from described M kind image scene pattern except with the described N kind image scene pattern except at least one parameter described at least one image scene pattern unmatched;
Obtain the described second image scene set of modes comprising described N kind image scene pattern with at least one parameter matching described.
4. method as claimed in claim 3, it is characterized in that, described based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, specifically comprise:
Based on the second corresponding relation between brightness value and image scene pattern, obtain from described M kind image scene set of modes and mate the 3rd image scene set of modes with described first brightness value, wherein, described 3rd image scene set of modes comprises L kind image scene pattern, L for being not less than N, and is not more than the positive integer of M;
Based on the 3rd corresponding relation between orientation values and image scene pattern, the described second image scene set of modes of mating with described first party parallactic angle is obtained from described 3rd image scene set of modes, wherein, described second image scene set of modes comprises described N kind image scene pattern.
5. the method as described in claim as arbitrary in claim 1-4, is characterized in that, describedly identifies described first preview image based on described second image scene set of modes, specifically comprises:
Extract at least one characteristic information of described first preview image;
Based at least one characteristic information described, from described second image scene set of modes, determine that the present image scene mode of described first preview image is the first image scene pattern.
6. method as claimed in claim 5, it is characterized in that, described based at least one characteristic information described, determine that the present image scene mode of described first preview image is the first image scene pattern from described second image scene set of modes after, described method also comprises:
Based on the described first image scene pattern that described first preview image is corresponding, adjust the functional module relevant at least one parameter described, to make each parameter after adjustment and described first image scene patterns match.
7. an 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 units and at least one sensor described; Wherein, described processor is configured to:
Based at least one parameter described, and comprise the first image scene set of modes of M kind image scene pattern, obtain and comprise the second image scene set of modes of N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
Based on described second image scene set of modes, described first preview image is identified.
8. electronic equipment as claimed in claim 7, it is characterized in that, at least one sensor described is specially light sensor, and/or, temperature sensor, and/or, direction sensor; Wherein, the first brightness value of the brightness value for characterizing environment residing for described electronic equipment is obtained by described light sensor; The first temperature value of the temperature value for characterizing environment residing for described electronic equipment is obtained by described temperature sensor; The first party parallactic angle for characterizing described electronic equipment orientation values is obtained by described direction sensor.
9. electronic equipment as claimed in claim 8, it is characterized in that, described processor is configured to:
Based on the first corresponding relation between at least one parameter described and image scene pattern, obtain from described M kind image scene pattern except with the described N kind image scene pattern except at least one parameter described at least one image scene pattern unmatched;
Obtain the described second image scene set of modes comprising described N kind image scene pattern with at least one parameter matching described.
10. electronic equipment as claimed in claim 9, it is characterized in that, described processor is configured to:
Based on the second corresponding relation between brightness value and image scene pattern, obtain from described M kind image scene set of modes and mate the 3rd image scene set of modes with described first brightness value, wherein, described 3rd image scene set of modes comprises L kind image scene pattern, L for being not less than N, and is not more than the positive integer of M;
Based on the 3rd corresponding relation between orientation values and image scene pattern, the described second image scene set of modes of mating with described first party parallactic angle is obtained from described 3rd image scene set of modes, wherein, described second image scene set of modes comprises described N kind image scene pattern.
Electronic equipment as described in 11. claims as arbitrary in claim 7-10, it is characterized in that, described processor is configured to:
Extract at least one characteristic information of described first preview image;
Based at least one characteristic information described, from described second image scene set of modes, determine that the present image scene mode of described first preview image is the first image scene pattern.
12. electronic equipments as claimed in claim 11, it is characterized in that, described processor is configured to:
Based on the described first image scene pattern that described first preview image is corresponding, adjust the functional module relevant at least one parameter described, to make each parameter after adjustment and described first image scene patterns match.
13. 1 kinds of electronic equipments, comprising:
First obtains unit, for obtaining the first preview image;
Second obtains unit, obtains at least one parameter at least one sensor by described electronic equipment;
3rd obtains unit, based at least one parameter described, and comprises the first image scene set of modes of M kind image scene pattern, obtain the second image scene set of modes comprising N kind image scene pattern, wherein, M be more than or equal to 2 integer, N is the positive integer being less than M;
First recognition unit, identifies described first preview image based on described second image scene set of modes.
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 true CN105447460A (en) 2016-03-30
CN105447460B 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)

Cited By (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 (7)

* 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
US20140086486A1 (en) * 2012-09-21 2014-03-27 Bruce Harold Pillman Adjusting the sharpness of a digital image
CN103716527A (en) * 2012-09-29 2014-04-09 浙江大华技术股份有限公司 Method and equipment for determining working mode of camera equipment

Patent Citations (7)

* 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
US20140086486A1 (en) * 2012-09-21 2014-03-27 Bruce Harold Pillman Adjusting the sharpness of a digital image
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

Cited By (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

Also Published As

Publication number Publication date
CN105447460B (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN105580348B (en) Photographic device and image capture method
WO2022000992A1 (en) Photographing method and apparatus, electronic device, and storage medium
JP5776903B2 (en) Image processing apparatus, image processing method, and program
CN104580878A (en) Automatic effect method for photography and electronic apparatus
US8200019B2 (en) Method and system for automatically extracting photography information
US20110090345A1 (en) Digital camera, image processing apparatus, and image processing method
JP2016151955A (en) Image processing apparatus, imaging device, distance measuring device, and image processing method
KR20200101741A (en) An electronic dievice applying bokeh effect to image and controlling method thereof
US9894285B1 (en) Real-time auto exposure adjustment of camera using contrast entropy
CN104793742B (en) Shooting preview method and device
JP2009500977A (en) Improved system and method for displaying image focus information on a viewfinder
US20160104291A1 (en) Image refocusing
CN103188434A (en) Method and device of image collection
CN105262948A (en) Panorama capturing method and mobile terminal
CN108616687B (en) Photographing method and device and mobile terminal
JP2014146989A (en) Image pickup device, image pickup method, and image pickup program
CN111787230A (en) Image display method and device and electronic equipment
CN104535178A (en) Light strength value detecting method and terminal
CN105872194A (en) Image acquisition method and device for terminal
CN103942523A (en) Sunshine scene recognition method and device
CN107295255B (en) Shooting mode determining method and device and terminal
CN105447460A (en) Information processing method and electronic equipment
CN110533019B (en) License plate positioning method and device and storage medium
WO2023071933A1 (en) Camera photographing parameter adjustment method and apparatus and electronic device
CN105791689A (en) Image processing method and image processing device

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