CN112153289A - Photographing control method and system, smart watch and storage medium - Google Patents

Photographing control method and system, smart watch and storage medium Download PDF

Info

Publication number
CN112153289A
CN112153289A CN202011031267.9A CN202011031267A CN112153289A CN 112153289 A CN112153289 A CN 112153289A CN 202011031267 A CN202011031267 A CN 202011031267A CN 112153289 A CN112153289 A CN 112153289A
Authority
CN
China
Prior art keywords
photographing
translation
focusing motor
type
initial position
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
CN202011031267.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 CN202011031267.9A priority Critical patent/CN112153289A/en
Publication of CN112153289A publication Critical patent/CN112153289A/en
Pending legal-status Critical Current

Links

Images

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/62Control of parameters via user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/42Data-driven translation
    • G06F40/45Example-based machine translation; Alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/42Data-driven translation
    • G06F40/47Machine-assisted translation, e.g. using translation memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • 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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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/67Focus control based on electronic image sensor signals
    • H04N23/675Focus control based on electronic image sensor signals comprising setting of focusing regions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides a photographing control method, a photographing control system, an intelligent watch and a storage medium, wherein the method comprises the following steps: acquiring an operation signal; analyzing the operation signal to obtain an operation request type; when the operation request type is a photographing translation type, adjusting the focusing state of the focusing motor to perform photographing translation according to the first camera algorithm and the initial position of the focusing motor; and when the operation request type is a framing photographing type, adjusting the focusing state of the focusing motor to photograph framing according to the second camera algorithm and the initial position of the focusing motor. The invention purposefully optimizes the application of the camera, improves the focusing speed and greatly improves the photographing translation efficiency.

Description

Photographing control method and system, smart watch and storage medium
Technical Field
The invention relates to the technical field of mobile communication, in particular to a photographing control method, a photographing control system, an intelligent watch and a storage medium.
Background
With the continuous development of intelligent mobile communication, intelligent mobile devices, such as smart phones, tablet computers, intelligent translation devices, smart watches, smart table lamps and the like, have become indispensable devices in the hands of people, and are convenient for people to use in work and life. For the translation function of the smart mobile device, most manufacturers can design the smart mobile device to be translated by app voice, translated by photographing, and the like.
At present, most manufacturers of intelligent mobile equipment use the same algorithm logic and the same algorithm parameters for camera applications with cameras and third-party camera applications, so that the problems that the experience of each camera application cannot be optimized in a targeted manner, the focusing speed is low, the recognition accuracy is low are brought, and the photographing translation experience is greatly reduced.
Disclosure of Invention
The invention aims to provide a photographing control method, a photographing control system, an intelligent watch and a storage medium, which aim to optimize camera application, improve focusing speed and greatly improve photographing translation efficiency.
The technical scheme provided by the invention is as follows:
the invention provides a photographing control method, which comprises the following steps:
acquiring an operation signal;
analyzing the operation signal to obtain a request resolution and an operation request type corresponding to the request resolution;
when the operation request type is a photographing translation type, adjusting the focusing motor to a near-focus position range for photographing translation according to a first camera algorithm and the initial position of the focusing motor;
and when the operation request type is a framing photographing type, adjusting the focusing motor to a far focus position range for photographing framing according to a second camera algorithm and the initial position of the focusing motor.
Further, the acquiring the operation signal comprises the steps of:
when a photographing view finding control is displayed on an operation interface, acquiring the operation signal according to a touch event of the photographing view finding control;
and when the photographing translation control is displayed on an operation interface, acquiring the operation signal according to the touch event of the photographing translation control.
Further, when the operation request type is a photographing translation type, adjusting the focusing motor to a near focus position range for photographing translation according to the first camera algorithm and the initial position of the focusing motor comprises the steps of:
screening out candidate set pixel sizes matched with the size of the first target resolution when the operation request type is a photographing translation type, and acquiring a first camera algorithm;
comparing the initial position value with the set position value, and controlling the focal length of the focusing motor to be adjusted to a near-focus position range if the initial position is larger than the set position value;
when the focusing motor is in the range of the close-focus position, photographing according to the candidate set pixel size and the first camera algorithm to obtain image data including a target to be translated;
and extracting and translating according to the image data to obtain a photographing translation result and displaying the photographing translation result.
Further, when the operation request type is a framing photographing type, adjusting the focusing motor to a far focus position range for photographing framing according to a second camera algorithm and an initial position of the focusing motor comprises the following steps:
screening out candidate set pixel sizes matched with the size of the second request resolution when the operation request type is a framing photographing type, and acquiring a second camera algorithm;
comparing the initial position value with the set position value, and controlling the focal length of the focusing motor to be adjusted to a far-focus position range if the initial position is larger than the set position value;
and when the focusing motor is in the far-focus position range, photographing according to the candidate set pixel size and the second camera algorithm to acquire image data including a photographed object.
The present invention also provides a photographing control system, comprising:
the acquisition module is used for acquiring an operation signal;
the processing module is used for analyzing the operation signal to obtain a request resolution and an operation request type corresponding to the request resolution;
the translation control module is used for adjusting the focusing motor to a position close to the focusing position for photographing translation according to a first camera algorithm and the initial position of the focusing motor when the operation request type is a photographing translation type;
and the photographing control module is used for adjusting the focusing motor to a far focus position range for photographing and framing according to the second camera algorithm and the initial position of the focusing motor when the operation request type is a framing photographing type.
Further, the obtaining module includes:
the first request acquisition unit is used for acquiring the operation signal according to a touch event of the photographing view finding control when the photographing view finding control is displayed on an operation interface;
and the second request acquisition unit is used for acquiring the operation signal according to the touch event of the photographing translation control when the photographing translation control is displayed on the operation interface.
Further, the translation control module includes:
the first screening unit is used for screening out candidate set pixel sizes matched with the size of the first target resolution when the operation request type is a photographing translation type, and acquiring a first camera algorithm;
the first control unit is used for comparing a set position value with the initial position value, and controlling the focal length of the focusing motor to be adjusted to a near-focus position range if the initial position is larger than the set position value;
the first photographing unit is used for photographing according to the candidate set pixel size and the first camera algorithm to acquire image data including a target to be translated when the focusing motor is in the close-focus position range;
and the first processing unit is used for extracting and translating according to the image data to obtain a photographing translation result and displaying the photographing translation result.
Further, the photographing control module comprises:
the second screening unit is used for screening out candidate set pixel sizes matched with the size of the second request resolution ratio when the operation request type is a framing photographing type, and acquiring a second camera algorithm;
the second control unit is used for comparing a set position value with the initial position value, and controlling the focal length of the focusing motor to be adjusted to a far-focus position range if the initial position is larger than the set position value;
and the second photographing unit is used for photographing according to the candidate set pixel size and the second camera algorithm to acquire image data including a photographed object when the focusing motor is in the far-focus position range.
The invention also provides an intelligent watch, which comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the processor is used for executing the computer program stored in the memory and realizing the operation executed by the photographing control method.
The invention also provides a storage medium, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to realize the operation executed by the photographing control method.
By the photographing control method and system, the smart watch and the storage medium, camera application can be optimized in a targeted manner, focusing speed is increased, and photographing translation efficiency is greatly improved.
Drawings
The above features, technical features, advantages and implementations of a photographing control method, system, smart watch and storage medium will be further described in the following detailed description of preferred embodiments in a clearly understandable manner, in conjunction with the accompanying drawings.
FIG. 1 is a flow chart of one embodiment of a picture taking control method of the present invention;
FIG. 2 is a flow chart of another embodiment of a photographing control method according to the present invention;
FIG. 3 is a flowchart of another embodiment of a photographing control method according to the present invention;
FIG. 4 is a flowchart of another embodiment of a photographing control method according to the present invention;
FIG. 5 is a flowchart of another embodiment of a photographing control method according to the present invention;
FIG. 6 is a schematic structural diagram of a photographing control system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an embodiment of a smart watch of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
An embodiment of the present invention, as shown in fig. 1, is a photographing control method including:
s100, acquiring an operation signal;
s200, analyzing the operation signal to obtain a request resolution and an operation request type corresponding to the request resolution;
s300, when the operation request type is a photographing translation type, adjusting the focusing motor to a near-focus position range for photographing translation according to the first camera algorithm and the initial position of the focusing motor;
and S400, when the operation request type is a framing photographing type, adjusting the focusing motor to a far focus position range to perform photographing framing according to the second camera algorithm and the initial position of the focusing motor.
Specifically, the mobile device is installed with a photographing translation application (i.e., a word fetching translation APP), and the mobile device is provided with photographing software (i.e., a photographing APP). In addition, the word taking and translating APP in the mobile device takes a picture by using the first camera algorithm, and the picture taking APP takes a picture by using the second camera algorithm. The camera algorithm includes hdr (high dynamic range) algorithm, sfnr (single frame noise reduction) algorithm, (detail enhancement) algorithm, and the like. No matter what kind of camera algorithm is used by the word fetching translation APP and the photographing APP, the camera algorithms used by the word fetching translation APP and the photographing APP are different, and the algorithm parameters for setting the word fetching translation APP and the photographing APP are also different, wherein the algorithm parameters include but are not limited to resolution, sensitivity and focal length. The mobile device presets the relationship between the photographing translation function, the photographing view-finding function and the requested resolution, and further can acquire the operation request type corresponding to the operation signal according to the requested resolution.
The mobile equipment acquires input information of a user, the input mode can be click touch input, key input or voice input, and an operation signal is acquired according to the input information. For example, the user clicks the word fetching translation APP to trigger the photographing translation function to acquire a corresponding operation signal, or the user clicks the photographing APP to trigger the photographing view finding function to acquire a corresponding operation signal. After the mobile equipment acquires the operation signal, the processor of the mobile equipment analyzes the operation signal to obtain the requested resolution, and therefore the operation request type of the user operation is analyzed and obtained according to the corresponding relation between the photographing translation function, the photographing view finding function and the requested resolution.
And if the operation request type is a photographing translation type, adjusting the focal length value of the focusing motor to a near-focus position range according to the first camera algorithm and the initial position of the focusing motor, and then photographing and acquiring image data comprising the target to be translated according to the target to be translated aligned by the lens. Then, the mobile device extracts and translates the image data obtained by shooting to obtain a shooting translation result, and the mobile device displays the shooting translation result to the user.
And if the operation request type is a framing photographing type, adjusting the focal length value of the focusing motor to a far-focus position range according to the second camera algorithm and the initial position of the focusing motor, and then photographing and acquiring image data comprising the photographing object according to the photographing object aligned by the lens.
In this embodiment, start the camera function through getting word translation APP, fix at nearly focus position scope after will focusing motor power-on through software processing mode to quick shooting obtains image data so that the translation of shooing, need not to focus motor execution complete auto focus, reduces focus search time, improves the translation efficiency of shooing, thereby makes the user obtain required translation result fast, promotes the user greatly to the experience effect of shooing the translation. In addition, the camera function is started through the photographing APP, the focusing motor is electrified and then fixed in the far-focus position range through a software processing mode, so that image data can be rapidly photographed and acquired, photographing is completed, the focusing motor is not required to perform complete automatic focusing, the focus searching time is shortened, and the photographing efficiency is improved.
An embodiment of the present invention, as shown in fig. 2, is a photographing control method, including:
s110, when the photographing view finding control is displayed on the operation interface, acquiring an operation signal according to a touch event of the photographing view finding control;
s120, when the photographing translation control is displayed on the operation interface, acquiring an operation signal according to a touch event for the photographing translation control;
s200, analyzing the operation signal to obtain a request resolution and an operation request type corresponding to the request resolution;
s300, when the operation request type is a photographing translation type, adjusting the focusing motor to a near-focus position range for photographing translation according to the first camera algorithm and the initial position of the focusing motor;
and S400, when the operation request type is a framing photographing type, adjusting the focusing motor to a far focus position range to perform photographing framing according to the second camera algorithm and the initial position of the focusing motor.
Specifically, the mobile device is installed with a photographing translation application (i.e. word-taking translation APP), and of course, the mobile device is also installed with a photographing application (i.e. photographing APP) installed in the system itself or in addition, and the photographing APP includes APP software such as a camera installed in the system itself, a beautiful picture show, a POCO camera, and the like. The display interface of the mobile device can display a control icon of the word-taking translation APP and a control icon of the photographing APP.
When the user can click the control icon of the word-taking translation APP, the image translation operation interface entering the word-taking translation APP is started. Or the user voice input triggers and starts an image translation operation interface entering the word extraction translation APP. And after the mobile equipment is switched to enter the image translation operation interface. And if the user touches and clicks the photographing translation control, the mobile equipment generates an operation signal for a touch event of the photographing translation control.
When the user can click the control icon of the photographing APP, the camera photographing operation interface of the photographing APP is started. Or the user voice input triggers and starts a camera shooting operation interface entering the shooting APP. And if the user touches and clicks the photographing view finding control, the mobile device generates an operation signal for the touch event of the photographing view finding control.
In this embodiment, start the camera function through getting word translation APP, fix at nearly focus position scope after will focusing motor power-on through software processing mode to quick shooting obtains image data so that the translation of shooing, need not to focus motor execution complete auto focus, reduces focus search time, improves the translation efficiency of shooing, thereby makes the user obtain required translation result fast, promotes the user greatly to the experience effect of shooing the translation. In addition, the camera function is started through the photographing APP, the focusing motor is electrified and then fixed in the far-focus position range through a software processing mode, so that image data can be rapidly photographed and acquired, photographing is completed, the focusing motor is not required to perform complete automatic focusing, the focus searching time is shortened, and the photographing efficiency is improved.
In an embodiment of the present invention, as shown in fig. 3, a photographing control method includes:
s100, acquiring an operation signal;
s200, analyzing the operation signal to obtain a request resolution and an operation request type corresponding to the request resolution;
s310, screening out candidate set pixel sizes matched with the size of the first target resolution when the operation request type is a photographing translation type, and acquiring a first camera algorithm;
s320, comparing the set position value with the initial position value, and controlling the focal length of the focusing motor to be adjusted to a near-focus position range if the initial position is larger than the set position value;
s330, when the focusing motor is in the range of the close-focus position, photographing according to the candidate set pixel size and the first camera algorithm to obtain image data including a target to be translated;
s340, extracting and translating according to the image data to obtain and display a photographing translation result;
specifically, the range of the position of the near focus is 7cm-15cm, and the range of the position of the far focus is 15cm-55 cm. The focusing module comprises a lens, a focusing motor, a motor driving chip and a photosensitive chip. The lens and the photosensitive chip are the main imaging devices, and the focusing motor and the motor driving chip are the main automatic focusing devices. The principle of auto-focusing is simply that when an object is in a distant view and a close view respectively, the corresponding imaging positions are different, and the distance between the lens and the photosensitive chip needs to be adjusted, so that a clear imaging effect can be obtained on the photosensitive chip all the time. For the focusing module, the lens is fixed, and is mainly realized by driving the lens to move by a focusing motor.
After the mobile device obtains the operation signal, the source of the operation signal is analyzed to obtain the operation request type and the corresponding request resolution. The resolution determines how fine the bitmap image details are. Generally, the higher the resolution of an image, the more pixels are included and the sharper the image. The mobile device presets the relationship between the photographing translation function, the photographing view-finding function and the requested resolution, and further can acquire the operation request type corresponding to the operation signal according to the requested resolution.
The operation request type is set to be a photographing translation type corresponding to a first request resolution, the operation request type is set to be a framing photographing type corresponding to a second request resolution, and the first request resolution is different from the second request resolution. In addition, the mobile device may preset a plurality of set pixel sizes according to the current photographing and imaging specification, for example, the set of set pixel sizes ═ 640x480, 1600x1200, 3264x2488, 4208x3120, and so on.
In this way, when the mobile device analyzes that the operation request type is the photo translation type according to the relationship between the photo translation function, the photo framing function and the requested resolution, the mobile device screens out a candidate set pixel size adapted to the size of the first requested resolution from all set pixel sizes. Then, the mobile device compares the set position value with the initial position of the focusing motor, and controls the focal length of the focusing motor to be adjusted to the range of the close-focus position if the initial position is larger than the set position value. When the focusing motor is in the close-focus position range, the mobile equipment aims at the target to be translated according to the candidate set pixel size and the first camera algorithm so as to take a picture and acquire image data comprising the target to be translated.
Optionally, the language translation type control icon can be set while the function control icon is displayed on the operation interface of the word-taking translation APP, so that a user can select a target language type to be translated. Specifically, before the user needs to translate the text, the translation language type of the text needs to be set, that is, the user selects and inputs the language of the translation, so that the word-taking translation APP translates the text of the target to be translated to the target language.
An operation interface of the word-taking translation APP is provided with a translation function control icon. If the user can click on the translation function control icon, the photo translation function is initiated. Thus, the mobile device will adjust the focal length of the focus motor directly to the near focus position range. The target to be translated is the text content including the text that the user needs to translate, and the target to be translated can be the text content including different language types (English, Chinese, Korean, Japanese, etc.).
It should be noted that the language of the text of the target to be translated is collected and identified by the word-taking translation APP field, so that the user does not need to judge and set the language of the text of the target to be translated separately, the operation of the user is saved, and the efficiency of photographing and translating is improved.
For example, a user needs to set a target translation language, that is, a translation language, in a mobile device, and when the user sets the translation language to be "english", text content extracted from image data collected by a camera of the mobile device is "Photo translation", the mobile device translates the "Photo translation" into "Photo translation" according to the translation language "english" preset by the user, and displays the Photo translation "as a final translation result to the user.
Preferably, when the processor of the mobile device receives an image data, the image data is binarized to obtain a binarized image, and the mobile device extracts and identifies the text content in the image from the binarized image data by the processor and stores the text content. And then, the mobile equipment calls a local database to perform translation processing on the text content according to the local translation plug-in to obtain a photographing translation result. Of course, the mobile device can also call a remote database through the network to perform online translation on the text content to obtain a photographing translation result.
In the prior art, the same photographing algorithm and algorithm parameters are used for the photographing APP and the word-taking translation APP, and the photographing default in the prior art is preferably close to focus. According to the method, different request resolutions are called through the camera APP and the photographing translation to distinguish the request types of the operation signals, and then when the request types are the photographing translation, the matched candidate set pixel size is screened according to the first request resolution, and the first camera algorithm and the candidate set pixel size are adopted for photographing to obtain the image data including the target to be translated. Meanwhile, when the request type is the photographing translation, the set position value is introduced so as to judge the set position value and the initial position of the focusing motor, the size of the set position value and the initial position is judged, and if the initial position is larger than the set position value, the focus of the focusing motor is controlled to be adjusted to the range of the near focus position, so that the photographing translation is preferentially focused. For the use scenes of the photographed and translated products, the search stroke of the focusing motor is shortened in a targeted manner, so that the aim of further improving the focusing speed is fulfilled, the focusing speed is high, and the imaging quality is stable. The focusing motor is electrified and then fixed in a corresponding focus position, namely a near focus position range, a first photographing algorithm is adopted to quickly photograph and acquire image data so as to perform photographing translation, a focusing module is not required to perform complete automatic focusing, focus searching time is reduced, focusing speed is high, imaging quality is stable, photographed image data is clear, quality is good, photographing translation efficiency can be improved, photographing translation accuracy can also be improved, a user can quickly acquire a required translation result, and the experience effect of the user on photographing translation is greatly improved.
S410, screening out candidate set pixel sizes matched with the size of the second requested resolution ratio when the operation request type is a framing photographing type, and acquiring a second camera algorithm;
s420, comparing the set position value with the initial position value, and controlling the focal length of the focusing motor to be adjusted to a far-focus position range if the initial position is larger than the set position value;
and S430, when the focusing motor is in the far-focus position range, photographing according to the candidate set pixel size and the second camera algorithm to acquire image data including the photographic object.
Specifically, when the mobile device analyzes that the operation request type is the framing photographing type according to the relationship between the photographing translation function, the photographing view-finding function, and the request resolution, the mobile device screens out a candidate set pixel size adapted to the size of the second request resolution from all set pixel sizes. Then, the mobile device compares the set position value with the initial position of the focusing motor, and controls the focal length of the focusing motor to be adjusted to the far-focus position range if the initial position is larger than the set position value. When the focusing motor is in the far-focus position range, the mobile equipment aligns the shot object according to the candidate set pixel size and the second camera algorithm so as to take a picture and acquire image data comprising the shot object to complete a common picture taking function.
In the prior art, the same photographing algorithm and algorithm parameters are used for the photographing APP and the word-taking translation APP, and the photographing default in the prior art is preferably far focus. According to the method, different request resolutions are called through the camera APP and the photographing translation to distinguish the request types of the operation signals, and then when the request types are framing photographing, the matched candidate set pixel size is screened according to the second request resolution, and the second camera algorithm and the candidate set pixel size are adopted for photographing to obtain the image data including the photographing object. Meanwhile, when the request type is framing and photographing, the set position value is introduced so as to judge the set position value and the initial position of the focusing motor, the size of the set position value and the initial position is judged, and if the initial position is larger than the set position value, the focal length of the focusing motor is controlled to be adjusted to a far focus position range, so that the photographing translation is preferentially focused. For the product use scene of the shooting view finding, the search stroke of the focusing motor is pertinently shortened, so that the aim of further improving the focusing speed is fulfilled, the focusing speed is high, and the imaging quality is stable. The focusing motor is electrified and then fixed in a corresponding focus position, namely a far focus position range, a first photographing algorithm is adopted to quickly photograph and acquire image data so as to finish photographing and framing, a focusing module is not required to execute complete automatic focusing, the focus searching time is reduced, the focusing speed is high, the imaging quality is stable, the photographed image data is clear, the quality is good, and the photographing effect of a user is greatly improved.
For example, as shown in fig. 4 and fig. 5, when the mobile device acquires the operation signal, and assuming that the APP request size (i.e., the request resolution of the present invention) in the operation signal is 3200x2000, the candidate set pixel size matching the first request resolution is 3264x2488 according to the set pixel size and the underlying sensor adaptation size. According to the first request resolution, the operation signal is initiated from the word fetching translation APP, the request type is a photo translation type, and the request type is a photo translation. The mobile device therefore obtains the first photographing algorithm from a local call. In addition, the mobile equipment is transferred into start-pos, namely the initial position of the focusing motor, and a virtual variable mid-zone (namely the set position value of the invention) is preset in the mobile equipment. And comparing the size of the mobile equipment start-pos with the size of the mid-zone, and in this case, if the initial position is larger than the set position value, photographing by the mobile equipment according to the candidate set pixel size and the first camera algorithm to acquire the image data comprising the target to be translated. Assuming that the second requested resolution in the operation signal is 4000x3000, performing matching according to the set of set pixel sizes results in a candidate set pixel size that matches the first requested resolution being 4208x 3120. According to the second request resolution, the operation signal is initiated from the word fetching translation APP, and the request type is a framing photographing type. Therefore, the mobile device obtains the second photographing algorithm from a local call, and in this case, if the initial position is greater than the set position value, the mobile device photographs according to the candidate set pixel size and the second camera algorithm to obtain image data including the photographic subject.
In an embodiment of the present invention, as shown in fig. 6, a photographing control system includes:
an obtaining module 10, configured to obtain an operation signal;
the processing module 20 is configured to analyze the operation signal to obtain a request resolution and an operation request type corresponding to the request resolution;
the translation control module 30 is configured to adjust the focusing motor to a position close to the focus position for photographing translation according to the first camera algorithm and the initial position of the focusing motor when the operation request type is the photographing translation type;
and the photographing control module 40 is configured to adjust the focusing motor to a far focus position range for photographing and framing according to the second camera algorithm and the initial position of the focusing motor when the operation request type is a framing photographing type.
Specifically, the mobile device is installed with a photographing translation application (i.e., a word fetching translation APP), and the mobile device is provided with photographing software (i.e., a photographing APP). In addition, the word taking and translating APP in the mobile device takes a picture by using the first camera algorithm, and the picture taking APP takes a picture by using the second camera algorithm. The camera algorithm includes hdr (high dynamic range) algorithm, sfnr (single frame noise reduction) algorithm, (detail enhancement) algorithm, and the like. No matter what kind of camera algorithm is used by the word fetching translation APP and the photographing APP, the camera algorithms used by the word fetching translation APP and the photographing APP are different, and the algorithm parameters for setting the word fetching translation APP and the photographing APP are also different, wherein the algorithm parameters include but are not limited to resolution, sensitivity and focal length. The mobile device presets the relationship between the photographing translation function, the photographing view-finding function and the requested resolution, and further can acquire the operation request type corresponding to the operation signal according to the requested resolution.
The mobile equipment acquires input information of a user, the input mode can be click touch input, key input or voice input, and an operation signal is acquired according to the input information. For example, the user clicks the word fetching translation APP to trigger the photographing translation function to acquire a corresponding operation signal, or the user clicks the photographing APP to trigger the photographing view finding function to acquire a corresponding operation signal. After the mobile equipment acquires the operation signal, the processor of the mobile equipment analyzes the operation signal to obtain the requested resolution, and therefore the operation request type of the user operation is analyzed and obtained according to the corresponding relation between the photographing translation function, the photographing view finding function and the requested resolution.
And if the operation request type is a photographing translation type, adjusting the focal length value of the focusing motor to a near-focus position range according to the first camera algorithm and the initial position of the focusing motor, and then photographing and acquiring image data comprising the target to be translated according to the target to be translated aligned by the lens. Then, the mobile device extracts and translates the image data obtained by shooting to obtain a shooting translation result, and the mobile device displays the shooting translation result to the user.
And if the operation request type is a framing photographing type, adjusting the focal length value of the focusing motor to a far-focus position range according to the second camera algorithm and the initial position of the focusing motor, and then photographing and acquiring image data comprising the photographing object according to the photographing object aligned by the lens.
In this embodiment, start the camera function through getting word translation APP, fix at nearly focus position scope after will focusing motor power-on through software processing mode to quick shooting obtains image data so that the translation of shooing, need not to focus motor execution complete auto focus, reduces focus search time, improves the translation efficiency of shooing, thereby makes the user obtain required translation result fast, promotes the user greatly to the experience effect of shooing the translation. In addition, the camera function is started through the photographing APP, the focusing motor is electrified and then fixed in the far-focus position range through a software processing mode, so that image data can be rapidly photographed and acquired, photographing is completed, the focusing motor is not required to perform complete automatic focusing, the focus searching time is shortened, and the photographing efficiency is improved.
Based on the foregoing embodiment, the acquisition module 10 includes:
the first request acquisition unit is used for acquiring an operation signal according to a touch event of the photographing view finding control when the photographing view finding control is displayed on the operation interface;
and the second request acquisition unit is used for acquiring an operation signal according to the touch event of the photographing translation control when the photographing translation control is displayed on the operation interface.
Specifically, the mobile device is installed with a photographing translation application (i.e. word-taking translation APP), and of course, the mobile device is also installed with a photographing application (i.e. photographing APP) installed in the system itself or in addition, and the photographing APP includes APP software such as a camera installed in the system itself, a beautiful picture show, a POCO camera, and the like. The display interface of the mobile device can display a control icon of the word-taking translation APP and a control icon of the photographing APP.
When the user can click the control icon of the word-taking translation APP, the image translation operation interface entering the word-taking translation APP is started. Or the user voice input triggers and starts an image translation operation interface entering the word extraction translation APP. And after the mobile equipment is switched to enter the image translation operation interface. And if the user touches and clicks the photographing translation control, the mobile equipment generates an operation signal for a touch event of the photographing translation control.
When the user can click the control icon of the photographing APP, the camera photographing operation interface of the photographing APP is started. Or the user voice input triggers and starts a camera shooting operation interface entering the shooting APP. And if the user touches and clicks the photographing view finding control, the mobile device generates an operation signal for the touch event of the photographing view finding control.
In this embodiment, start the camera function through getting word translation APP, fix at nearly focus position scope after will focusing motor power-on through software processing mode to quick shooting obtains image data so that the translation of shooing, need not to focus motor execution complete auto focus, reduces focus search time, improves the translation efficiency of shooing, thereby makes the user obtain required translation result fast, promotes the user greatly to the experience effect of shooing the translation. In addition, the camera function is started through the photographing APP, the focusing motor is electrified and then fixed in the far-focus position range through a software processing mode, so that image data can be rapidly photographed and acquired, photographing is completed, the focusing motor is not required to perform complete automatic focusing, the focus searching time is shortened, and the photographing efficiency is improved.
Based on the foregoing embodiment, the translation control module 30 includes:
the first screening unit is used for screening out candidate set pixel sizes matched with the size of the first target resolution when the operation request type is a photographing translation type, and acquiring a first camera algorithm;
a first screening unit configured to screen out a candidate set pixel size adapted to a size of the first requested resolution from all set pixel sizes;
the first control unit is used for comparing the set position value with the initial position value, and controlling the focal length of the focusing motor to be adjusted to a near-focus position range if the initial position is larger than the set position value;
the first photographing unit is used for photographing according to the candidate set pixel size and the first camera algorithm to acquire image data including a target to be translated when the focusing motor is in the near-focus position range;
and the first processing unit is used for extracting and translating according to the image data to obtain a photographing translation result and displaying the photographing translation result.
Specifically, the range of the position of the near focus is 7cm-15cm, and the range of the position of the far focus is 15cm-55 cm. The focusing module comprises a lens, a focusing motor, a motor driving chip and a photosensitive chip. The lens and the photosensitive chip are the main imaging devices, and the focusing motor and the motor driving chip are the main automatic focusing devices. The principle of auto-focusing is simply that when an object is in a distant view and a close view respectively, the corresponding imaging positions are different, and the distance between the lens and the photosensitive chip needs to be adjusted, so that a clear imaging effect can be obtained on the photosensitive chip all the time. For the focusing module, the lens is fixed, and is mainly realized by driving the lens to move by a focusing motor.
After the mobile device obtains the operation signal, the source of the operation signal is analyzed to obtain the operation request type and the corresponding request resolution. The resolution determines how fine the bitmap image details are. Generally, the higher the resolution of an image, the more pixels are included and the sharper the image. The mobile device presets the relationship between the photographing translation function, the photographing view-finding function and the requested resolution, and further can acquire the operation request type corresponding to the operation signal according to the requested resolution.
The operation request type is set to be a photographing translation type corresponding to a first request resolution, the operation request type is set to be a framing photographing type corresponding to a second request resolution, and the first request resolution is different from the second request resolution. In addition, the mobile device may preset a plurality of set pixel sizes according to the current photographing and imaging specification, for example, the set of set pixel sizes ═ 640x480, 1600x1200, 3264x2488, 4208x3120, and so on.
In this way, when the mobile device analyzes that the operation request type is the photo translation type according to the relationship between the photo translation function, the photo framing function and the requested resolution, the mobile device screens out a candidate set pixel size adapted to the size of the first requested resolution from all set pixel sizes. Then, the mobile device compares the set position value with the initial position of the focusing motor, and controls the focal length of the focusing motor to be adjusted to the range of the close-focus position if the initial position is larger than the set position value. When the focusing motor is in the close-focus position range, the mobile equipment aims at the target to be translated according to the candidate set pixel size and the first camera algorithm so as to take a picture and acquire image data comprising the target to be translated.
Optionally, the language translation type control icon can be set while the function control icon is displayed on the operation interface of the word-taking translation APP, so that a user can select a target language type to be translated. Specifically, before the user needs to translate the text, the translation language type of the text needs to be set, that is, the user selects and inputs the language of the translation, so that the word-taking translation APP translates the text of the target to be translated to the target language.
An operation interface of the word-taking translation APP is provided with a translation function control icon. If the user can click on the translation function control icon, the photo translation function is initiated. Thus, the mobile device will adjust the focal length of the focus motor directly to the near focus position range. The target to be translated is the text content including the text that the user needs to translate, and the target to be translated can be the text content including different language types (English, Chinese, Korean, Japanese, etc.).
It should be noted that the language of the text of the target to be translated is collected and identified by the word-taking translation APP field, so that the user does not need to judge and set the language of the text of the target to be translated separately, the operation of the user is saved, and the efficiency of photographing and translating is improved.
For example, a user needs to set a target translation language, that is, a translation language, in a mobile device, and when the user sets the translation language to be "english", text content extracted from image data collected by a camera of the mobile device is "Photo translation", the mobile device translates the "Photo translation" into "Photo translation" according to the translation language "english" preset by the user, and displays the Photo translation "as a final translation result to the user.
Preferably, when the processor of the mobile device receives an image data, the image data is binarized to obtain a binarized image, and the mobile device extracts and identifies the text content in the image from the binarized image data by the processor and stores the text content. And then, the mobile equipment calls a local database to perform translation processing on the text content according to the local translation plug-in to obtain a photographing translation result. Of course, the mobile device can also call a remote database through the network to perform online translation on the text content to obtain a photographing translation result.
In the prior art, the same photographing algorithm and algorithm parameters are used for the photographing APP and the word-taking translation APP, and the photographing default in the prior art is preferably close to focus. According to the method, different request resolutions are called through the camera APP and the photographing translation to distinguish the request types of the operation signals, and then when the request types are the photographing translation, the matched candidate set pixel size is screened according to the first request resolution, and the first camera algorithm and the candidate set pixel size are adopted for photographing to obtain the image data including the target to be translated. Meanwhile, when the request type is the photographing translation, the set position value is introduced so as to judge the set position value and the initial position of the focusing motor, the size of the set position value and the initial position is judged, and if the initial position is larger than the set position value, the focus of the focusing motor is controlled to be adjusted to the range of the near focus position, so that the photographing translation is preferentially focused. For the use scenes of the photographed and translated products, the search stroke of the focusing motor is shortened in a targeted manner, so that the aim of further improving the focusing speed is fulfilled, the focusing speed is high, and the imaging quality is stable. The focusing motor is electrified and then fixed in a corresponding focus position, namely a near focus position range, a first photographing algorithm is adopted to quickly photograph and acquire image data so as to perform photographing translation, a focusing module is not required to perform complete automatic focusing, focus searching time is reduced, focusing speed is high, imaging quality is stable, photographed image data is clear, quality is good, photographing translation efficiency can be improved, photographing translation accuracy can also be improved, a user can quickly acquire a required translation result, and the experience effect of the user on photographing translation is greatly improved.
Based on the foregoing embodiment, the photographing control module 40 includes:
the second screening unit is used for screening out candidate set pixel sizes matched with the size of the second request resolution ratio when the operation request type is a framing photographing type, and acquiring a second camera algorithm;
the second control unit is used for comparing the set position value with the initial position value, and controlling the focal length of the focusing motor to be adjusted to a far-focus position range if the initial position is larger than the set position value;
and the second photographing unit is used for photographing according to the candidate set pixel size and the second camera algorithm to acquire image data including the photographic object when the focusing motor is in the far-focus position range.
Specifically, this embodiment is a device embodiment corresponding to the method embodiment, and specific effects refer to the method embodiment, which is not described in detail herein.
Specifically, when the mobile device analyzes that the operation request type is the framing photographing type according to the relationship between the photographing translation function, the photographing view-finding function, and the request resolution, the mobile device screens out a candidate set pixel size adapted to the size of the second request resolution from all set pixel sizes. Then, the mobile device compares the set position value with the initial position of the focusing motor, and controls the focal length of the focusing motor to be adjusted to the far-focus position range if the initial position is larger than the set position value. When the focusing motor is in the far-focus position range, the mobile equipment aligns the shot object according to the candidate set pixel size and the second camera algorithm so as to take a picture and acquire image data comprising the shot object to complete a common picture taking function.
In the prior art, the same photographing algorithm and algorithm parameters are used for the photographing APP and the word-taking translation APP, and the photographing default in the prior art is preferably far focus. According to the method, different request resolutions are called through the camera APP and the photographing translation to distinguish the request types of the operation signals, and then when the request types are framing photographing, the matched candidate set pixel size is screened according to the second request resolution, and the second camera algorithm and the candidate set pixel size are adopted for photographing to obtain the image data including the photographing object. Meanwhile, when the request type is framing and photographing, the set position value is introduced so as to judge the set position value and the initial position of the focusing motor, the size of the set position value and the initial position is judged, and if the initial position is larger than the set position value, the focal length of the focusing motor is controlled to be adjusted to a far focus position range, so that the photographing translation is preferentially focused. For the product use scene of the shooting view finding, the search stroke of the focusing motor is pertinently shortened, so that the aim of further improving the focusing speed is fulfilled, the focusing speed is high, and the imaging quality is stable. The focusing motor is electrified and then fixed in a corresponding focus position, namely a far focus position range, a first photographing algorithm is adopted to quickly photograph and acquire image data so as to finish photographing and framing, a focusing module is not required to execute complete automatic focusing, the focus searching time is reduced, the focusing speed is high, the imaging quality is stable, the photographed image data is clear, the quality is good, and the photographing effect of a user is greatly improved.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of program modules is illustrated, and in practical applications, the above-described distribution of functions may be performed by different program modules, that is, the internal structure of the apparatus may be divided into different program units or modules to perform all or part of the above-described functions. Each program module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one processing unit, and the integrated unit may be implemented in a form of hardware, or may be implemented in a form of software program unit. In addition, the specific names of the program modules are only used for distinguishing the program modules from one another, and are not used for limiting the protection scope of the application.
One embodiment of the present invention, as shown in fig. 7, is a smart watch 100 comprising a processor 110, a memory 120, wherein the memory 120 is used for storing a computer program 121; the processor 110 is configured to execute the computer program 121 stored in the memory 120 to implement the photographing control method in the corresponding method embodiment.
The smart watch 100 may be a desktop computer, a notebook, a palm computer, a tablet computer, a mobile phone, a human-computer interaction screen, or the like. The smart watch 100 may include, but is not limited to, a processor 110, a memory 120. Those skilled in the art will appreciate that fig. 7 is merely an example of the smart watch 100, and does not constitute a limitation of the smart watch 100, and may include more or less components than those shown, or combine certain components, or different components, such as: the smart watch 100 may also include input/output interfaces, display devices, network access devices, communication buses, communication interfaces, and the like. A communication interface and a communication bus, and may further include an input/output interface, wherein the processor 110, the memory 120, the input/output interface and the communication interface complete communication with each other through the communication bus. The memory 120 stores a computer program 121, and the processor 110 is configured to execute the computer program 121 stored in the memory 120 to implement the photographing control method in the corresponding method embodiment.
The Processor 110 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 120 may be an internal storage unit of the smart watch 100, such as: hard disk or memory of intelligence wrist-watch. The memory may also be an external storage device of the smart watch, such as: the Smart watch is provided with a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like. Further, the memory 120 may also include both an internal storage unit and an external storage device of the smart watch 100. The memory 120 is used to store the computer program 121 and other programs and data required by the smart watch 100. The memory may also be used to temporarily store data that has been output or is to be output.
A communication bus is a circuit that connects the described elements and enables transmission between the elements. For example, the processor 110 receives commands from other elements through the communication bus, decrypts the received commands, and performs calculations or data processing according to the decrypted commands. The memory 120 may include program modules such as a kernel (kernel), middleware (middleware), an Application Programming Interface (API), and applications. The program modules may be comprised of software, firmware or hardware, or at least two of the same. The input/output interface forwards commands or data entered by a user via the input/output interface (e.g., sensor, keyboard, touch screen). The communication interface connects the smart watch 100 with other network devices, user devices, networks. For example, the communication interface may be connected to a network by wire or wirelessly to connect to external other network devices or user devices. The wireless communication may include at least one of: wireless fidelity (WiFi), Bluetooth (BT), Near Field Communication (NFC), Global Positioning Satellite (GPS) and cellular communications, among others. The wired communication may include at least one of: universal Serial Bus (USB), high-definition multimedia interface (HDMI), asynchronous transfer standard interface (RS-232), and the like. The network may be a telecommunications network and a communications network. The communication network may be a computer network, the internet of things, a telephone network. The smart watch 100 may connect to the network through a communication interface, and a protocol by which the smart watch 100 communicates with other network devices may be supported by at least one of an application, an Application Programming Interface (API), middleware, a kernel, and a communication interface.
In an embodiment of the present invention, a storage medium stores at least one instruction, and the instruction is loaded and executed by a processor to implement the operations performed by the corresponding embodiments of the photographing control method. For example, the storage medium may be a read-only memory (ROM), a Random Access Memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
They may be implemented in program code that is executable by a computing device such that it is executed by the computing device, or separately, or as individual integrated circuit modules, or as a plurality or steps of individual integrated circuit modules. Thus, the present invention is not limited to any specific combination of hardware and software.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or recited in detail in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/smart watch and method may be implemented in other ways. For example, the above-described device/smart watch embodiments are merely illustrative, and for example, the division of the modules or units is merely a logical division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units may be stored in a storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by sending instructions to relevant hardware by the computer program 121, where the computer program 121 may be stored in a storage medium, and when the computer program 121 is executed by a processor, the steps of the above-described embodiments of the method may be implemented. The computer program 121 may be in a source code form, an object code form, an executable file or some intermediate form, etc. The storage medium may include: any entity or device capable of carrying the computer program 121, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content of the storage medium may be increased or decreased as appropriate according to the requirements of legislation and patent practice in the jurisdiction, for example: in certain jurisdictions, in accordance with legislation and patent practice, computer-readable storage media do not include electrical carrier signals and telecommunications signals.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A photographing control method is characterized by comprising the following steps:
acquiring an operation signal;
analyzing the operation signal to obtain a request resolution and an operation request type corresponding to the request resolution;
when the operation request type is a photographing translation type, adjusting the focusing motor to a near-focus position range for photographing translation according to a first camera algorithm and the initial position of the focusing motor;
and when the operation request type is a framing photographing type, adjusting the focusing motor to a far focus position range for photographing framing according to a second camera algorithm and the initial position of the focusing motor.
2. The photographing control method according to claim 1, wherein the acquiring operation signal includes the steps of:
when a photographing view finding control is displayed on an operation interface, acquiring the operation signal according to a touch event of the photographing view finding control;
and when the photographing translation control is displayed on an operation interface, acquiring the operation signal according to the touch event of the photographing translation control.
3. The photographing control method according to claim 1 or 2, wherein when the operation request type is a photographing translation type, adjusting the focusing motor to a near focus position range for photographing translation according to a first camera algorithm and an initial position of the focusing motor comprises:
screening out candidate set pixel sizes matched with the size of the first target resolution when the operation request type is a photographing translation type, and acquiring a first camera algorithm;
comparing the initial position value with the set position value, and controlling the focal length of the focusing motor to be adjusted to a near-focus position range if the initial position is larger than the set position value;
when the focusing motor is in the range of the close-focus position, photographing according to the candidate set pixel size and the first camera algorithm to obtain image data including a target to be translated;
and extracting and translating according to the image data to obtain a photographing translation result and displaying the photographing translation result.
4. The photographing control method according to claim 1 or 2, wherein when the operation request type is a framing photographing type, adjusting the focusing motor to a far focus position range for photographing framing according to a second camera algorithm and an initial position of the focusing motor comprises the steps of:
screening out candidate set pixel sizes matched with the size of the second request resolution when the operation request type is a framing photographing type, and acquiring a second camera algorithm;
comparing the initial position value with the set position value, and controlling the focal length of the focusing motor to be adjusted to a far-focus position range if the initial position is larger than the set position value;
and when the focusing motor is in the far-focus position range, photographing according to the candidate set pixel size and the second camera algorithm to acquire image data including a photographed object.
5. A photographing control system, comprising:
the acquisition module is used for acquiring an operation signal;
the processing module is used for analyzing the operation signal to obtain a request resolution and an operation request type corresponding to the request resolution;
the translation control module is used for adjusting the focusing motor to a position close to the focusing position for photographing translation according to a first camera algorithm and the initial position of the focusing motor when the operation request type is a photographing translation type;
and the photographing control module is used for adjusting the focusing motor to a far focus position range for photographing and framing according to the second camera algorithm and the initial position of the focusing motor when the operation request type is a framing photographing type.
6. The photographing control system according to claim 5, wherein the obtaining module includes:
the first request acquisition unit is used for acquiring the operation signal according to a touch event of the photographing view finding control when the photographing view finding control is displayed on an operation interface;
and the second request acquisition unit is used for acquiring the operation signal according to the touch event of the photographing translation control when the photographing translation control is displayed on the operation interface.
7. The photographing control system according to claim 5 or 6, wherein the translation control module includes:
the first screening unit is used for screening out candidate set pixel sizes matched with the size of the first target resolution when the operation request type is a photographing translation type, and acquiring a first camera algorithm;
the first control unit is used for comparing a set position value with the initial position value, and controlling the focal length of the focusing motor to be adjusted to a near-focus position range if the initial position is larger than the set position value;
the first photographing unit is used for photographing according to the candidate set pixel size and the first camera algorithm to acquire image data including a target to be translated when the focusing motor is in the close-focus position range;
and the first processing unit is used for extracting and translating according to the image data to obtain a photographing translation result and displaying the photographing translation result.
8. The photographing control system according to claim 5 or 6, wherein the photographing control module includes:
the second screening unit is used for screening out candidate set pixel sizes matched with the size of the second request resolution ratio when the operation request type is a framing photographing type, and acquiring a second camera algorithm;
the second control unit is used for comparing a set position value with the initial position value, and controlling the focal length of the focusing motor to be adjusted to a far-focus position range if the initial position is larger than the set position value;
and the second photographing unit is used for photographing according to the candidate set pixel size and the second camera algorithm to acquire image data including a photographed object when the focusing motor is in the far-focus position range.
9. A smart watch comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor being configured to execute the computer program stored in the memory to perform the operations performed by the photographing control method according to any one of claims 1 to 4.
10. A storage medium having stored therein at least one instruction, the instruction being loaded and executed by a processor to implement the operations performed by the photographing control method according to any one of claims 1 to 4.
CN202011031267.9A 2020-09-27 2020-09-27 Photographing control method and system, smart watch and storage medium Pending CN112153289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011031267.9A CN112153289A (en) 2020-09-27 2020-09-27 Photographing control method and system, smart watch and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011031267.9A CN112153289A (en) 2020-09-27 2020-09-27 Photographing control method and system, smart watch and storage medium

Publications (1)

Publication Number Publication Date
CN112153289A true CN112153289A (en) 2020-12-29

Family

ID=73894417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011031267.9A Pending CN112153289A (en) 2020-09-27 2020-09-27 Photographing control method and system, smart watch and storage medium

Country Status (1)

Country Link
CN (1) CN112153289A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531550A (en) * 2022-04-24 2022-05-24 合肥的卢深视科技有限公司 Automatic focusing method, imaging device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959530A (en) * 2016-04-26 2016-09-21 乐视控股(北京)有限公司 Method and system for invoking a camera function according to an individualized property of an application
CN106657785A (en) * 2016-12-23 2017-05-10 广东小天才科技有限公司 operation control method and device for camera
CN108632533A (en) * 2018-06-11 2018-10-09 百富计算机技术(深圳)有限公司 A kind of control method of camera, mobile terminal and computer readable storage medium
CN110012217A (en) * 2018-12-06 2019-07-12 香港乐蜜有限公司 The determination method, apparatus and electronic equipment of acquisition resolution
US20190394409A1 (en) * 2018-06-21 2019-12-26 Canon Kabushiki Kaisha Electronic device and method of controlling same
CN111064893A (en) * 2019-12-27 2020-04-24 上海摩勤智能技术有限公司 Code scanning and photographing compatible method and electronic terminal
CN111491099A (en) * 2020-04-16 2020-08-04 深圳传音控股股份有限公司 Photographing method, terminal device, and computer-readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959530A (en) * 2016-04-26 2016-09-21 乐视控股(北京)有限公司 Method and system for invoking a camera function according to an individualized property of an application
CN106657785A (en) * 2016-12-23 2017-05-10 广东小天才科技有限公司 operation control method and device for camera
CN108632533A (en) * 2018-06-11 2018-10-09 百富计算机技术(深圳)有限公司 A kind of control method of camera, mobile terminal and computer readable storage medium
US20190394409A1 (en) * 2018-06-21 2019-12-26 Canon Kabushiki Kaisha Electronic device and method of controlling same
CN110012217A (en) * 2018-12-06 2019-07-12 香港乐蜜有限公司 The determination method, apparatus and electronic equipment of acquisition resolution
CN111064893A (en) * 2019-12-27 2020-04-24 上海摩勤智能技术有限公司 Code scanning and photographing compatible method and electronic terminal
CN111491099A (en) * 2020-04-16 2020-08-04 深圳传音控股股份有限公司 Photographing method, terminal device, and computer-readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531550A (en) * 2022-04-24 2022-05-24 合肥的卢深视科技有限公司 Automatic focusing method, imaging device and storage medium

