CN106993137A - A kind of determination method and device of terminal taking pattern - Google Patents

A kind of determination method and device of terminal taking pattern Download PDF

Info

Publication number
CN106993137A
CN106993137A CN201710283332.9A CN201710283332A CN106993137A CN 106993137 A CN106993137 A CN 106993137A CN 201710283332 A CN201710283332 A CN 201710283332A CN 106993137 A CN106993137 A CN 106993137A
Authority
CN
China
Prior art keywords
camera
terminal
shooting
mode
focusing
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.)
Pending
Application number
CN201710283332.9A
Other languages
Chinese (zh)
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710283332.9A priority Critical patent/CN106993137A/en
Publication of CN106993137A publication Critical patent/CN106993137A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a kind of determination method and device of terminal taking pattern, this method includes:When it is determined that the camera of terminal is unlocked, shelter detection is carried out in the shooting direction of the camera;According to shelter testing result, the screening-mode of the terminal is determined.The embodiment of the present invention can carry out anticipation to the screening-mode of camera camera, the focusing range of camera is determined with this, improve the efficiency of camera focusing, improve Consumer's Experience sense, can be according to testing result automatic switchover screening-mode, the not convenience adjusted manually is avoided, can be had wide range of applications.

Description

A kind of determination method and device of terminal taking pattern
Technical field
The present embodiments relate to the determination method and dress of camera focusing technology, more particularly to a kind of terminal taking pattern Put.
Background technology
With science and technology fast development and constantly bring forth new ideas, the mobile intelligent terminal such as mobile phone, tablet personal computer has increasingly Many functions, people are to its degree of dependence also more and more higher.At present, camera function has become the standard configuration of mobile terminal, convenient Carry out the shooting of distant view or close shot anywhere or anytime using camera in people.During vista shot, coverage is larger, it is necessary to camera Focused at a distance, when close shot is shot, coverage is smaller, it is necessary to which camera is closely focused.In recent years, closely Take pictures to sweep to inscribe and become the indispensable demand that student uses mobile phone.
In the prior art, user using camera during being taken pictures, by the way that setting camera function is pre-selected or topic is swept Function completes the shooting of close shot and distant view, but this method needs user to adjust screening-mode manually, without convenience, Or camera is focused automatically according to the definition of shooting image, but camera auto-focusing needs the self-alignment time, also The modes such as auxiliary focusing lamp are needed to help to focus, focusing speed is slow, causes Consumer's Experience sense poor.
The content of the invention
The embodiment of the present invention provides a kind of determination method and device of terminal taking pattern, to solve to image in the prior art The problem of head focusing speed is slow, screening-mode switching is not convenient.
In a first aspect, the embodiments of the invention provide a kind of determination method of terminal taking pattern, including:
When it is determined that the camera of terminal is unlocked, shelter detection is carried out in the shooting direction of the camera;
According to shelter testing result, the screening-mode of the terminal is determined.
Further, according to shelter testing result, the screening-mode of the terminal is determined, including:
If the distance between the target occlusion thing and the camera that are detected in the shooting direction of the camera Less than the first threshold value, it is determined that the screening-mode of the terminal is shooting at close range pattern;
If shelter is not detected by the shooting direction of the camera, or in the shooting direction of the camera On the distance between the target occlusion thing that detects and the camera be more than the second threshold value, it is determined that the bat of the terminal Pattern is taken the photograph for wide-long shot pattern.
Further, it is determined that the terminal screening-mode be shooting at close range pattern after, in addition to:
Regulation focusing cursor switch, keeps it turned on the focusing cursor;
On the basis of the focusing cursor, the target area where the focusing cursor is obtained;
The optical parametric of the camera is adjusted according to the parameter configuration mode with shooting at close range patterns match, with reality Shooting at close range now is carried out to the target area.
Further, it is determined that the terminal screening-mode be wide-long shot pattern after, in addition to:
Regulation focusing cursor switch, remains off the focusing cursor;
The optical parametric of the camera is adjusted according to the parameter configuration mode with wide-long shot patterns match, with reality Wide-long shot now is carried out to the target area.
Further, when it is determined that the camera of terminal is unlocked, blocked in the shooting direction of the camera Analyte detection, including:
When it is determined that the camera of terminal is unlocked, unlatching range sensor, and launched by the range sensor Distance detection signal carries out shelter detection in the shooting direction of the camera;
Wherein, the range sensor presses close to the camera setting of the terminal.
Second aspect, the embodiment of the present invention additionally provides a kind of determining device of terminal taking pattern, including:
Detection module, for when it is determined that the camera of terminal is unlocked, being carried out in the shooting direction of the camera Block analyte detection;
Mode decision module, for according to shelter testing result, determining the screening-mode of the terminal.
Further, the mode decision module includes:
First determining unit, if for the target occlusion thing that is detected in the shooting direction of the camera with it is described The distance between camera is less than the first threshold value, it is determined that the screening-mode of the terminal is shooting at close range pattern;
Second determining unit, if for being not detected by shelter in the shooting direction of the camera, or in institute State the distance between the target occlusion thing detected in the shooting direction of camera and described camera and be more than the second threshold value, The screening-mode for then determining the terminal is wide-long shot pattern.
Further, described device also includes:
First state unit, for adjusting focusing cursor switch, keeps it turned on the focusing cursor;
Acquiring unit, on the basis of the focusing cursor, obtaining the target area where the focusing cursor;
First parameter adjustment unit, for adjusting described according to the parameter configuration mode with shooting at close range patterns match The optical parametric of camera, shooting at close range is carried out to realize to the target area.
Further, described device also includes:
Second state cell, for adjusting focusing cursor switch, remains off the focusing cursor;
Second parameter adjustment unit, for adjusting described according to the parameter configuration mode with wide-long shot patterns match The optical parametric of camera, wide-long shot is carried out to realize to the target area.
Further, the detection module includes:
Real-time detection unit, for when it is determined that the camera of terminal is unlocked, opening range sensor, and by described The distance detection signal of range sensor transmitting carries out shelter detection in the shooting direction of the camera;
Wherein, the range sensor presses close to the camera setting of the terminal.
When the embodiment of the present invention is by using camera function, detection camera camera in shooting direction with shelter away from From to determine that the screening-mode of camera, for shooting at close range pattern or wide-long shot pattern, passes through the bat to camera camera Take the photograph pattern and carry out anticipation, the focusing range of camera is determined with this, the efficiency of camera focusing is improved, improves user's body Sense is tested, can according to testing result automatic switchover screening-mode, it is to avoid the not convenience of manual regulation, can have a wide range of application It is general.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the determination method of terminal taking pattern in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the determination method of terminal taking pattern in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of the determination method of terminal taking pattern in the embodiment of the present invention three;
Fig. 4 is a kind of flow chart of the determination method of terminal taking pattern in the embodiment of the present invention four;
Fig. 5 is a kind of flow chart of the determination method of terminal taking pattern in the embodiment of the present invention five;
Fig. 6 is a kind of structural representation of the determining device of terminal taking pattern in the embodiment of the present invention six.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of flow chart of the determination method for terminal taking pattern that the embodiment of the present invention one is provided, the present embodiment It is applicable to carry out the situation of automatic switchover camera camera screening-mode by detecting the distance of shelter in shooting direction, This method can be performed by a kind of determining device of terminal taking pattern, and the device can use the side of software and/or hardware Formula is realized, is typically integrated in the terminal with camera function.
The method of the embodiment of the present invention one is specifically included:
S101, when it is determined that the camera of terminal is unlocked, in the shooting direction of the camera carry out shelter inspection Survey.
Specifically, user is in the camera function of using terminal, while opening camera, range sensor is opened, Detect whether there is shelter in the shooting direction of camera, the process of detection is carried out in real time.Wherein, terminal can be hand The equipment that machine, tablet personal computer etc. have camera function.
S102, according to shelter testing result, determine the screening-mode of the terminal.
Specifically, according to the testing result of shelter, the screening-mode for determining terminal is shooting at close range pattern or remote Apart from screening-mode, because detection process is carried out in real time, when testing result changes, the screening-mode of terminal is carried out Automatically switching.Screening-mode closely can shoot people, the local detail feature of thing or carry out optical character identification (Optical Character Recognition, abbreviation OCR), what is typically obtained is two dimensional image, and the definition to image will Ask higher.And wide-long shot pattern can shoot people, the configuration of thing, what is typically obtained is 3-D view, can be to clapping Take the photograph object and carry out beautification operation.Blocked if detecting to exist in the setpoint distance of camera camera using range sensor Thing, then automatically switch to shooting at close range pattern, and camera is closely focused, and shelter is shot.If used Range sensor is detected is not present shelter in the setpoint distance of camera camera, or there is shelter, but blocks The distance of thing is distant, then automatically switches to wide-long shot pattern, and camera is focused at a distance, completes to clap at a distance Take the photograph.
In the present embodiment, during the camera function of user's using terminal, range sensor is automatically turned on, range sensor is real-time Detection whether there is shelter on camera camera direction.When user carries out sweeping topic using camera function, if apart from biography Sensor is detected has shelter on the direction of camera camera, and shelter distance be less than setting threshold value when, confirm For shooting at close range pattern.Camera Automatic Optimal and the optical parametric of shooting at close range patterns match, are closely focused, The shooting work of topic is swept in completion.When the camera shooting direction or distance of customer mobile terminal, if range sensor is detected Shelter is not present on the direction of camera camera or there is shelter, but the distance of shelter and camera camera compared with When remote, camera automatically switches to wide-long shot pattern.Camera is focused at a distance, and Automatic Optimal and wide-long shot mould The optical parametric that formula matches, can be beautified, the operation such as filter, complete the shooting of people, thing or landscape.If Distance-sensing Device is detected again has shelter on the direction of camera camera, and shelter distance be less than setting threshold value when, from It is shooting at close range pattern to move from wide-long shot pattern switching.According to the testing result of range sensor, camera camera exists Switched between shooting at close range pattern and wide-long shot pattern, and optimize the parameter configuration matched with screening-mode.
A kind of determination method for terminal taking pattern that the embodiment of the present invention one is provided, can detect camera camera in bat The distance with shelter on direction is taken the photograph, to determine the screening-mode of camera for shooting at close range pattern or wide-long shot pattern, Anticipation is carried out by the screening-mode to camera camera, the focusing range of camera is determined with this, camera pair is improved Burnt efficiency, improves Consumer's Experience sense, can be according to testing result automatic switchover screening-mode, it is to avoid manual regulation is not Convenience, can have wide range of applications.
Embodiment two
Fig. 2 is a kind of flow chart of the determination method for terminal taking pattern that the embodiment of the present invention two is provided, and the present invention is real Apply example two to be optimized based on embodiment one, be specifically to according to shelter testing result, determining the bat of the terminal The operation for taking the photograph pattern further optimizes, as shown in Fig. 2 the embodiment of the present invention two is specifically included:
S201, when it is determined that the camera of terminal is unlocked, in the shooting direction of the camera carry out shelter inspection Survey.
If between S202, the target occlusion thing detected in the shooting direction of the camera and the camera Distance is less than the first threshold value, it is determined that the screening-mode of the terminal is shooting at close range pattern.
If S203, shelter is not detected by the shooting direction of the camera, or in the bat of the camera Take the photograph the distance between the target occlusion thing detected on direction and described camera and be more than the second threshold value, it is determined that the end The screening-mode at end is wide-long shot pattern.
In the present embodiment, if between the target occlusion thing and camera that are detected in the shooting direction of camera camera Distance be less than the first threshold value, then confirm as shooting at close range pattern, the first threshold value is according to the situation of practical application And set, 15cm is could be arranged to, is less than when range sensor detects the distance between camera camera and target occlusion thing Or during equal to 15cm, then confirm as shooting at close range pattern.If range sensor is not examined in the shooting direction of camera Measure shelter, or detect shelter but the distance of shelter and camera camera is more than the second threshold value, then really It is set to wide-long shot pattern, wherein, the second threshold value can be equal with the first threshold value, could be arranged to 15cm, the Two threshold values can also be unequal with the first threshold value, could be arranged to 20cm, specific to set numerical value according to actual conditions It is determined that.Range sensor is detected in real time whether there is shelter in setting range, in the case where there is shelter, calculate camera The distance between camera and shelter, according to testing result, enter between shooting at close range pattern and wide-long shot pattern Row switching.
The determination method for a kind of terminal taking pattern that the embodiment of the present invention two is provided, by the presence feelings for detecting shelter Condition and camera is obtained to the distance of shelter, and be compared with default threshold value, shooting at close range is switched with this Pattern or wide-long shot pattern, accuracy are high, improve the efficiency of screening-mode switching, reduce manual adjustment time and Step, with convenience.
Embodiment three
Fig. 3 is a kind of flow chart of the determination method for terminal taking pattern that the embodiment of the present invention three is provided, and the present invention is real Apply example three and improvement is optimized based on the various embodiments described above, the screening-mode of pair determination terminal is shooting at close range Further illustrated after pattern, as shown in figure 3, the method for the embodiment of the present invention three is specifically included:
S301, when it is determined that the camera of terminal is unlocked, in the shooting direction of the camera carry out shelter inspection Survey.
If between S302, the target occlusion thing detected in the shooting direction of the camera and the camera Distance is less than the first threshold value, it is determined that the screening-mode of the terminal is shooting at close range pattern.
S303, regulation focusing cursor switch, keep it turned on the focusing cursor.
S304, by it is described focusing cursor on the basis of, obtain it is described focusing cursor where target area.
S305, basis and shooting at close range patterns match parameter configuration mode adjust the Optical Parametric of the camera Number, shooting at close range is carried out to realize to the target area.
In the present embodiment, it is determined that terminal screening-mode be shooting at close range pattern after, open focusing cursor, its In, focusing cursor can be tracking cross, on the basis of cursor of focusing, and obtain the target area where focusing cursor, target area Domain can determine that for example target area can be the paragraph where focusing cursor according to actual conditions.Shooting at close range pattern In, people, the minutia of thing no matter are shot, or paper progress Text region is shot, the readability of shooting is important ginseng One of standard is examined, the optical parametric of camera is adjusted according to the parameter configuration mode with shooting at close range patterns match, for example The optical parametrics such as brightness, contrast can be adjusted, the optical parametric for being more suitable for shooting at close range pattern is obtained, it is clear to obtain The higher two dimensional image of degree.
For example, when user is scanned topic shooting using the camera function of mobile phone, it is determined that the screening-mode of mobile phone is During shooting at close range pattern, regulation brightness, the optical parametric such as contrast make to shoot more during topic of the user on paper is scanned Clearly.When user terminates scanning topic operation, when adjusting direction to some space of mobile phone camera, mobile phone is switched at a distance The parameter configuration mode of screening-mode, regulation and wide-long shot patterns match adjusts the optical parametric of camera, Ke Yishi The relevant operational parameters such as U.S. face, filter, make the image shot under wide-long shot pattern more attractive.
A kind of determination method for terminal taking pattern that the embodiment of the present invention three is provided, according to camera camera closely Screening-mode, optimization and the optical parametric of shooting at close range patterns match, improve the quality of shooting at close range image.
Example IV
Fig. 4 is a kind of flow chart of the determination method for terminal taking pattern that the embodiment of the present invention four is provided, and the present invention is real Apply example four and improvement is optimized based on the various embodiments described above, the screening-mode of pair determination terminal is wide-long shot Further illustrated after pattern, as shown in figure 4, the method for the embodiment of the present invention four is specifically included:
S401, when it is determined that the camera of terminal is unlocked, in the shooting direction of the camera carry out shelter inspection Survey.
If S402, shelter is not detected by the shooting direction of the camera, or in the bat of the camera Take the photograph the distance between the target occlusion thing detected on direction and described camera and be more than the second threshold value, it is determined that the end The screening-mode at end is wide-long shot pattern.
S403, regulation focusing cursor switch, remain off the focusing cursor.
S404, basis and wide-long shot patterns match parameter configuration mode adjust the Optical Parametric of the camera Number, wide-long shot is carried out to realize to the target area.
In the present embodiment, under shooting at close range pattern, camera camera focusing to close shot, when camera is from shooting at close range Under pattern switching to wide-long shot pattern, camera camera focusing to distant view shoots people, thing or landscape etc., closes focusing Cursor, the optical parametric of camera is adjusted according to the parameter configuration mode with wide-long shot patterns match, can be U.S. face, The operating parameters such as filter, the related optical parametric of optimization wide-long shot people, thing and landscape, make under wide-long shot pattern Image is more attractive.
For example, user using mobile phone camera function shoot personage when, keep focusing cursor be closed, optimization with The optical parametric of the camera of wide-long shot patterns match, such as mill skin, filter, under beautification wide-long shot pattern Image.User terminates to shoot the operation of personage, proceeds by and sweeps topic operation, and camera switches to shooting at close range pattern, unlatching pair Burnt cursor, obtains the paragraph on the basis of burnt cursor, is adjusted according to the parameter configuration mode with shooting at close range patterns match The optical parametric of camera, it is no longer necessary to grind the operating parameters such as skin, filter, can adjust the optical parametrics such as brightness, contrast, make The image definition shot under shooting at close range pattern is high, in order to follow-up identification and search.
The determination method for a kind of terminal taking pattern that the embodiment of the present invention four is provided, according to the remote of camera camera Screening-mode, optimization and the optical parametric of wide-long shot patterns match, improve the quality of wide-long shot image.
Embodiment five
Fig. 5 is a kind of flow chart of the determination method for terminal taking pattern that the embodiment of the present invention five is provided, and the present invention is real Apply example five and improvement be optimized based on the various embodiments described above, be specifically to when it is determined that the camera of terminal is unlocked, The detection of progress shelter, which has been made, in the shooting direction of the camera further illustrates, as shown in figure 5, the embodiment of the present invention Five methods are specifically included:
S501, when it is determined that the camera of terminal is unlocked, open range sensor, and sent out by the range sensor The distance detection signal penetrated carries out shelter detection in the shooting direction of the camera;Wherein, the range sensor patch The camera of the nearly terminal is set.
S502, according to shelter testing result, determine the screening-mode of the terminal.
In the present embodiment, range sensor is pressed close to the camera of camera and set, when the camera of camera is unlocked, from Dynamic to open range sensor, range sensor is in instantaneous operating conditions, real time emission distance detection signal, and detects in camera It whether there is shelter on the direction of camera, and calculate the distance of camera camera and shelter.
A kind of determination method for terminal taking pattern that the embodiment of the present invention five is provided, it is real-time by using range sensor The presence situation of shelter is obtained, and calculates the distance of camera camera and shelter, switching camera shooting is used as with this The basis of head screening-mode, reliability is high, the screening-mode for the camera camera that can automatically switch, it is to avoid manual regulation is not Convenience.
Embodiment six
Fig. 6 is a kind of structural representation of the determining device of terminal taking pattern in the embodiment of the present invention six, the device Applied to the situation that automatic switchover camera camera screening-mode is realized by the terminal with camera function, typically it is integrated in In terminal with camera function.As shown in fig. 6, device includes detection module 601 and mode decision module 602, it is specific as follows:
Detection module 601, it is enterprising in the shooting direction of the camera for when it is determined that the camera of terminal is unlocked Row blocks analyte detection;
Mode decision module 602, for according to shelter testing result, determining the screening-mode of the terminal.
When the embodiment of the present invention six is by using camera function, detection camera camera in shooting direction with shelter Distance, to determine that the screening-mode of camera is shooting at close range pattern or wide-long shot pattern, by camera camera Screening-mode carries out anticipation, and the focusing range of camera is determined with this, the efficiency of camera focusing is improved, improves user Experience sense, can be according to testing result automatic switchover screening-mode, it is to avoid the not convenience of manual regulation, can have a wide range of application It is general.
On the basis of the various embodiments described above, the mode decision module can include:
First determining unit, if for the target occlusion thing that is detected in the shooting direction of the camera with it is described The distance between camera is less than the first threshold value, it is determined that the screening-mode of the terminal is shooting at close range pattern;
Second determining unit, if for being not detected by shelter in the shooting direction of the camera, or in institute State the distance between the target occlusion thing detected in the shooting direction of camera and described camera and be more than the second threshold value, The screening-mode for then determining the terminal is wide-long shot pattern.
On the basis of the various embodiments described above, described device can include:
First state unit, for adjusting focusing cursor switch, keeps it turned on the focusing cursor;
Acquiring unit, on the basis of the focusing cursor, obtaining the target area where the focusing cursor;
First parameter adjustment unit, for adjusting described according to the parameter configuration mode with shooting at close range patterns match The optical parametric of camera, shooting at close range is carried out to realize to the target area.
On the basis of the various embodiments described above, described device can also include:
Second state cell, for adjusting focusing cursor switch, remains off the focusing cursor;
Second parameter adjustment unit, for adjusting described according to the parameter configuration mode with wide-long shot patterns match The optical parametric of camera, wide-long shot is carried out to realize to the target area.
On the basis of the various embodiments described above, the detection module can include:
Real-time detection unit, for when it is determined that the camera of terminal is unlocked, opening range sensor, and by described The distance detection signal of range sensor transmitting carries out shelter detection in the shooting direction of the camera;
Wherein, the range sensor presses close to the camera setting of the terminal.
In the present embodiment, when it is determined that the camera of terminal is unlocked, opened in the real-time detection unit of detection module Range sensor, the distance detection signal detection terminal camera shooting direction of real time emission whether there is shelter, exist In the case of shelter, camera is calculated to the distance of shelter.It is true in mode decision module according to the testing result of shelter The screening-mode for determining terminal is shooting at close range pattern or wide-long shot pattern.If detected in the shooting direction of camera The distance between target occlusion thing and camera for arriving are less than the first threshold value, and the first threshold value could be arranged to 15cm, Then determine that the screening-mode of terminal is shooting at close range pattern by the first determining unit, now, opened in first state unit Focusing cursor, using acquiring unit, obtains the target area centered on cursor of focusing, target area can be one on paper Individual paragraph, camera is adjusted in the first parameter adjustment unit according to the parameter configuration mode with shooting at close range patterns match Optical parametric, can be the parameters such as brightness, contrast, realize being closely clearly captured to target area.If in shooting Shelter, or the target occlusion thing detected in the shooting direction of camera and shooting are not detected by the shooting direction of head The distance between head is more than the second threshold value, then the screening-mode of terminal is switched into wide-long shot in the second determining unit Pattern, wherein, the second threshold value can be equal with the first threshold value, can also be unequal with the first threshold value.Second Threshold value could be arranged to 15cm, the shelter in the shooting direction that range sensor detects camera and camera it Between distance be more than 15cm when, from shooting at close range pattern switching be wide-long shot pattern.Under wide-long shot pattern, Second state cell closes focusing cursor, in the second parameter adjustment unit, according to the ginseng with wide-long shot patterns match Number configuration mode adjusts the optical parametric of camera camera, and such as U.S. face, filter, target area is carried out at a distance with realizing Shoot.
The determining device for a kind of terminal taking pattern that the embodiment of the present invention six is provided, according to the measurement knot of range sensor Fruit carries out anticipation to the screening-mode of camera, is switched fast the screening-mode of camera, improves the efficiency of camera focusing, Consumer's Experience sense, and the optical parametric matched according to the screening-mode of camera camera, optimization with screening-mode are improved, Improve the quality of wide-long shot image.
The executable any embodiment of the present invention of the determining device of terminal taking pattern provided in an embodiment of the present invention is provided The determination method of terminal taking pattern, possesses the corresponding functional module of execution method and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of determination method of terminal taking pattern, it is characterised in that including:
When it is determined that the camera of terminal is unlocked, shelter detection is carried out in the shooting direction of the camera;
According to shelter testing result, the screening-mode of the terminal is determined.
2. according to the method described in claim 1, it is characterised in that according to shelter testing result, determine the bat of the terminal Pattern is taken the photograph, including:
If the distance between the target occlusion thing and the camera that are detected in the shooting direction of the camera is less than First threshold value, it is determined that the screening-mode of the terminal is shooting at close range pattern;
If being not detected by shelter in the shooting direction of the camera, or examined in the shooting direction of the camera The distance between target occlusion thing and the camera for measuring are more than the second threshold value, it is determined that the shooting mould of the terminal Formula is wide-long shot pattern.
3. method according to claim 2, it is characterised in that it is determined that the screening-mode of the terminal is shooting at close range After pattern, in addition to:
Regulation focusing cursor switch, keeps it turned on the focusing cursor;
On the basis of the focusing cursor, the target area where the focusing cursor is obtained;
The optical parametric of the camera is adjusted according to the parameter configuration mode with shooting at close range patterns match, with realization pair The target area carries out shooting at close range.
4. method according to claim 2, it is characterised in that it is determined that the screening-mode of the terminal is wide-long shot After pattern, in addition to:
Regulation focusing cursor switch, remains off the focusing cursor;
The optical parametric of the camera is adjusted according to the parameter configuration mode with wide-long shot patterns match, with realization pair The target area carries out wide-long shot.
5. according to the method described in claim 1, it is characterised in that when it is determined that the camera of terminal is unlocked, taken the photograph described Shelter detection is carried out in the shooting direction of picture head, including:
When it is determined that the camera of terminal is unlocked, range sensor, and the distance launched by the range sensor are opened Detection signal carries out shelter detection in the shooting direction of the camera;
Wherein, the range sensor presses close to the camera setting of the terminal.
6. a kind of determining device of terminal taking pattern, it is characterised in that including:
Detection module, for when it is determined that the camera of terminal is unlocked, being blocked in the shooting direction of the camera Analyte detection;
Mode decision module, for according to shelter testing result, determining the screening-mode of the terminal.
7. device according to claim 6, it is characterised in that the mode decision module includes:
First determining unit, if target occlusion thing and the shooting for being detected in the shooting direction of the camera The distance between head is less than the first threshold value, it is determined that the screening-mode of the terminal is shooting at close range pattern;
Second determining unit, if taken the photograph for being not detected by shelter in the shooting direction of the camera, or described As head shooting direction on the distance between the target occlusion thing that detects and the camera be more than the second threshold value, then really The screening-mode of the fixed terminal is wide-long shot pattern.
8. device according to claim 7, it is characterised in that described device also includes:
First state unit, for adjusting focusing cursor switch, keeps it turned on the focusing cursor;
Acquiring unit, on the basis of the focusing cursor, obtaining the target area where the focusing cursor;
First parameter adjustment unit, for adjusting the shooting according to the parameter configuration mode with shooting at close range patterns match The optical parametric of head, shooting at close range is carried out to realize to the target area.
9. device according to claim 7, it is characterised in that described device also includes:
Second state cell, for adjusting focusing cursor switch, remains off the focusing cursor;
Second parameter adjustment unit, for adjusting the shooting according to the parameter configuration mode with wide-long shot patterns match The optical parametric of head, wide-long shot is carried out to realize to the target area.
10. device according to claim 6, it is characterised in that the detection module includes:
Real-time detection unit, for when it is determined that the camera of terminal is unlocked, opening range sensor, and pass through the distance The distance detection signal of sensor emission carries out shelter detection in the shooting direction of the camera;
Wherein, the range sensor presses close to the camera setting of the terminal.
CN201710283332.9A 2017-04-26 2017-04-26 A kind of determination method and device of terminal taking pattern Pending CN106993137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710283332.9A CN106993137A (en) 2017-04-26 2017-04-26 A kind of determination method and device of terminal taking pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710283332.9A CN106993137A (en) 2017-04-26 2017-04-26 A kind of determination method and device of terminal taking pattern

Publications (1)

Publication Number Publication Date
CN106993137A true CN106993137A (en) 2017-07-28

Family

ID=59417793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710283332.9A Pending CN106993137A (en) 2017-04-26 2017-04-26 A kind of determination method and device of terminal taking pattern

Country Status (1)

Country Link
CN (1) CN106993137A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109035805A (en) * 2018-09-21 2018-12-18 深圳市九洲电器有限公司 A kind of intelligent identification Method and device of license plate number
CN109361859A (en) * 2018-10-29 2019-02-19 努比亚技术有限公司 A kind of image pickup method, terminal and storage medium
WO2019085786A1 (en) * 2017-10-31 2019-05-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method and device, electronic device and computer-readable storage medium
CN110336947A (en) * 2019-07-15 2019-10-15 西安邮电大学 A kind of image identification system based on deep learning
CN116389695A (en) * 2023-06-06 2023-07-04 深圳市城市公共安全技术研究院有限公司 Building site monitoring method and device, building site inspection equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376615A (en) * 2012-04-24 2013-10-30 鸿富锦精密工业(深圳)有限公司 Automatic focusing device and automatic focusing method
CN104469168A (en) * 2014-12-29 2015-03-25 信利光电股份有限公司 Shooting module and automatic focusing method thereof
CN105100634A (en) * 2015-07-09 2015-11-25 小米科技有限责任公司 Image photographing method and image photographing device
CN105323481A (en) * 2015-10-15 2016-02-10 广东欧珀移动通信有限公司 Ultrasonic-based photographing method and device
CN105635570A (en) * 2015-12-24 2016-06-01 广东欧珀移动通信有限公司 Shooting preview method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376615A (en) * 2012-04-24 2013-10-30 鸿富锦精密工业(深圳)有限公司 Automatic focusing device and automatic focusing method
CN104469168A (en) * 2014-12-29 2015-03-25 信利光电股份有限公司 Shooting module and automatic focusing method thereof
CN105100634A (en) * 2015-07-09 2015-11-25 小米科技有限责任公司 Image photographing method and image photographing device
CN105323481A (en) * 2015-10-15 2016-02-10 广东欧珀移动通信有限公司 Ultrasonic-based photographing method and device
CN105635570A (en) * 2015-12-24 2016-06-01 广东欧珀移动通信有限公司 Shooting preview method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019085786A1 (en) * 2017-10-31 2019-05-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method and device, electronic device and computer-readable storage medium
US10825150B2 (en) 2017-10-31 2020-11-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method and device, electronic device and computer-readable storage medium
CN109035805A (en) * 2018-09-21 2018-12-18 深圳市九洲电器有限公司 A kind of intelligent identification Method and device of license plate number
CN109361859A (en) * 2018-10-29 2019-02-19 努比亚技术有限公司 A kind of image pickup method, terminal and storage medium
CN110336947A (en) * 2019-07-15 2019-10-15 西安邮电大学 A kind of image identification system based on deep learning
CN116389695A (en) * 2023-06-06 2023-07-04 深圳市城市公共安全技术研究院有限公司 Building site monitoring method and device, building site inspection equipment and storage medium
CN116389695B (en) * 2023-06-06 2023-09-01 深圳市城市公共安全技术研究院有限公司 Building site monitoring method and device, building site inspection equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106993137A (en) A kind of determination method and device of terminal taking pattern
CN107635101B (en) Shooting method, shooting device, storage medium and electronic equipment
CN105528606B (en) Area recognizing method and device
CN105550637A (en) Contour point positioning method and contour point positioning device
TWI424361B (en) Object tracking method
WO2011123845A2 (en) A computing device interface
CN105095881A (en) Method, apparatus and terminal for face identification
CN107566749B (en) Shooting method and mobile terminal
CN101753775A (en) Imaging device
US10733762B2 (en) Dynamically calibrating a depth sensor
CN105245811B (en) A kind of kinescope method and device
CN109905641B (en) Target monitoring method, device, equipment and system
CN110491316A (en) A kind of projector and its method for controlling projection
CN106408567A (en) Imaging quality detection method and apparatus of camera
CN105528078A (en) Method and device controlling electronic equipment
CN110213486A (en) Image capturing method, terminal and computer readable storage medium
US11252387B2 (en) Projection apparatus, projection method and storage medium
CN102467742B (en) Object tracking method
CN105512658A (en) Image recognition method and device for rectangular object
CN111912530B (en) Body temperature measuring method, body temperature measuring device, temperature measuring system and readable storage medium
CN113191976A (en) Image shooting method, device, terminal and storage medium
CN104268517A (en) Automatic focusing method and system applied to iris recognition system
CN101980299B (en) Chessboard calibration-based camera mapping method
CN106412436A (en) Focusing method
CN111241869A (en) Method and device for checking materials and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170728