CN107172345A - A kind of image processing method and terminal - Google Patents
A kind of image processing method and terminal Download PDFInfo
- Publication number
- CN107172345A CN107172345A CN201710226811.7A CN201710226811A CN107172345A CN 107172345 A CN107172345 A CN 107172345A CN 201710226811 A CN201710226811 A CN 201710226811A CN 107172345 A CN107172345 A CN 107172345A
- Authority
- CN
- China
- Prior art keywords
- camera
- resolution ratio
- image
- frame per
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of image processing method and terminal, wherein method includes:If detecting third-party application starts camera application, camera is set to call mode of operation;Call the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio that the current frame per second and resolution ratio of the camera is set according to described;Wherein, the lower limit of the preset frame rate scope is more than initial setting up frame per second, and the pre-set image resolution ratio is less than initial setting up resolution ratio;The camera is controlled to carry out IMAQ according to the current frame per second of the camera and resolution ratio, in order to which the third-party application carries out respective handling according to the image of collection.Terminal of the embodiment of the present invention is favorably improved detection accuracy and the sensitivity of the third-party application based on camera detection technique, and reduces power consumption.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of image processing method and terminal.
Background technology
Image recognition technology, is the object classification in resolution image, makes significant judgement.The identification of object is referred mainly to
Be objective and environment perception and understanding to three-dimensional world, belong to senior computer vision category, it is with digitized map
As the research direction of the subjects such as combination artificial intelligence, the systematics based on processing and identification.Wherein, real time video image is recognized
As one kind of image recognition technology, its be included in the detection that moving target is automatically carried out in sequence of video images, target with
Content in terms of track, target classification and behavior understanding.
At present, the algorithm of real time video image identification and research are used in many fields, for example, for mobile phone etc.
For mobile terminal device, camera typically only configuration take pictures, preview and record a video three groups of different resolutions configuration, and for based on
The third-party application of camera detection technique, such as, obtain real time video image using camera, object detected from image
Body, and according to the result of detection, for intelligent control, it requires the accuracy and real-time of testing result.But it is existing
Scheme have a disadvantage that:(1) video image frame per second is low, and when detecting moving object, camera, which obtains image, serious smear,
Easily judge by accident, and testing result sensitivity is not high;(2) mobile telephone power consumption is larger.
The content of the invention
The embodiment of the present invention provides a kind of image processing method and terminal, is favorably improved based on camera detection technique
The detection accuracy of third-party application and sensitivity, and reduce power consumption.
In a first aspect, the embodiments of the invention provide a kind of image processing method, described image processing method includes:
If detecting third-party application starts camera application, camera is set to call mode of operation;
Call the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio that the shooting is set according to described
Current frame per second and resolution ratio;Wherein, the lower limit of the preset frame rate scope is more than initial setting up frame per second, described default
Image resolution ratio is less than initial setting up resolution ratio;
The camera is controlled to carry out IMAQ according to the current frame per second of the camera and resolution ratio, in order to described
Third-party application carries out respective handling according to the image of collection.
On the other hand, the embodiments of the invention provide a kind of terminal, the terminal includes:
First setting unit, if starting camera application for detecting third-party application, camera is set to adjust
Use mode of operation;
Second setting unit, for calling the corresponding preset frame rate scope of mode of operation and pre-set image point according to
Resolution sets the current frame per second and resolution ratio of the camera;Wherein, the lower limit of the preset frame rate scope is more than initial
Frame per second is set, and the pre-set image resolution ratio is less than initial setting up resolution ratio;
Control unit, is adopted for controlling the camera to carry out image according to the current frame per second of the camera and resolution ratio
Collection, in order to which the third-party application carries out respective handling according to the image of collection.
If the embodiment of the present invention starts camera application by detecting third-party application, camera is set to call
Mode of operation, and according to calling the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio to set camera current
Frame per second and resolution ratio;Wherein, the lower limit of preset frame rate scope is more than initial setting up frame per second, and pre-set image resolution ratio is less than
Initial setting up resolution ratio, and IMAQ is carried out according to the current frame per second of camera and resolution ratio control camera, in order to the
Tripartite applies carries out respective handling according to the image of collection, is realized with this when third-party application calls camera, using high frame
The configuration control camera of rate, low resolution, so as to be favorably improved the inspection of the third-party application based on camera detection technique
Accuracy and sensitivity are surveyed, and reduces power consumption.
Brief description of the drawings
Technical scheme, is used required in being described below to embodiment in order to illustrate the embodiments of the present invention more clearly
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram for image processing method that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow diagram for image processing method that the embodiment of the present invention two is provided;
Fig. 3 is a kind of schematic block diagram for terminal that the embodiment of the present invention three is provided;
Fig. 4 is a kind of schematic block diagram for terminal that the embodiment of the present invention four is provided;
Fig. 5 is a kind of schematic block diagram for terminal that the embodiment of the present invention five is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " indicates described spy
Levy, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use such as touch sensitive surface at least one is public
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It is a kind of schematic flow diagram for image processing method that the embodiment of the present invention one is provided referring to Fig. 1.In the present embodiment
The executive agent of image processing method is terminal, and the terminal can be the mobile terminals such as mobile phone, tablet personal computer.As shown in Figure 1
The image processing method may include following steps:
S101:If detecting third-party application starts camera application, camera is set to call mode of operation.
Wherein, in embodiments of the present invention, third-party application is primarily directed to need startup camera progress image to catch
Image procossing, and then the terminal applies accordingly controlled according to result such as catch or gather, can be dynamic based on camera
Identification technology of making a sign with the hand application, intelligent bright screen function, picture library application gesture such as terminal slide browsing pictures.
In addition, third-party application can start camera application by way of user triggers, can also entered
Terminal actively starts camera application during tripartite's application interface.When third-party application starts camera by way of user triggers
Using when, terminal need detect user whether trigger start camera application predetermined registration operation, the predetermined registration operation be user behaviour
Make operation during terminal screen, it includes but is not limited to user and clicks on terminal screen, touch terminal screen, slides to the left, to the right
The operation such as slip.
Further, when terminal, which detects third-party application startup camera, to be applied, terminal recognition goes out current camera
In called state, then now camera is set to call mode of operation by terminal, described herein to call mode of operation master
If in order to which the basic working modes with camera are distinguish between, the basic working modes of camera are referred to when user directly opens
During the camera function of dynamic terminal, the mode of operation of camera, the mode of operation is including taking pictures, three Working moulds of preview and video recording
Formula.
S102:Called according to described described in the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio sets
Camera current frame per second and resolution ratio;Wherein, the lower limit of the preset frame rate scope is more than initial setting up frame per second, described
Pre-set image resolution ratio is less than initial setting up resolution ratio.
Wherein, in embodiments of the present invention, when camera, which is in, calls mode of operation, terminal can be according to calling Working mould
The corresponding preset frame rate scope of formula and pre-set image resolution ratio set the current frame rate and resolution ratio of camera;Wherein, originally
Described initial setting up frame per second and initial setting up resolution ratio refer to that camera is operated in basic working modes in inventive embodiments
Under frame per second and resolution ratio, i.e. initial setting up frame per second and initial setting up resolution ratio is user when directly initiating camera function, shooting
The corresponding frame per second of head mode of operation and resolution ratio.
It should be noted that because when camera is operated in basic working modes, such as preview mode of operation, camera is needed
The image clearly captured is included on screen, therefore, terminal is needed preview resolution and screen resolution progress
Match somebody with somebody, and preview resolution now is higher, and based on the third-party application of camera detection technique, it is carrying out camera tune
Used time, because third-party application software need not include video image on screen, it is only necessary to the testing result of camera, enter
And intelligent control is realized according to testing result, therefore its need not very high image resolution ratio, therefore set and call in the present embodiment
The corresponding pre-set image resolution ratio of mode of operation is less than initial setting up resolution ratio, i.e., be operated in basic working modes less than camera
When resolution ratio, it is preferred that resolution ratio could be arranged to 640*480, and due to image resolution ratio reduction, then image data amount
Diminish, and then CPU usage is reduced, so that terminal overall power is reduced, and because image data amount diminishes effectively
Ground reduces the time of detection algorithm computing, and then quickly feeds back testing result, so as to improve detection sensitivity.
Further, since the number of image frames that camera is gathered in video image frame per second, that is, 1 second is to image detection result
Accuracy and real-time play the role of it is very big, therefore, in embodiments of the present invention, terminal set camera call mode of operation
The lower limit of corresponding frame per second scope is more than initial setting up frame per second, i.e., frame during basic working modes is operated in more than camera
Rate, it is preferred that frame per second scope can be 15 to 30 frame per second (Frames Per Second, FPS), such high frame per second can effectively disappear
Except the smear situation in real time video image gatherer process, prevent terminal from being judged by accident, and then improve the accurate of testing result
Property and sensitivity.
It should be noted that in embodiments of the present invention, the preset frame rate model called corresponding to mode of operation of camera
The collocation method enclosed with pre-set image resolution ratio is:Terminal drives layer to set one group of high frame per second according to the operational control of user, low
Resolution ratio (such as frame per second be 30FPS, resolution ratio is 640*480) parameter value as register configuration.When third party calls phase
During machine, camera selection from driving layer register configuration calls corresponding parameter as camera with third party and calls work
Parameter under operation mode;In addition, when camera is operated in basic working modes, the controllable driving layer of terminal configures three groups of differences
The parameter value of resolution ratio to be respectively used to take pictures, preview and video recording, is opened as the configuration of register when terminal detects user
When opening camera, then the ultimate resolution that terminal is supported from driving layer register reading preview, the configuration taken pictures or recorded a video
With the work of frame per second scope control camera.
S103:The camera is controlled to carry out IMAQ according to the current frame per second of the camera and resolution ratio, so as to
Respective handling is carried out according to the image of collection in the third-party application.
Wherein, in embodiments of the present invention, call under mode of operation, and be provided with when terminal sets camera to be operated in
Call under mode of operation after the current frame per second of camera and resolution ratio, camera can be operated according to the parameter after setting, right
Target image carries out IMAQ, and by the image feedback of collection to third-party application, in order to which third-party application is according to collection
Image carry out respective handling, the facial image control terminal that for example recognition of face unblock application is gathered according to camera is unlocked.
In embodiments of the present invention, if terminal starts camera application by detecting third-party application, by camera
It is set to call mode of operation, and according to calling the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio to set
Camera current frame per second and resolution ratio;Wherein, the lower limit of preset frame rate scope is more than initial setting up frame per second, pre-set image
Resolution ratio is less than initial setting up resolution ratio, and carries out image according to the current frame per second of camera and resolution ratio control camera and adopt
Collection, in order to which third-party application carries out respective handling according to the image of collection, is realized with this and calls camera in third-party application
When, camera is controlled using the configuration of high frame per second, low resolution, so as to be favorably improved the 3rd based on camera detection technique
Fang Yingyong detection accuracy and sensitivity, and reduce power consumption.
It is a kind of schematic flow diagram for image processing method that the embodiment of the present invention two is provided referring to Fig. 2.In the present embodiment
The executive agent of image processing method is terminal, and the terminal can be the mobile terminals such as mobile phone, tablet personal computer.As shown in Figure 2
The image processing method may include following steps:
S201:Obtain the exposure meter information for the camera being pre-configured with.
Wherein, in embodiments of the present invention, terminal is controllable drives layer by the exposure meter information for the camera being pre-configured with
Be stored in register, when terminal detect camera be operated in call under mode of operation when, terminal can obtain what is be pre-configured with
The exposure meter information of camera, wherein, exposure meter information includes time for exposure and sensitivity.The camera being pre-configured with
Exposure meter information can need to be configured according to user.
S202:The preset frame rate scope is set according to the exposure meter information.
Wherein, in embodiments of the present invention, after terminal obtains the exposure meter information of camera, terminal can be according to the exposure
Light table information is configured to frame per second scope.
Specifically, after terminal obtains the exposure meter information of camera, terminal can be according to the exposure in exposure meter information
Time is configured to preset frame rate scope, and such as time for exposure short then frame per second is than larger, and then frame per second is smaller for time for exposure length.
S203:If detecting third-party application starts camera application, camera is set to call mode of operation.
Wherein, in embodiments of the present invention, third-party application is primarily directed to need startup camera progress image to catch
Image procossing, and then the terminal applies being controlled according to result such as catch or gather, can be that hand is acted based on camera
Gesture identification technology application, intelligent bright screen function, picture library application gesture such as terminal slide browsing pictures.
In addition, third-party application can start camera application by way of user triggers, can also entered
Terminal actively starts camera application during tripartite's application interface.When third-party application starts camera by way of user triggers
Using when, terminal need detect user whether trigger start camera application predetermined registration operation, the predetermined registration operation be user behaviour
Make operation during terminal screen, it includes but is not limited to user and clicks on terminal screen, touch terminal screen, slides to the left, to the right
The operation such as slip.
Further, when terminal, which detects third-party application startup camera, to be applied, terminal recognition goes out current camera
In called state, then now camera is set to call mode of operation by terminal, described herein to call mode of operation master
If in order to which the basic working modes with camera are distinguish between, the basic working modes of camera are referred to when user directly opens
During the camera function of dynamic terminal, the mode of operation of camera, the mode of operation is including taking pictures, three Working moulds of preview and video recording
Formula.
S204:Called according to described described in the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio sets
Camera current frame per second and resolution ratio;Wherein, the lower limit of the preset frame rate scope is more than initial setting up frame per second, described
Pre-set image resolution ratio is less than initial setting up resolution ratio.
Wherein, in embodiments of the present invention, when camera, which is in, calls mode of operation, terminal can be according to calling Working mould
The corresponding preset frame rate scope of formula and pre-set image resolution ratio set the current frame rate and resolution ratio of camera;Wherein, originally
Described initial setting up frame per second and initial setting up resolution ratio refer to that camera is operated in basic working modes in inventive embodiments
Under frame per second and resolution ratio, i.e. initial setting up frame per second and initial setting up resolution ratio is user when directly initiating camera function, shooting
The corresponding frame per second of head mode of operation and resolution ratio.
It should be noted that because when camera is operated in basic working modes, such as preview mode of operation, camera is needed
The image clearly captured is included on screen, therefore, terminal is needed preview resolution and screen resolution progress
Match somebody with somebody, and preview resolution now is higher, and based on the third-party application of camera detection technique, it is carrying out camera tune
Used time, because third-party application software need not include video image on screen, it is only necessary to the testing result of camera, enter
And intelligent control is realized according to testing result, therefore its need not very high image resolution ratio, therefore set and call in the present embodiment
The corresponding pre-set image resolution ratio of mode of operation is less than initial setting up resolution ratio, i.e., be operated in basic working modes less than camera
When resolution ratio, it is preferred that resolution ratio could be arranged to 640*480, and due to image resolution ratio reduction, then image data amount
Diminish, and then CPU usage is reduced, so that terminal overall power is reduced, and because image data amount diminishes effectively
Ground reduces the time of detection algorithm computing, and then quickly feeds back testing result, so as to improve detection sensitivity.
Further, since the number of image frames that camera is gathered in video image frame per second, that is, 1 second is to image detection result
Accuracy and real-time play the role of it is very big, therefore, in embodiments of the present invention, terminal set camera call mode of operation
The lower limit of corresponding frame per second scope is more than initial setting up frame per second, i.e., frame during basic working modes is operated in more than camera
Rate, it is preferred that frame per second scope can be 15 to 30 frame per second (Frames Per Second, FPS), such high frame per second can effectively disappear
Except the smear situation in real time video image gatherer process, prevent terminal from being judged by accident, and then improve the accurate of testing result
Property and sensitivity.
It should be noted that in embodiments of the present invention, the preset frame rate model called corresponding to mode of operation of camera
The collocation method enclosed with pre-set image resolution ratio is:Terminal drives layer to set one group of high frame per second according to the operational control of user, low
Resolution ratio (such as frame per second be 30FPS, resolution ratio is 640*480) parameter value as register configuration.When third party calls phase
During machine, camera selection from driving layer register configuration calls corresponding parameter as camera with third party and calls work
Parameter under operation mode;In addition, when camera is operated in basic working modes, the controllable driving layer of terminal configures three groups of differences
The parameter value of resolution ratio to be respectively used to take pictures, preview and video recording, is opened as the configuration of register when terminal detects user
When opening camera, then the ultimate resolution that terminal is supported from driving layer register reading preview, the configuration taken pictures or recorded a video
With the work of frame per second scope control camera.
S205:The camera is controlled to carry out IMAQ according to the current frame per second of the camera and resolution ratio, so as to
Respective handling is carried out according to the image of collection in the third-party application.
Wherein, in embodiments of the present invention, call under mode of operation, and be provided with when terminal sets camera to be operated in
Call under mode of operation after the current frame per second of camera and resolution ratio, camera can be operated according to the parameter after setting, right
Target image carries out IMAQ, and by the image feedback of collection to third-party application, in order to which third-party application is according to collection
Image carry out respective handling, the facial image control terminal that for example recognition of face unblock application is gathered according to camera is unlocked.
Further, the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio is being called to set according to
Put after the current frame per second of the camera and resolution ratio, described image processing method also includes:
The monochrome information of current environment is obtained, current environment is identified according to the monochrome information;
If current environment is dark situation, increase the exposure bias value of the camera.
Wherein, in embodiments of the present invention, current environment refers to user's environment residing when opening third-party application,
And current environment is identified, it is:The terminal recognition user environment residing when opening third-party application is insufficient light
Environment, i.e. dark situation, or bright and clear environment, i.e. bright ring border.
Further, since the third-party application based on camera detection technique is very high to the accuracy requirement of detection, and detect
The degree of accuracy depend primarily on the quality of video image, and the image quality of video image has much relations with environment, in bright ring
Good imaging quality under border, camera detection algorithm can accurately judge according to object features, and under low-light (level) environment, due to light
Too dark, the video image matter that camera is collected is too dark, and seldom, it is directly influenced the effective information included in video image
The judgement of camera detection algorithm, therefore, when improving video image quality under dark situation, improves under main consideration dark situation and regards
The brightness of image of frequency image, and the present embodiment is bright by the imaging by the exposure bias value increase of camera to improve video image
Degree, it is preferred that the exposure bias value of camera can be set to maximum.
Further, after the exposure bias value of camera is adjusted under dark situation, then taken the photograph described in the basis
As the current frame per second of head and resolution ratio control the camera to carry out IMAQ, in order to which the third-party application is according to collection
Image carry out respective handling be specially:
The camera is controlled to enter according to the exposure bias value after the current frame per second of the camera, resolution ratio and regulation
Row IMAQ, in order to which the third-party application carries out respective handling according to the image of collection.
Wherein, in embodiments of the present invention, call under mode of operation, and be provided with when terminal sets camera to be operated in
Call under mode of operation after the current frame per second of camera, resolution ratio and exposure bias value, camera can be according to the ginseng after setting
Number is operated, and IMAQ is carried out to target image, and by the image feedback of collection to third-party application, in order to third party
Respective handling, the facial image control that for example recognition of face unblock application is gathered according to camera are carried out using according to the image of collection
Terminal unlocking processed.
Further, the monochrome information of current environment is obtained, tool current environment is identified according to the monochrome information
Body is:
The brightness value of the current environment is obtained, if the brightness value is less than default illumination threshold, current environment is recognized
For dark situation.
Wherein, in embodiments of the present invention, terminal can directly obtain current environment when current environment is identified
Brightness value, and then the brightness value got is judged, if the brightness value is less than default illumination threshold, recognize current environment
For dark situation, if the brightness value is more than default illumination threshold, identification current environment is bright ring border;Wherein, illumination threshold is preset
It can be configured as needed, it is preferred that default illumination threshold can be set to 5 Ke Lesi.
Further, the image processing method also includes:
If the current environment is dark situation, the current frame per second of the camera is set to the preset frame rate scope
Lower limit.
Wherein, in embodiments of the present invention, due under the dark situation of prior art, when being detected for third party, shooting
The frame per second of head is 10FPS or so, and it is for moving object, and the real time video image that camera is got has serious drag
The accuracy of shadow, easily influence testing result, and 10FPS frame per second also influences the real-time of picture catching, therefore, in this base
On plinth, the embodiment of the present invention increases the frame per second under dark situation, so can not only eliminate the smear of real time video image, and
Be conducive to the real-time of picture catching.
For example, in picture library, according to gesture moving direction, when browsing one or next pictures, because it is to utilize
The video image that camera is captured in real time, by several frame image datas of contact, judges the moving direction of gesture, and according to detection
As a result picture library is controlled to slide to Target Photo, and the image that camera is gathered under dark situation has serious smear, have impact on and take the photograph
As head detection algorithm judges, therefore, the function is somewhat partially under dark environment, using extremely inconvenient, and inventive embodiments are provided
Image processing method can improve the frame per second under dark situation, the smear of real time video image is eliminated with this, so as to camera examine
The image that method of determining and calculating is collected to camera is accurately judged, improves accuracy and the sensitivity of detection.
It should be noted that frame per second during due to camera collection image is relevant with the time for exposure, and the time for exposure and
Brightness of image is relevant, although frame per second when increasing camera collection image under dark situation can eliminate dragging for real time video image
Shadow, but it will reduce the brightness of image of video image, and then the image quality of video image is reduced, therefore the present invention is real
The lower limit that the current frame rate of the camera under dark situation is arranged on preset frame rate scope by example, such as 15FPS are applied, further through carrying
High camera offset, the overall brightness of image of real time video image is improved with this, the real time video image collected in guarantee
In the case of not having serious smear, brightness of image can be properly increased again, and then improve the degree of accuracy of detection.
Further, the image processing method also includes:
If the current environment is bright ring border, the current frame per second of the camera is set to the preset frame rate scope
Higher limit.
Wherein, in embodiments of the present invention, when terminal detects current environment for bright ring border, terminal can be directly by shooting
The current frame rate of head is set to the higher limit of preset frame rate scope, and such as 30FPS so can effectively eliminate real time video image
Smear, so that camera detection algorithm is accurately judged the image that camera is collected, and when camera is operated in tune
When using mode of operation, because the image resolution ratio that it is collected is small, therefore data volume is effectively reduced, reduces detection algorithm
The time of computing so that it can faster feed back testing result, and then improve the detection sensitivity under bright ring border.
Further, it is after current to camera frame per second under bright ring border is adjusted, then described according to the shooting
Current frame per second and resolution ratio control the camera to carry out IMAQ, in order to which the third-party application is according to collection
Image carries out respective handling:
The camera is controlled to enter according to the current resolution ratio of the higher limit and the camera of the preset frame rate scope
Row IMAQ, in order to which the third-party application carries out respective handling according to the image of collection.It should be noted that in this hair
In bright embodiment, terminal carries out image according to the current resolution ratio control camera of the higher limit and camera of preset frame rate scope
The process of collection is identical with step S205, specifically refers to step S205 associated description, here is omitted.
In embodiments of the present invention, if terminal starts camera application by detecting third-party application, by camera
It is set to call mode of operation, and according to calling the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio to set
Camera current frame per second and resolution ratio;Wherein, the lower limit of preset frame rate scope is more than initial setting up frame per second, pre-set image
Resolution ratio is less than initial setting up resolution ratio, and carries out image according to the current frame per second of camera and resolution ratio control camera and adopt
Collection, in order to which third-party application carries out respective handling according to the image of collection, is realized with this and calls camera in third-party application
When, camera is controlled using the configuration of high frame per second, low resolution, so as to be favorably improved the 3rd based on camera detection technique
Fang Yingyong detection accuracy and sensitivity, and reduce power consumption.
In addition, terminal current environment can be identified in the case where camera is operated in and calls mode of operation, and according to knowledge
Other result is configured to the preset frame rate of camera, the smear of real time video image is effectively eliminated with this, so as to camera
The image that detection algorithm is collected to camera is accurately judged, and reduces data volume using low image resolution, and then
Reduce the time of detection algorithm computing so that it can faster feed back testing result, so as to improve detection sensitivity, and reduce
Power consumption.
Referring to Fig. 3, Fig. 3 is a kind of schematic block diagram for terminal 3 that the embodiment of the present invention three is provided.Terminal 3 can be hand
The mobile terminals such as machine, tablet personal computer, but this is not limited to, it can also be other-end, not be limited herein.The end of the present embodiment
The each unit that end 3 includes is used to perform each step in the corresponding embodiments of Fig. 1, specifically refers to the corresponding realities of Fig. 1 and Fig. 1
The associated description in example is applied, is not repeated herein.The terminal 3 of the present embodiment includes:First setting unit 310, the second setting unit
320 control units 330.
If the first setting unit 310 is used to detect third-party application startup camera application, camera is set to
Call mode of operation.
Such as, if the first setting unit 310 detects third-party application and starts camera application, camera is set to
Call mode of operation.First setting unit 310 will set result to send to the after being set to call mode of operation by camera
Two setting units 320.
Second setting unit 320 is used to receive the setting result that the first setting unit 310 is sent, and calls work according to described
The corresponding preset frame rate scope of operation mode and pre-set image resolution ratio set the current frame per second and resolution ratio of the camera;
Wherein, the lower limit of the preset frame rate scope is more than initial setting up frame per second, and the pre-set image resolution ratio is less than initial setting up
Resolution ratio.
Such as, the second setting unit 320 receives the setting result that the first setting unit 310 is sent, and is called according to described
The corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio set the current frame per second of the camera and resolution
Rate.Second setting unit 320 will set result to send to control after the frame per second and resolution ratio current to camera are configured
Unit 330 processed.
Control unit 330 is used to receive the setting result that the second setting unit 320 is sent, and current according to the camera
Frame per second and resolution ratio control the camera to carry out IMAQ, in order to which the third-party application enters according to the image of collection
Row respective handling.
Such as, control unit 330 receives the setting result that the second setting unit 320 is sent, and is worked as according to the camera
Preceding frame per second and resolution ratio control the camera to carry out IMAQ, in order to image of the third-party application according to collection
Carry out respective handling.
In embodiments of the present invention, if the terminal of terminal 3 starts camera application by detecting third-party application, it will take the photograph
As head is set to call mode of operation, and according to calling the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio
The frame per second and resolution ratio for setting camera current;Wherein, the lower limit of preset frame rate scope is more than initial setting up frame per second, presets
Image resolution ratio is less than initial setting up resolution ratio, and carries out image according to the current frame per second of camera and resolution ratio control camera
Collection, in order to which third-party application carries out respective handling according to the image of collection, is realized with this and calls shooting in third-party application
During head, camera is controlled using the configuration of high frame per second, low resolution, so as to be favorably improved the based on camera detection technique
The detection accuracy of tripartite's application and sensitivity, and reduce power consumption.
Referring to Fig. 4, Fig. 4 is a kind of schematic block diagram for terminal 4 that the embodiment of the present invention four is provided.Terminal 4 can be hand
The mobile terminals such as machine, tablet personal computer, but this is not limited to, it can also be other-end, not be limited herein.The end of the present embodiment
The each unit that end 4 includes is used to perform each step in the corresponding embodiments of Fig. 2, specifically refers to the corresponding realities of Fig. 2 and Fig. 2
The associated description in example is applied, is not repeated herein.The terminal 4 of the present embodiment includes:Acquiring unit 410, frame per second setting unit 420,
First setting unit 430, the second setting unit 440 and control unit 450.
Acquiring unit 410 is used for the exposure meter information for obtaining the camera being pre-configured with.
Such as, acquiring unit 410 obtains the exposure meter information for the camera being pre-configured with.Acquiring unit 410 is being got
After the exposure meter information for the camera being pre-configured with, the exposure meter information is sent to frame per second setting unit 420.
Frame per second setting unit 420 is used for the exposure meter information for receiving the transmission of acquiring unit 410, and is believed according to the exposure meter
Breath sets the preset frame rate scope.
Such as, frame per second setting unit 420 receives the exposure meter information that acquiring unit 410 is sent, and according to the exposure meter
Information sets the preset frame rate scope.Frame per second setting unit 420 is after preset frame rate scope is provided with, by the default of setting
Frame per second scope is sent to the first setting unit 430.
First setting unit 430 is used for the preset frame rate scope that received frame rate setting unit 420 is sent, and if detecting
Third-party application starts camera application, then is set to camera call mode of operation.
Such as, the preset frame rate scope that the received frame rate setting unit 420 of the first setting unit 430 is sent, and if in detection
Start camera application to third-party application, be then set to camera call mode of operation.First setting unit 430 will taken the photograph
As head is set to call after mode of operation, result will be set to send to the second setting unit 440.
Second setting unit 440 is used to receive the setting result that the first setting unit 430 is sent, and calls work according to described
The corresponding preset frame rate scope of operation mode and pre-set image resolution ratio set the current frame per second and resolution ratio of the camera;
Wherein, the lower limit of the preset frame rate scope is more than initial setting up frame per second, and the pre-set image resolution ratio is less than initial setting up
Resolution ratio.
Such as, the second setting unit 440 receives the setting result that the first setting unit 430 is sent, and is called according to described
The corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio set the current frame per second of the camera and resolution
Rate.Second setting unit 440 will set result to send to control after the frame per second and resolution ratio current to camera are configured
Unit 450 processed.
Control unit 450 is used to receive the setting result that the second setting unit 440 is sent, and current according to the camera
Frame per second and resolution ratio control the camera to carry out IMAQ, in order to which the third-party application enters according to the image of collection
Row respective handling.
Such as, control unit 450 receives the setting result that the second setting unit 440 is sent, and is worked as according to the camera
Preceding frame per second and resolution ratio control the camera to carry out IMAQ, in order to image of the third-party application according to collection
Carry out respective handling.
Further, terminal 4 also includes recognition unit and adjustment unit.
Wherein, recognition unit is used for the monochrome information for obtaining current environment, and current environment is entered according to the monochrome information
Row identification.
Such as, recognition unit obtains the monochrome information of current environment, and current environment is known according to the monochrome information
Not.Recognition unit sends recognition result to adjustment unit after current environment is identified according to monochrome information.
Adjustment unit is used for the recognition result for receiving recognition unit transmission, and if being that current environment is Crape ring in recognition result
Border, then increase the exposure bias value of the camera.
Such as, adjustment unit receives the recognition result that recognition unit is sent, and if being that current environment is dark in recognition result
Environment, then increase the exposure bias value of the camera.Adjustment unit is adjusted this after the exposure bias value of increase camera
Exposure bias value afterwards is sent to control unit 450.
Control unit 450 is taken the photograph specifically for receiving the exposure bias value after the regulation that adjustment unit is sent according to described
Exposure bias value after the current frame per second of picture head, resolution ratio and regulation controls the camera to carry out IMAQ, in order to
The third-party application carries out respective handling according to the image of collection.Further, terminal also includes the 3rd setting unit and the
Four setting units.
Wherein, if it is dark situation that the 3rd setting unit, which is used for the current environment, by the current frame per second of the camera
It is set to the lower limit of the preset frame rate scope.
Such as, if the 3rd setting unit is dark situation in the current environment, the current frame per second of the camera is set
It is set to the lower limit of the preset frame rate scope.
If it is bright ring border that the 4th setting unit, which is used for the current environment, the current frame per second of the camera is set to
The higher limit of the preset frame rate scope.
Such as, if the 4th setting unit is bright ring border in the current environment, the current frame per second of the camera is set
It is set to the higher limit of the preset frame rate scope.The current frame per second of camera is being set to preset frame rate model by the 4th setting unit
After the higher limit enclosed, the higher limit of the preset frame rate scope is sent to control unit 450.
Control unit 450 is specifically for the resolution according to the higher limit and the camera of the preset frame rate scope currently
Rate controls the camera to carry out IMAQ, in order to which the third-party application carries out respective handling according to the image of collection.
In embodiments of the present invention, if terminal 4 starts camera application by detecting third-party application, by camera
It is set to call mode of operation, and according to calling the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio to set
Camera current frame per second and resolution ratio;Wherein, the lower limit of preset frame rate scope is more than initial setting up frame per second, pre-set image
Resolution ratio is less than initial setting up resolution ratio, and carries out image according to the current frame per second of camera and resolution ratio control camera and adopt
Collection, in order to which third-party application carries out respective handling according to the image of collection, is realized with this and calls camera in third-party application
When, camera is controlled using the configuration of high frame per second, low resolution, so as to be favorably improved the 3rd based on camera detection technique
Fang Yingyong detection accuracy and sensitivity, and reduce power consumption.
In addition, terminal 4 current environment can be identified in the case where camera is operated in and calls mode of operation, and according to
The result of identification is configured to the preset frame rate of camera, the smear of real time video image is effectively eliminated with this, to image
The image that head detection algorithm is collected to camera is accurately judged, and reduces data volume using low image resolution, is entered
And reducing the time of detection algorithm computing so that it can faster feed back testing result, so that detection sensitivity is improved, and reduction
Power consumption.
Referring to Fig. 5, Fig. 5 is a kind of terminal schematic block diagram that the embodiment of the present invention five is provided.This implementation as depicted
Terminal 5 in example can include:One or more processors 510;One or more input equipments 520, one or more outputs
Equipment 530 and memory 550.Above-mentioned processor 510, input equipment 520, output equipment 530 and memory 550 pass through bus
550 connections.
Memory 550 is instructed for storage program.
The programmed instruction that processor 510 is used to be stored according to memory 550 performs following operate:Should if detecting third party
With camera application is started, then camera is set to call mode of operation.
The programmed instruction that processor 510 is additionally operable to be stored according to memory 550 performs following operate:Work is called according to described
The corresponding preset frame rate scope of operation mode and pre-set image resolution ratio set the current frame per second and resolution ratio of the camera;
Wherein, the lower limit of the preset frame rate scope is more than initial setting up frame per second, and the pre-set image resolution ratio is less than initial setting up
Resolution ratio.
The programmed instruction that processor 510 is additionally operable to be stored according to memory 550 performs following operate:According to the camera
Current frame per second and resolution ratio control the camera to carry out IMAQ, in order to figure of the third-party application according to collection
As carrying out respective handling.
Further, the programmed instruction that processor 510 is additionally operable to be stored according to memory 550 performs following operate:Obtain
The monochrome information of current environment, current environment is identified according to the monochrome information;If current environment is dark situation, increase
The exposure bias value of the big camera;According to the exposure compensating after the current frame per second of the camera, resolution ratio and regulation
The value control camera carries out IMAQ, in order to which the third-party application carries out respective handling according to the image of collection.
Further, the programmed instruction that processor 510 is additionally operable to be stored according to memory 550 performs following operate:If institute
Current environment is stated for dark situation, then the current frame per second of the camera is set to the lower limit of the preset frame rate scope.
Further, the programmed instruction that processor 510 is additionally operable to be stored according to memory 550 performs following operate:If institute
Current environment is stated for bright ring border, then the current frame per second of the camera is set to the higher limit of the preset frame rate scope;Root
The camera is controlled to carry out IMAQ according to the current resolution ratio of the higher limit and the camera of the preset frame rate scope,
In order to which the third-party application carries out respective handling according to the image of collection.
Further, the programmed instruction that processor 510 is additionally operable to be stored according to memory 550 performs following operate:Obtain
The exposure meter information for the camera being pre-configured with;The preset frame rate scope is set according to the exposure meter information.
In embodiments of the present invention, if terminal 5 starts camera application by detecting third-party application, by camera
It is set to call mode of operation, and according to calling the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio to set
Camera current frame per second and resolution ratio;Wherein, the lower limit of preset frame rate scope is more than initial setting up frame per second, pre-set image
Resolution ratio is less than initial setting up resolution ratio, and carries out image according to the current frame per second of camera and resolution ratio control camera and adopt
Collection, in order to which third-party application carries out respective handling according to the image of collection, is realized with this and calls camera in third-party application
When, camera is controlled using the configuration of high frame per second, low resolution, so as to be favorably improved the 3rd based on camera detection technique
Fang Yingyong detection accuracy and sensitivity, and reduce power consumption.
In addition, terminal 5 current environment can be identified in the case where camera is operated in and calls mode of operation, and according to
The result of identification is configured to the preset frame rate of camera, the smear of real time video image is effectively eliminated with this, to image
The image that head detection algorithm is collected to camera is accurately judged, and reduces data volume using low image resolution, is entered
And reducing the time of detection algorithm computing so that it can faster feed back testing result, so that detection sensitivity is improved, and reduction
Power consumption.
It should be appreciated that in embodiments of the present invention, alleged processor 510 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 520 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone etc., output equipment 530 can include display (LCD etc.), loudspeaker etc..
The memory 550 can include read-only storage and random access memory, and to processor 510 provide instruction and
Data.The a part of of memory 550 can also include nonvolatile RAM.For example, memory 550 can also be deposited
Store up the information of device type.
In the specific implementation, processor 510, input equipment 520, the output equipment 530 described in the embodiment of the present invention can
Perform described in the first embodiment and second embodiment of the interactive interface generation method of application provided in an embodiment of the present invention
Implementation, also can perform the embodiment of the present invention described by terminal implementation, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be by it in several embodiments provided herein, it should be understood that disclosed terminal and method
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, mechanical or other forms are connected.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. a kind of image processing method, it is characterised in that described image processing includes:
If detecting third-party application starts camera application, camera is set to call mode of operation;
The corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio is called to set the camera to work as according to described
Preceding frame per second and resolution ratio;Wherein, the lower limit of the preset frame rate scope is more than initial setting up frame per second, the pre-set image
Resolution ratio is less than initial setting up resolution ratio;
The camera is controlled to carry out IMAQ according to the current frame per second of the camera and resolution ratio, in order to the described 3rd
Fang Yingyong carries out respective handling according to the image of collection.
2. image processing method according to claim 1, it is characterised in that mode of operation correspondence is called described in the basis
Preset frame rate scope and after pre-set image resolution ratio sets the current frame per second of the camera and resolution ratio, the figure
As processing method also includes:
The monochrome information of current environment is obtained, current environment is identified according to the monochrome information;
If current environment is dark situation, increase the exposure bias value of the camera;
The frame per second current according to the camera and resolution ratio control the camera to carry out IMAQ, in order to described
Third-party application carries out respective handling according to the image of collection, including:
The camera is controlled to be schemed according to the exposure bias value after the current frame per second of the camera, resolution ratio and regulation
As collection, in order to which the third-party application carries out respective handling according to the image of collection.
3. image processing method according to claim 2, it is characterised in that if the current environment is dark situation, increase
After the exposure bias value of the big camera, described image processing method also includes:
If the current environment is dark situation, the current frame per second of the camera is set under the preset frame rate scope
Limit value.
4. image processing method according to claim 2, it is characterised in that the monochrome information of the acquisition current environment,
After current environment is identified according to the monochrome information, described image processing method also includes:
If the current environment is bright ring border, the current frame per second of the camera is set to the upper of the preset frame rate scope
Limit value;
The frame per second current according to the camera and resolution ratio control the camera to carry out IMAQ, in order to described
Third-party application carries out respective handling according to the image of collection, including:
The camera is controlled to be schemed according to the current resolution ratio of the higher limit and the camera of the preset frame rate scope
As collection, in order to which the third-party application carries out respective handling according to the image of collection.
5. the image processing method according to any one of Claims 1-4, it is characterised in that if described detect third party
Using camera application is started, then before being set to call mode of operation by camera, described image processing method also includes:
Obtain the exposure meter information for the camera being pre-configured with;
The preset frame rate scope is set according to the exposure meter information.
6. a kind of terminal, it is characterised in that the terminal includes:
First setting unit, if starting camera application for detecting third-party application, camera is set to call work
Operation mode;
Second setting unit, for calling the corresponding preset frame rate scope of mode of operation and pre-set image resolution ratio according to
Frame per second and resolution ratio that the camera is current are set;Wherein, the lower limit of the preset frame rate scope is more than initial setting up
Frame per second, the pre-set image resolution ratio is less than initial setting up resolution ratio;
Control unit, for controlling the camera to carry out IMAQ according to the current frame per second of the camera and resolution ratio,
In order to which the third-party application carries out respective handling according to the image of collection.
7. terminal according to claim 6, it is characterised in that the terminal also includes:
Recognition unit, the monochrome information for obtaining current environment, current environment is identified according to the monochrome information;
Adjustment unit, if being dark situation for current environment, increases the exposure bias value of the camera;
Described control unit is specifically for according to the exposure bias value after the current frame per second of the camera, resolution ratio and regulation
The camera is controlled to carry out IMAQ, in order to which the third-party application carries out respective handling according to the image of collection.
8. terminal according to claim 7, it is characterised in that the terminal also includes:
3rd setting unit, if being dark situation for the current environment, institute is set to by the current frame per second of the camera
State the lower limit of preset frame rate scope.
9. terminal according to claim 7, it is characterised in that the terminal also includes:
4th setting unit, if being bright ring border for the current environment, institute is set to by the current frame per second of the camera
State the higher limit of preset frame rate scope;
Described control unit is specifically for the higher limit according to the preset frame rate scope and the current resolution ratio of the camera
The camera is controlled to carry out IMAQ, in order to which the third-party application carries out respective handling according to the image of collection.
10. the terminal according to any one of claim 6 to 9, it is characterised in that the terminal also includes:
Acquiring unit, the exposure meter information for obtaining the camera being pre-configured with;
Frame per second setting unit, for setting the preset frame rate scope according to the exposure meter information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710226811.7A CN107172345B (en) | 2017-04-07 | 2017-04-07 | Image processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710226811.7A CN107172345B (en) | 2017-04-07 | 2017-04-07 | Image processing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107172345A true CN107172345A (en) | 2017-09-15 |
CN107172345B CN107172345B (en) | 2020-02-04 |
Family
ID=59849371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710226811.7A Active CN107172345B (en) | 2017-04-07 | 2017-04-07 | Image processing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107172345B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107657167A (en) * | 2017-11-02 | 2018-02-02 | 广东欧珀移动通信有限公司 | Method, apparatus, computer-readable recording medium and the electronic equipment of face unblock |
CN107909686A (en) * | 2017-11-02 | 2018-04-13 | 广东欧珀移动通信有限公司 | Method, apparatus, computer-readable recording medium and the electronic equipment of face unlock |
CN108388781A (en) * | 2018-01-31 | 2018-08-10 | 广东欧珀移动通信有限公司 | Mobile terminal, image data acquisition method and Related product |
CN110121031A (en) * | 2019-06-11 | 2019-08-13 | Oppo广东移动通信有限公司 | Image-pickup method and device, electronic equipment, computer readable storage medium |
CN110475065A (en) * | 2019-08-19 | 2019-11-19 | 北京字节跳动网络技术有限公司 | Method, apparatus, electronic equipment and the storage medium of image procossing |
CN110493519A (en) * | 2019-08-19 | 2019-11-22 | 惠州Tcl移动通信有限公司 | Image-pickup method, computer-readable medium and the computer equipment of mobile terminal |
CN110572608A (en) * | 2019-07-29 | 2019-12-13 | 视联动力信息技术股份有限公司 | Frame rate setting method and device, electronic equipment and storage medium |
CN110942047A (en) * | 2019-12-09 | 2020-03-31 | Oppo广东移动通信有限公司 | Application optimization method and related product |
CN111031233A (en) * | 2019-11-13 | 2020-04-17 | 安凯(广州)微电子技术有限公司 | Digital image processing frame rate control method and device |
CN111385484A (en) * | 2018-12-28 | 2020-07-07 | 北京字节跳动网络技术有限公司 | Information processing method and device |
CN112351194A (en) * | 2020-08-31 | 2021-02-09 | 华为技术有限公司 | Service processing method and device |
CN112689086A (en) * | 2020-12-10 | 2021-04-20 | 联想(北京)有限公司 | Information determination method, electronic equipment and computer readable storage medium |
CN113179369A (en) * | 2021-04-08 | 2021-07-27 | 重庆传音通讯技术有限公司 | Shot picture display method, mobile terminal and storage medium |
CN114500772A (en) * | 2022-03-02 | 2022-05-13 | 深圳市深视智能科技有限公司 | Imaging device and imaging system |
CN114727004A (en) * | 2021-01-05 | 2022-07-08 | 北京小米移动软件有限公司 | Image acquisition method and device, electronic equipment and storage medium |
CN116528063A (en) * | 2023-07-04 | 2023-08-01 | 荣耀终端有限公司 | Shooting method, readable storage medium and electronic device |
CN117119295A (en) * | 2023-10-24 | 2023-11-24 | 荣耀终端有限公司 | Camera control method and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009121563A (en) * | 2007-11-13 | 2009-06-04 | Nsk Ltd | Tube holder and ball screw device using it |
CN105654633A (en) * | 2015-12-30 | 2016-06-08 | 福建联迪商用设备有限公司 | POS code scanning payment method, system and device |
CN105959530A (en) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and system for invoking a camera function according to an individualized property of an application |
-
2017
- 2017-04-07 CN CN201710226811.7A patent/CN107172345B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009121563A (en) * | 2007-11-13 | 2009-06-04 | Nsk Ltd | Tube holder and ball screw device using it |
CN105654633A (en) * | 2015-12-30 | 2016-06-08 | 福建联迪商用设备有限公司 | POS code scanning payment method, system and device |
CN105959530A (en) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and system for invoking a camera function according to an individualized property of an application |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107909686A (en) * | 2017-11-02 | 2018-04-13 | 广东欧珀移动通信有限公司 | Method, apparatus, computer-readable recording medium and the electronic equipment of face unlock |
CN107657167A (en) * | 2017-11-02 | 2018-02-02 | 广东欧珀移动通信有限公司 | Method, apparatus, computer-readable recording medium and the electronic equipment of face unblock |
CN108388781A (en) * | 2018-01-31 | 2018-08-10 | 广东欧珀移动通信有限公司 | Mobile terminal, image data acquisition method and Related product |
CN111385484A (en) * | 2018-12-28 | 2020-07-07 | 北京字节跳动网络技术有限公司 | Information processing method and device |
CN111385484B (en) * | 2018-12-28 | 2021-06-25 | 北京字节跳动网络技术有限公司 | Information processing method and device |
CN110121031A (en) * | 2019-06-11 | 2019-08-13 | Oppo广东移动通信有限公司 | Image-pickup method and device, electronic equipment, computer readable storage medium |
CN110572608A (en) * | 2019-07-29 | 2019-12-13 | 视联动力信息技术股份有限公司 | Frame rate setting method and device, electronic equipment and storage medium |
CN110475065B (en) * | 2019-08-19 | 2021-03-16 | 北京字节跳动网络技术有限公司 | Image processing method and device, electronic equipment and storage medium |
CN110493519A (en) * | 2019-08-19 | 2019-11-22 | 惠州Tcl移动通信有限公司 | Image-pickup method, computer-readable medium and the computer equipment of mobile terminal |
CN110493519B (en) * | 2019-08-19 | 2021-03-23 | 惠州Tcl移动通信有限公司 | Image acquisition method of mobile terminal, computer readable medium and computer device |
CN110475065A (en) * | 2019-08-19 | 2019-11-19 | 北京字节跳动网络技术有限公司 | Method, apparatus, electronic equipment and the storage medium of image procossing |
CN111031233B (en) * | 2019-11-13 | 2021-01-15 | 安凯(广州)微电子技术有限公司 | Digital image processing frame rate control method and device |
CN111031233A (en) * | 2019-11-13 | 2020-04-17 | 安凯(广州)微电子技术有限公司 | Digital image processing frame rate control method and device |
CN110942047A (en) * | 2019-12-09 | 2020-03-31 | Oppo广东移动通信有限公司 | Application optimization method and related product |
CN112351194A (en) * | 2020-08-31 | 2021-02-09 | 华为技术有限公司 | Service processing method and device |
WO2022042211A1 (en) * | 2020-08-31 | 2022-03-03 | 华为技术有限公司 | Service processing method and device |
EP4198812A4 (en) * | 2020-08-31 | 2024-02-28 | Huawei Tech Co Ltd | Service processing method and device |
CN112689086A (en) * | 2020-12-10 | 2021-04-20 | 联想(北京)有限公司 | Information determination method, electronic equipment and computer readable storage medium |
CN114727004A (en) * | 2021-01-05 | 2022-07-08 | 北京小米移动软件有限公司 | Image acquisition method and device, electronic equipment and storage medium |
CN113179369A (en) * | 2021-04-08 | 2021-07-27 | 重庆传音通讯技术有限公司 | Shot picture display method, mobile terminal and storage medium |
CN114500772A (en) * | 2022-03-02 | 2022-05-13 | 深圳市深视智能科技有限公司 | Imaging device and imaging system |
CN116528063A (en) * | 2023-07-04 | 2023-08-01 | 荣耀终端有限公司 | Shooting method, readable storage medium and electronic device |
CN116528063B (en) * | 2023-07-04 | 2023-11-03 | 荣耀终端有限公司 | Shooting method, readable storage medium and electronic device |
CN117119295A (en) * | 2023-10-24 | 2023-11-24 | 荣耀终端有限公司 | Camera control method and electronic device |
CN117119295B (en) * | 2023-10-24 | 2024-04-12 | 荣耀终端有限公司 | Camera control method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107172345B (en) | 2020-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107172345A (en) | A kind of image processing method and terminal | |
CN111726533B (en) | Image processing method, image processing device, mobile terminal and computer readable storage medium | |
CN107197169A (en) | A kind of high dynamic range images image pickup method and mobile terminal | |
CN107861679A (en) | A kind of operation processing method, terminal and computer-readable recording medium | |
US20110243397A1 (en) | Searching digital image collections using face recognition | |
CN107172296A (en) | A kind of image capturing method and mobile terminal | |
CN109460177A (en) | A kind of image processing method and terminal device | |
CN108961157B (en) | Picture processing method, picture processing device and terminal equipment | |
CN106648361A (en) | Photographing method and terminal | |
WO2018072271A1 (en) | Image display optimization method and device | |
CN106911892A (en) | The method and terminal of a kind of image procossing | |
CN107330859B (en) | Image processing method and device, storage medium and terminal | |
CN108073346A (en) | A kind of record screen method, terminal and computer readable storage medium | |
CN109639896A (en) | Block object detecting method, device, storage medium and mobile terminal | |
CN104902143B (en) | A kind of image de-noising method and device based on resolution ratio | |
CN107222790A (en) | A kind of method, terminal and computer-readable recording medium for sending barrage | |
CN107426493A (en) | A kind of image pickup method and terminal for blurring background | |
CN110231897A (en) | A kind of object processing method and terminal device | |
CN107087106A (en) | A kind of image pickup method and terminal | |
CN109167893A (en) | Shoot processing method, device, storage medium and the mobile terminal of image | |
CN109656450A (en) | A kind of image display method and terminal device | |
CN109102555A (en) | A kind of image edit method and terminal | |
CN107302666A (en) | Photographic method, mobile terminal and computer-readable recording medium | |
CN111367434A (en) | Touch delay detection method and device, electronic equipment and storage medium | |
WO2021098609A1 (en) | Method and device for image detection, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210210 Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703 Patentee after: Shenzhen Microphone Holdings Co.,Ltd. Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong. Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |