CN107147786B - Image acquisition control method and device for intelligent terminal - Google Patents

Image acquisition control method and device for intelligent terminal Download PDF

Info

Publication number
CN107147786B
CN107147786B CN201710313093.7A CN201710313093A CN107147786B CN 107147786 B CN107147786 B CN 107147786B CN 201710313093 A CN201710313093 A CN 201710313093A CN 107147786 B CN107147786 B CN 107147786B
Authority
CN
China
Prior art keywords
image acquisition
intelligent terminal
detection period
mode
current detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710313093.7A
Other languages
Chinese (zh)
Other versions
CN107147786A (en
Inventor
郑战海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL China Star Optoelectronics Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics 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 Shenzhen China Star Optoelectronics Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Technology Co Ltd
Priority to CN201710313093.7A priority Critical patent/CN107147786B/en
Publication of CN107147786A publication Critical patent/CN107147786A/en
Application granted granted Critical
Publication of CN107147786B publication Critical patent/CN107147786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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

Abstract

The embodiment of the invention discloses an image acquisition control method and device of an intelligent terminal. The method comprises the following steps: acquiring shooting direction information of a camera of the intelligent terminal in a current detection period; determining an image acquisition mode of the intelligent terminal in the current detection period according to the shooting direction information; if the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a question scanning mode, starting a benchmarking function and an image recognition function of the intelligent terminal; and if the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a shooting mode, closing the benchmarking function and the image recognition function of the intelligent terminal. By adopting the technical scheme, the embodiment of the invention can realize automatic switching of the image acquisition mode of the intelligent terminal and reduce the time consumed by switching the image acquisition mode.

Description

Image acquisition control method and device for intelligent terminal
Technical Field
The embodiment of the invention relates to the technical field of information processing, in particular to an image acquisition control method and device of an intelligent terminal.
Background
In recent years, with popularization of smart phone applications and increase of smart phone application scenes, people have more and more requirements on an image acquisition function of a smart phone.
At present, a camera photographing function becomes a standard configuration of a smart phone, and for a smart phone with a main user group being a student group, a question scanning function is often configured for the smart phone so as to meet the requirement of quick question query of student users. When the problem is scanned, in order to improve the scanning accuracy, the problem generally needs to be positioned by using laser or infrared rays, however, if the laser or infrared rays are used when people are photographed, the photographing effect of images can be affected, and even the human body is damaged, so that the problem scanning function and the photographing function of the smart phone generally cannot be used at the same time, that is, in the same application software or the same working mode, photographing of people and scanning of the problem generally cannot be realized at the same time, and different application software or working modes need to be correspondingly set for the photographing function and the problem scanning function of the smart phone.
However, the inventor finds that the prior art has the following technical defects in the process of implementing the invention: in the prior art, when a photographing function and a title scanning function of a smart phone are used, a user needs to manually switch between two application software or working modes corresponding to the photographing function and the title scanning function, so that the switching efficiency is low, long time needs to be consumed, and the problem scanning or photo shooting by the user is not facilitated.
Disclosure of Invention
In view of this, embodiments of the present invention provide an image acquisition control method and apparatus for an intelligent terminal, so as to solve the technical problems of low efficiency and long time consumption in switching an image acquisition mode in the prior art.
In a first aspect, an embodiment of the present invention provides an image acquisition control method for an intelligent terminal, including:
acquiring shooting direction information of a camera of the intelligent terminal in a current detection period;
determining whether the camera is in a bent state or not according to the shooting direction information, wherein an included angle between a vertical line of a plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value; if yes, determining that the image acquisition mode of the intelligent terminal in the current detection period is a scanning mode, and if not, determining that the image acquisition mode of the intelligent terminal in the current detection period is a shooting mode;
if the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a question scanning mode, starting a benchmarking function and an image recognition function of the intelligent terminal; and if the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a shooting mode, closing the benchmarking function and the image recognition function of the intelligent terminal.
In a second aspect, an embodiment of the present invention further provides an image acquisition control device for an intelligent terminal, including:
the shooting direction acquiring module is used for acquiring shooting direction information of a camera of the intelligent terminal in the current detection period;
the mode determining module is used for determining whether the camera is in a bent state or not according to the shooting direction information, and an included angle between a vertical line of a plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value; if yes, determining that the image acquisition mode of the intelligent terminal in the current detection period is a scanning mode, and if not, determining that the image acquisition mode of the intelligent terminal in the current detection period is a shooting mode;
the function adjusting module is used for starting a benchmarking function and an image recognition function of the intelligent terminal when an image acquisition mode of a current detection period is different from an image acquisition mode of a previous detection period and the image acquisition mode of the current detection period is a question scanning mode; and when the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a shooting mode, closing the benchmarking function and the image recognition function of the intelligent terminal.
The embodiment of the invention provides a control scheme for image acquisition of an intelligent terminal, and the control scheme is used for acquiring the shooting direction information of a camera of the intelligent terminal in the current detection period; if the shooting direction information is a downward shot and the included angle between the vertical line of the plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value, determining the image acquisition mode of the intelligent terminal in the current detection period as a scanning mode, and otherwise, determining the image acquisition mode of the intelligent terminal in the current detection period as a shooting mode; and if the determined image acquisition mode of the current detection period is the scanning mode and the image acquisition mode of the previous detection period is the shooting mode, starting the benchmarking function and the image recognition function of the intelligent terminal, and if the determined image acquisition mode of the current detection period is the shooting mode and the image acquisition mode of the previous detection period is the scanning mode, closing the benchmarking function and the image recognition function of the intelligent terminal. By adopting the technical scheme, the image acquisition mode of the intelligent terminal is controlled through the shooting direction information of the intelligent terminal camera, so that the automatic switching of the image acquisition mode of the intelligent terminal can be realized, the switching efficiency of the image acquisition mode of the intelligent terminal is improved, and the time consumed by manually switching the image acquisition mode is reduced.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a schematic flowchart of an image acquisition control method for an intelligent terminal according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an image acquisition control method for an intelligent terminal according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of an image acquisition control method of a preferred intelligent terminal according to a third embodiment of the present invention;
fig. 4 is a block diagram of an image acquisition control device of an intelligent terminal according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
The embodiment of the invention provides an image acquisition control method of an intelligent terminal. The method can be executed by an image acquisition control device of the intelligent terminal, the device can be realized by software and/or hardware, and the device can be generally integrated in the intelligent terminal. Fig. 1 is a schematic flowchart of an image acquisition control method of an intelligent terminal according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
s101, acquiring shooting direction information of a camera of the intelligent terminal in the current detection period.
In this embodiment, the shooting direction information of the intelligent terminal camera in the current detection period may be obtained according to the detection information reported by the angle detection device such as a gyroscope in the intelligent terminal. Wherein, the shooting direction information of camera can be for the camera place plane towards the perpendicular line of scenery side direction and the angle information of vertical downward direction, the perpendicular line and the contained angle information of vertical direction on camera place plane and the information of flat shot or bowing of shooting promptly.
For example, the detection information reported by the angle detection device may be shooting direction information of a camera or related information of the shooting direction of the camera, that is, the angle detection device may directly detect the shooting direction information of the camera or detect related information of the shooting direction of the camera, and accordingly, when the detection information reported by the angle detection device in the current detection period is the shooting direction information of the camera, the intelligent terminal may directly obtain the detection information reported by the angle detection device in the current detection period as the shooting direction information of the camera of the intelligent terminal in the current detection period; when the detection information reported by the detection device is related to the shooting direction of the camera, the intelligent terminal may perform corresponding operation using the detection information reported by the detection device as an argument to obtain the shooting direction information of the camera of the intelligent terminal in the current detection period, which is not limited herein. The intelligent terminal can acquire the shooting direction information of the camera in the current detection period at the beginning, middle and end of the current detection period or at other moments of the current detection period; the length of the detection period and the period length of the detection information reported by the angle detection device can be the same or different, and can be set by a user or a developer according to needs, for example, the default length of the detection period can be preset by an openers, and the user is allowed to adjust the length of the detection period according to needs; correspondingly, if the user does not set the detection period length, the shooting direction information of the intelligent terminal camera is obtained according to the default detection period length set by the developer.
Because the intelligent terminal is generally provided with a gyroscope for detecting the rotation angle of the intelligent terminal, considering the simplicity of the intelligent terminal, it is preferable that the rotation angle information of the mobile terminal detected by the gyroscope be directly used as the detection information reported by the angle detection device, and correspondingly, the intelligent terminal can determine the shooting direction information of the camera of the intelligent terminal in the current detection period according to the rotation angle information. For example, if the intelligent terminal is horizontally placed in the current detection period and the screen of the intelligent terminal faces vertically upwards, if the current camera started by the intelligent terminal is a rear camera with a plane parallel to the plane of the screen of the intelligent terminal, it can be determined that the shooting direction information of the camera of the intelligent terminal in the current detection period is a downward shooting and the included angle between the vertical line of the plane of the camera and the vertical direction is 0 degree; if the camera that intelligent terminal opened at present is the leading camera that the plane of place and intelligent terminal screen place plane are parallel, then can confirm that the shooting direction information of current detection cycle intelligent terminal's camera is for facing upward the bat and the camera place on the plane the perpendicular line and the contained angle of vertical direction be 0.
S102, determining whether the camera is in a downward shooting mode or not according to the shooting direction information, wherein an included angle between a vertical line of a plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value; if yes, determining that the image acquisition mode of the intelligent terminal in the current detection period is a scanning mode, and if not, determining that the image acquisition mode of the intelligent terminal in the current detection period is a shooting mode.
The problem scanning mode is used for carrying out character/figure recognition and search on characters or figures shot by the camera; the shooting mode is used for shooting the scenery in the shooting range of the camera. In this embodiment, when the user uses the question scanning mode, a test paper or a book, on which a question or text to be recognized is written or printed, is generally placed on a desktop, a camera is placed above the test paper or the book, and text information or graphic information in the test paper or the book is obtained by downward shooting through the camera, so that the image acquisition mode of the intelligent terminal can be controlled through shooting direction information of the camera, if the shooting direction information of the camera of the intelligent terminal is taken in a downward direction and an included angle between a vertical line of a plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value, it is determined that the user wants to use the question scanning mode of the intelligent terminal to perform text/graphic recognition and search, and the image acquisition mode of the intelligent terminal in the current detection period is determined as the question scanning mode; if the shooting direction information of the intelligent terminal camera is upward shooting, horizontal shooting or the included angle between the vertical line of the plane where the camera is located and the vertical direction is larger than a set angle threshold value, the fact that the user wants to use the intelligent terminal to shoot is judged, and the image acquisition mode of the intelligent terminal in the current detection period is determined as the shooting mode. The set angle threshold may be set by a user or a developer as needed, for example, the developer may set a default angle threshold of the intelligent terminal, and the user may adjust the angle threshold according to his own scanning or photographing requirement. In consideration of the accuracy of the determined image acquisition mode of the intelligent terminal, the range of the set angle threshold is preferably 0-40 °, for example, the set angle threshold may be set to 30 °, and at this time, if the camera performs downward shooting and an included angle between a perpendicular line of a plane where the camera is located and the vertical direction is less than or equal to 30 °, the image acquisition mode of the intelligent terminal in the current detection period is determined to be a scanning mode.
S103, if the image acquisition mode of the current detection period is different from the image acquisition mode of the previous detection period and the image acquisition mode of the current detection period is a question scanning mode, starting a benchmarking function and an image recognition function of the intelligent terminal; and if the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a shooting mode, closing the benchmarking function and the image recognition function of the intelligent terminal.
In this embodiment, when the image acquisition mode of the terminal device is changed from the shooting mode to the scanning mode, the benchmarking function of the intelligent terminal may be turned on to determine the area to be identified within the acquisition range of the camera, and the image identification function of the intelligent terminal may be turned on to identify the text and/or the graphics at the corresponding position of the area to be identified or the area to be identified within the screen; when the image acquisition mode of the terminal equipment is changed from the question scanning mode to the shooting mode, the benchmarking function and the image recognition function of the intelligent terminal can be closed, and in addition, the beautifying function of the intelligent terminal can be opened to process shot pictures.
The image acquisition control method of the intelligent terminal provided by the embodiment of the invention is characterized in that the shooting direction information of a camera of the intelligent terminal in the current detection period is obtained; if the shooting direction information is a downward shot and the included angle between the vertical line of the plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value, determining the image acquisition mode of the intelligent terminal in the current detection period as a scanning mode, and otherwise, determining the image acquisition mode of the intelligent terminal in the current detection period as a shooting mode; and if the determined image acquisition mode of the current detection period is the scanning mode and the image acquisition mode of the previous detection period is the shooting mode, starting the benchmarking function and the image recognition function of the intelligent terminal, and if the determined image acquisition mode of the current detection period is the shooting mode and the image acquisition mode of the previous detection period is the scanning mode, closing the benchmarking function and the image recognition function of the intelligent terminal. By adopting the technical scheme, the image acquisition mode of the intelligent terminal is controlled through the shooting direction information of the intelligent terminal camera, so that the automatic switching of the image acquisition mode of the intelligent terminal can be realized, the switching efficiency of the image acquisition mode of the intelligent terminal is improved, the time consumed by manually switching the image acquisition mode is reduced, and the use experience of a user is improved.
Example two
Fig. 2 is a schematic flowchart of an image acquisition control method for an intelligent terminal according to a second embodiment of the present invention, where this embodiment is optimized based on the foregoing embodiment, and further after determining that an image acquisition mode of the intelligent terminal in a current detection period is a topic scanning mode, the method further includes: acquiring shooting distance information between the camera and a scene to be shot; and if the shooting distance information is larger than a set distance threshold, modifying the image acquisition mode of the intelligent terminal in the current detection period into a shooting mode.
Further, after the benchmarking function and the image recognition function of the intelligent terminal are started, the method further comprises the following steps: transmitting a positioning signal to a scene to be shot; determining a region to be identified of the scenery to be shot according to the position information of the positioning signal on the scenery to be shot; the method comprises the steps of obtaining an image corresponding to a scene to be shot based on an image acquisition instruction input by a user, and identifying character and/or graphic information in the image to be recognized corresponding to a region to be recognized, wherein the image corresponding to the scene to be shot comprises the image to be recognized.
Correspondingly, as shown in fig. 2, the image acquisition control method of the intelligent terminal provided in this embodiment includes:
s201, acquiring shooting direction information of a camera of the intelligent terminal in the current detection period.
S202, determining whether the camera is in a bent state or not according to the shooting direction information, wherein an included angle between a vertical line of a plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold, if so, executing S203, and if not, executing S211.
S203, determining that the image acquisition mode of the intelligent terminal in the current detection period is a scanning mode.
And S204, acquiring shooting distance information between the camera and the scene to be shot, and executing S205 or S206.
In the embodiment, shooting distance information between the camera and the scenery to be shot can be acquired through the laser, infrared and ultrasonic equidistant sensors in the intelligent terminal. The scenery to be shot can be all scenery in the shooting range of the camera or scenery meeting the preset judgment condition in the shooting range of the camera, and the scenery to be shot is not limited in the position. At this time, for example, when the subject to be photographed is all the subjects within the photographing range of the camera, the photographing distance information between the camera and the subject to be photographed may be determined according to the average distance, the maximum distance, the minimum distance, or the like of the subject to be photographed. In consideration of the easy acquirability and accuracy of the shooting distance information, preferably, the scenery meeting the set judgment condition in the shooting range of the camera can be determined as the scenery to be shot, and at this time, the information such as the minimum distance, the average distance or the maximum distance between the side of the scenery to be shot facing the camera and the camera can be used as the shooting distance information between the scenery to be shot and the camera. The setting determination condition may be set as needed, for example, the setting determination condition may be set to be located at the center of the shooting range of the camera (that is, the generated image is located at the center of the screen of the smart terminal), or the distance from the camera is the smallest, and the like.
S205, if the shooting distance information is larger than a set distance threshold, modifying the image acquisition mode of the intelligent terminal in the current detection period into a shooting mode, and executing S212.
S206, if the shooting distance information is smaller than or equal to a set distance threshold, determining an image acquisition mode of the intelligent terminal in the current detection period as a scanning mode.
In this embodiment, when the user uses the question scanning mode, the camera is generally placed at a position close to the test paper or the book to ensure that clear images of characters and/or graphics on the test paper or the book can be acquired, so that the image acquisition mode of the intelligent terminal determined by the shooting direction information of the camera can be further corrected by the shooting distance information between the camera and the scenery to be shot, and if the image acquisition mode of the intelligent terminal determined by the shooting direction information of the camera is the question scanning mode, but the shooting distance information between the camera and the scenery to be shot is greater than a set distance threshold, the image acquisition mode of the intelligent terminal in the current detection period is corrected from the question scanning mode to the shooting mode; correspondingly, if the shooting distance information between the camera and the scenery to be shot is smaller than or equal to the set distance threshold, the image acquisition mode of the intelligent terminal in the current detection period is finally determined as the scanning mode, and therefore the accuracy of the image acquisition mode finally determined by the intelligent terminal is improved. The set distance threshold may be set by a user or a developer as needed, for example, the developer may set a default distance threshold of the intelligent terminal, and the user may adjust the distance threshold according to his own scanning or photographing requirement. Considering the accuracy of the finally determined image acquisition mode of the intelligent terminal, the range of the set distance threshold is preferably 5cm-30cm, and if the set distance threshold can be set to 20cm, at this time, if the image acquisition mode of the intelligent terminal determined by the shooting direction information of the camera is a scanning mode and the shooting distance information between the camera and the scenery to be shot is less than or equal to 20cm, the image acquisition mode of the intelligent terminal in the current detection period is finally determined to be the scanning mode; and finally determining that the image acquisition mode of the intelligent terminal in the current detection period is the shooting mode if the image acquisition mode of the intelligent terminal determined by the shooting direction information of the camera is the scanning mode but the shooting distance information between the camera and the scenery to be shot is more than 20 cm.
And S207, if the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period, starting the benchmarking function and the image recognition function of the intelligent terminal.
And S208, transmitting a positioning signal to the scene to be shot.
In this embodiment, a signal transmitting device in the intelligent terminal may transmit a positioning signal according to a set angle or direction, where the positioning signal may be a laser signal, an infrared signal, an ultrasonic signal, or the like, and is not limited herein.
S209, determining the area to be identified of the scenery to be shot according to the position information of the positioning signal on the scenery to be shot.
In this embodiment, the positioning signal may have a cross shape, a circular point, a rectangular point, a circular frame, a rectangular frame, or the like; the rule for determining the region to be identified may be set as needed, for example, a paragraph in which the positioning signal is located or a region surrounded by the positioning signal may be determined as the region to be identified, which is not limited herein. Correspondingly, when scanning the problems, the user can move the position of the positioning signal on the scenery to be shot through the mobile intelligent terminal, so that the position of the area to be identified of the scenery to be shot is controlled.
S210, acquiring an image corresponding to the scenery to be shot based on an image acquisition instruction input by a user, identifying character and/or graphic information in the image to be identified corresponding to the area to be identified, wherein the image corresponding to the scenery to be shot contains the image to be identified, and ending the operation.
In this embodiment, the image corresponding to the scene to be shot may simultaneously include the image to be recognized and the image corresponding to the positioning signal. At this time, for example, an image of a scene to be shot may be obtained according to an operation of a user, then an image to be recognized may be determined according to a position of a positioning signal image in the image corresponding to the scene to be shot, and text and/or graphic information in the image to be recognized may be recognized. The method for recognizing the text and/or graphic information in the image to be recognized may be set as required, for example, Optical Character Recognition (OCR) may be adopted to determine the text and/or graphic information in the image to be recognized.
For example, after determining the text and/or graphic information in the image to be recognized, the related information of the text and/or graphic information may be searched in a database corresponding to the intelligent terminal or through a network, and the related information may be fully or partially displayed to the user based on the user operation.
S211, determining that the image acquisition mode of the intelligent terminal in the current detection period is a shooting mode.
S212, if the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period, the benchmarking function and the image recognition function of the intelligent terminal are closed, and the operation is finished.
According to the image acquisition control method of the intelligent terminal provided by the embodiment of the invention, the image acquisition mode of the intelligent terminal is preliminarily determined through the shooting direction information of the camera of the intelligent terminal, and the determined image acquisition mode is corrected through the distance information between the camera and the scenery to be shot, so that the accuracy of the determined image acquisition mode of the intelligent terminal can be further improved, the automatic switching of the image acquisition mode of the intelligent terminal is realized, the switching efficiency of the image acquisition mode of the intelligent terminal is improved, the time consumed by manually switching the image acquisition mode is reduced, and the use experience of a user is improved.
EXAMPLE III
Fig. 3 is a schematic flowchart of an image acquisition control method for a preferred intelligent terminal according to a third embodiment of the present invention, where the method may be executed by an image acquisition control device of the intelligent terminal, as shown in fig. 3, and the method includes:
s301, acquiring shooting direction information of a camera of the intelligent terminal in the current detection period, shooting distance information between the camera and a scene to be shot and an image acquisition mode of the intelligent terminal in the last detection period, and executing S302 or S304.
S302, if the shooting direction information is a downward shooting, an included angle between a perpendicular line of a plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value, and the distance information is smaller than or equal to a set distance threshold value, determining that an image acquisition mode of the intelligent terminal in the current detection period is a scanning mode.
S303, if the image acquisition mode of the intelligent terminal in the last detection period is a shooting mode, starting the opposite sign function and the image recognition function of the intelligent terminal to perform title positioning and character recognition, acquiring the related information of the title as the information to be displayed based on the search function of the intelligent terminal, and executing S306.
Correspondingly, if the image acquisition mode of the intelligent terminal in the last detection period is the scanning mode, the related information of the title is acquired based on the search function of the intelligent terminal and is used as the information to be displayed
S304, if the shooting direction information is a horizontal shooting mode or an elevation shooting mode, and an included angle between a perpendicular line of a plane where the camera is located and the vertical direction is larger than a set angle threshold value or the distance information is larger than a set distance threshold value, determining that an image acquisition mode of the intelligent terminal in the current detection period is a shooting mode.
S305, if the image acquisition mode of the intelligent terminal in the last detection period is the question scanning mode, the benchmarking function and the image recognition function of the intelligent terminal are closed, and the image of the scenery to be shot is shot as information to be shown based on user operation.
Correspondingly, if the image acquisition mode of the intelligent terminal in the last detection period is the shooting mode, the image of the scenery to be shot is shot as the information to be shown based on the user operation
S306, displaying the information to be displayed to a user through a screen of the intelligent terminal.
According to the image acquisition control method of the preferred intelligent terminal provided by the third embodiment of the invention, the image acquisition mode of the intelligent terminal in the current detection period is determined according to the shooting direction information of the camera of the intelligent terminal and the shooting distance information between the camera and the scenery to be shot, so that the accuracy of the determined image acquisition mode of the intelligent terminal can be further improved, the automatic switching of the image acquisition mode of the intelligent terminal is realized, the switching efficiency of the image acquisition mode of the intelligent terminal is improved, the time consumed by manually switching the image acquisition mode is reduced, and the use experience of a user is improved.
Example four
The fourth embodiment of the invention provides an image acquisition control device of an intelligent terminal. The device can be realized by software and/or hardware, can be generally integrated in an intelligent terminal, and can realize the control of the image acquisition mode of the intelligent terminal by executing the image acquisition control method of the intelligent terminal. Fig. 4 is a block diagram of an image acquisition control device of an intelligent terminal provided in this embodiment, and as shown in fig. 4, the device includes:
a shooting direction obtaining module 401, configured to obtain shooting direction information of a camera of the intelligent terminal in a current detection period;
a mode determining module 402, configured to determine whether the camera is a bent shot according to the shooting direction information, where an included angle between a perpendicular line of a plane where the camera is located and a vertical direction is smaller than or equal to a set angle threshold; if yes, determining that the image acquisition mode of the intelligent terminal in the current detection period is a scanning mode, and if not, determining that the image acquisition mode of the intelligent terminal in the current detection period is a shooting mode;
the function adjusting module 403 is configured to, when an image acquisition mode of a current detection period is different from an image acquisition mode of a previous detection period and the image acquisition mode of the current detection period is a question scanning mode, start a benchmarking function and an image recognition function of the intelligent terminal; and when the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a shooting mode, closing the benchmarking function and the image recognition function of the intelligent terminal.
In the image acquisition control method of the intelligent terminal provided by the fourth embodiment of the present invention, the shooting direction information of the camera of the intelligent terminal in the current detection period is acquired through the shooting direction acquisition module; when the shooting direction information is a downward shot and an included angle between a perpendicular line of a plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value, the mode determining module determines an image stimulation mode of the intelligent terminal in the current detection period as a scanning mode, otherwise, the mode determining module determines an image acquisition mode of the intelligent terminal in the current detection period as a shooting mode; the method comprises the steps that when the determined image acquisition mode of the current detection period is the question scanning mode and the image acquisition mode of the previous detection period is the shooting mode, the function adjusting module starts the benchmarking function and the image recognition function of the intelligent terminal, and when the determined image acquisition mode of the current detection period is the shooting mode and the image acquisition mode of the previous detection period is the question scanning mode, the benchmarking function and the image recognition function of the intelligent terminal are closed. According to the technical scheme, the image acquisition mode of the intelligent terminal is controlled through the shooting direction information of the intelligent terminal camera, so that the automatic switching of the image acquisition mode of the intelligent terminal can be realized, the switching efficiency of the image acquisition mode of the intelligent terminal is improved, the time consumed by manually switching the image acquisition mode is reduced, and the use experience of a user is improved.
Further, the image acquisition control device of the intelligent terminal provided by this embodiment may further include: the distance information acquisition module is used for acquiring shooting distance information between the camera and a scene to be shot after the image acquisition mode of the intelligent terminal in the current detection period is determined to be a scanning mode; and the mode correction module is used for correcting the image acquisition mode of the intelligent terminal in the current detection period into a shooting mode when the shooting distance information is larger than a set distance threshold.
Further, the image acquisition control device of the intelligent terminal provided by this embodiment may further include: the signal generating module is used for transmitting a positioning signal to a scene to be shot after the benchmarking function and the image recognition function of the intelligent terminal are started; the to-be-identified area determining module is used for determining the to-be-identified area of the to-be-shot scenery according to the position information of the positioning signal on the to-be-shot scenery; and the information identification module is used for acquiring the image corresponding to the scenery to be shot based on an image acquisition instruction input by a user, identifying character and/or graphic information in the image to be recognized corresponding to the area to be recognized, wherein the image corresponding to the scenery to be shot contains the image to be recognized.
In the above aspect, the set angle threshold may range from 0 ° to 40 °.
In the above scheme, the range of the set distance threshold may be 5cm-30 cm.
The image acquisition control device of the intelligent terminal provided by the fourth embodiment of the invention can execute the image acquisition control method of the intelligent terminal provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the image acquisition control method of the intelligent terminal. For details of the technology that are not described in detail in this embodiment, reference may be made to the image acquisition control method of the intelligent terminal provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An image acquisition control method of an intelligent terminal is characterized by comprising the following steps:
acquiring shooting direction information of a camera of the intelligent terminal in a current detection period;
determining whether the camera is in a bent state or not according to the shooting direction information, wherein an included angle between a vertical line of a plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value; if so, determining that the image acquisition mode of the intelligent terminal in the current detection period is a question scanning mode, and if not, determining that the image acquisition mode of the intelligent terminal in the current detection period is a shooting mode, wherein the question scanning mode is used for performing character recognition and search on characters shot by a camera, or performing pattern recognition and search on patterns shot by the camera;
if the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a question scanning mode, starting a benchmarking function and an image recognition function of the intelligent terminal; and if the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a shooting mode, closing the benchmarking function and the image recognition function of the intelligent terminal, wherein the benchmarking function is used for determining the area to be recognized in the camera acquisition range.
2. The method according to claim 1, wherein after the determining that the image acquisition mode of the intelligent terminal in the current detection period is a scanning mode, the method further comprises:
acquiring shooting distance information between the camera and a scene to be shot;
and if the shooting distance information is larger than a set distance threshold, modifying the image acquisition mode of the intelligent terminal in the current detection period into a shooting mode.
3. The method according to claim 1, further comprising, after the starting of the benchmarking function and the image recognition function of the intelligent terminal:
transmitting a positioning signal to a scene to be shot;
determining a region to be identified of the scenery to be shot according to the position information of the positioning signal on the scenery to be shot;
the method comprises the steps of obtaining an image corresponding to a scene to be shot based on an image acquisition instruction input by a user, and identifying character and/or graphic information in the image to be recognized corresponding to a region to be recognized, wherein the image corresponding to the scene to be shot comprises the image to be recognized.
4. The method of claim 1, wherein the set angle threshold is in a range of 0 ° -40 °.
5. The method of claim 2, wherein the set distance threshold is in a range of 5cm to 30 cm.
6. The utility model provides an intelligent terminal's image acquisition controlling means which characterized in that includes:
the shooting direction acquiring module is used for acquiring shooting direction information of a camera of the intelligent terminal in the current detection period;
the mode determining module is used for determining whether the camera is in a bent state or not according to the shooting direction information, and an included angle between a vertical line of a plane where the camera is located and the vertical direction is smaller than or equal to a set angle threshold value; if so, determining that the image acquisition mode of the intelligent terminal in the current detection period is a question scanning mode, and if not, determining that the image acquisition mode of the intelligent terminal in the current detection period is a shooting mode, wherein the question scanning mode is used for performing character recognition and search on characters shot by a camera, or performing pattern recognition and search on patterns shot by the camera;
the function adjusting module is used for starting a benchmarking function and an image recognition function of the intelligent terminal when an image acquisition mode of a current detection period is different from an image acquisition mode of a previous detection period and the image acquisition mode of the current detection period is a question scanning mode; and when the image acquisition mode of the current detection period is different from the image acquisition mode of the last detection period and the image acquisition mode of the current detection period is a shooting mode, closing the benchmarking function and the image recognition function of the intelligent terminal, wherein the benchmarking function is used for determining the area to be recognized in the camera acquisition range.
7. The apparatus of claim 6, further comprising:
the distance information acquisition module is used for acquiring shooting distance information between the camera and a scene to be shot after the image acquisition mode of the intelligent terminal in the current detection period is determined to be a scanning mode;
and the mode correction module is used for correcting the image acquisition mode of the intelligent terminal in the current detection period into a shooting mode when the shooting distance information is larger than a set distance threshold.
8. The apparatus of claim 6, further comprising:
the signal generating module is used for transmitting a positioning signal to a scene to be shot after the benchmarking function and the image recognition function of the intelligent terminal are started;
the to-be-identified area determining module is used for determining the to-be-identified area of the to-be-shot scenery according to the position information of the positioning signal on the to-be-shot scenery;
and the information identification module is used for acquiring the image corresponding to the scenery to be shot based on an image acquisition instruction input by a user, identifying character and/or graphic information in the image to be recognized corresponding to the area to be recognized, wherein the image corresponding to the scenery to be shot contains the image to be recognized.
9. The apparatus of claim 6, wherein the set angle threshold is in a range of 0 ° -40 °.
10. The apparatus of claim 7, wherein the set distance threshold is in a range of 5cm to 30 cm.
CN201710313093.7A 2017-05-05 2017-05-05 Image acquisition control method and device for intelligent terminal Active CN107147786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710313093.7A CN107147786B (en) 2017-05-05 2017-05-05 Image acquisition control method and device for intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710313093.7A CN107147786B (en) 2017-05-05 2017-05-05 Image acquisition control method and device for intelligent terminal

Publications (2)

Publication Number Publication Date
CN107147786A CN107147786A (en) 2017-09-08
CN107147786B true CN107147786B (en) 2020-03-24

Family

ID=59777997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710313093.7A Active CN107147786B (en) 2017-05-05 2017-05-05 Image acquisition control method and device for intelligent terminal

Country Status (1)

Country Link
CN (1) CN107147786B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109063709A (en) * 2018-07-10 2018-12-21 青岛真时科技有限公司 A kind of method, apparatus and wearable device of the Text region of wearable device
CN110276335A (en) * 2019-07-04 2019-09-24 华中师范大学 A kind of mobile terminal paper acquisition method and device
CN111814800A (en) * 2020-07-24 2020-10-23 广州广杰网络科技有限公司 Aged book and newspaper reader based on 5G + AIoT technology and use method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935823A (en) * 2015-06-23 2015-09-23 上海卓易科技股份有限公司 Method and device for entering shooting status and intelligent terminal
CN105763786A (en) * 2014-12-15 2016-07-13 联想(北京)有限公司 Information processing method and electronic device
CN106060391A (en) * 2016-06-27 2016-10-26 联想(北京)有限公司 Method and device for processing working mode of camera, and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489359A (en) * 2002-10-08 2004-04-14 宋柏君 OCR mobile phone
CN1767676A (en) * 2004-10-27 2006-05-03 宋柏君 Character recognition handset
CN101262513A (en) * 2008-04-24 2008-09-10 陶建新 Miniature scanner shooting mobile phone
TWI464691B (en) * 2010-11-16 2014-12-11 Pixart Imaging Inc Image-sensing module and optical signal processing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763786A (en) * 2014-12-15 2016-07-13 联想(北京)有限公司 Information processing method and electronic device
CN104935823A (en) * 2015-06-23 2015-09-23 上海卓易科技股份有限公司 Method and device for entering shooting status and intelligent terminal
CN106060391A (en) * 2016-06-27 2016-10-26 联想(北京)有限公司 Method and device for processing working mode of camera, and electronic equipment

Also Published As

Publication number Publication date
CN107147786A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
JP6392468B2 (en) Region recognition method and apparatus
US9602728B2 (en) Image capturing parameter adjustment in preview mode
CN108399349B (en) Image recognition method and device
US10007841B2 (en) Human face recognition method, apparatus and terminal
US20140300779A1 (en) Methods and apparatuses for providing guide information for a camera
US9269009B1 (en) Using a front-facing camera to improve OCR with a rear-facing camera
US9838616B2 (en) Image processing method and electronic apparatus
JP2010004118A (en) Digital photograph frame, information processing system, control method, program, and information storage medium
CN103916592A (en) Apparatus and method for photographing portrait in portable terminal having camera
CN107147786B (en) Image acquisition control method and device for intelligent terminal
CN109257537B (en) Photographing method and device based on intelligent pen, intelligent pen and storage medium
JP2011095862A (en) Apparatus and method for processing image and program
CN110930329A (en) Starry sky image processing method and device
CN110463177A (en) The bearing calibration of file and picture and device
CN106297734B (en) Screen brightness adjusting method and device for electronic terminal
JP2017509090A (en) Image classification method and apparatus
CN102857685A (en) Image capturing method and image capturing system
CN112560649A (en) Behavior action detection method, system, equipment and medium
CN106648042B (en) Identification control method and device
US20130308829A1 (en) Still image extraction apparatus
CN110286813A (en) Picture mark position determines method and apparatus
CN110602384A (en) Exposure control method and electronic device
CN111212228B (en) Image processing method and electronic device
CN112752031A (en) Image acquisition detection method and device, electronic equipment and storage medium
WO2019205566A1 (en) Method and device for displaying image

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