Similar Documents

Publication Publication Date Title
US10353574B2 (en) Photographic apparatus, control method thereof, and non-transitory computer-readable recording medium
US10812768B2 (en) Electronic device for recording image by using multiple cameras and operating method thereof
CN109345485B (en) Image enhancement method and device, electronic equipment and storage medium
US11094110B2 (en) Method, apparatus and electronic device for processing image
US8045799B2 (en) System and method for generating a photograph with variable image quality
WO2017088580A1 (en) Image display method and apparatus
US20210209400A1 (en) Method for providing text translation managing data related to application, and electronic device thereof
CN104488258A (en) Method and apparatus for dual camera shutter
CN107615745B (en) Photographing method and terminal
US9554053B1 (en) Method and photographing apparatus for controlling function based on gesture of user
CN106201734B (en) File sharing method and device
CN109784164B (en) Foreground identification method and device, electronic equipment and storage medium
CN113810604B (en) Document shooting method, electronic device and storage medium
US11551465B2 (en) Method and apparatus for detecting finger occlusion image, and storage medium
CN112135054B (en) Method and system for realizing photographing translation, smart watch and storage medium
CN112634160A (en) Photographing method and device, terminal and storage medium
CN109151318B (en) Image processing method and device and computer storage medium
CN112153289A (en) Photographing control method and system, smart watch and storage medium
CN114666490B (en) Focusing method, focusing device, electronic equipment and storage medium
CN108647097B (en) Text image processing method and device, storage medium and terminal
US20230385993A1 (en) Image processing method and apparatus, electronic device, storage medium and chip
JP7085651B2 (en) Image pickup device control device, image pickup device, image pickup device control method, image pickup device control program
CN115708122A (en) Image processing method, image processing device, storage medium and terminal
CN118278427A (en) Translation optimization method, translation method, electronic device, and readable storage medium
CN118317190A (en) Image shooting method and device and electronic equipment

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

Application publication date: 20201229

RJ01 Rejection of invention patent application after publication