WO2020228015A1 - 自拍杆的触控区域的响应方法及移动终端 - Google Patents

自拍杆的触控区域的响应方法及移动终端 Download PDF

Info

Publication number
WO2020228015A1
WO2020228015A1 PCT/CN2019/087204 CN2019087204W WO2020228015A1 WO 2020228015 A1 WO2020228015 A1 WO 2020228015A1 CN 2019087204 W CN2019087204 W CN 2019087204W WO 2020228015 A1 WO2020228015 A1 WO 2020228015A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch area
feature information
user
mobile terminal
selfie stick
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.)
Ceased
Application number
PCT/CN2019/087204
Other languages
English (en)
French (fr)
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.)
Shenzhen Royole Technologies Co Ltd
Original Assignee
Shenzhen Royole Technologies 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 Royole Technologies Co Ltd filed Critical Shenzhen Royole Technologies Co Ltd
Priority to CN201980079776.8A priority Critical patent/CN113518969A/zh
Priority to PCT/CN2019/087204 priority patent/WO2020228015A1/zh
Publication of WO2020228015A1 publication Critical patent/WO2020228015A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • This application relates to the technical field of selfie sticks, and in particular to a method for responding to the touch area of a selfie stick and a mobile terminal.
  • the touch area of the existing selfie stick is fixed.
  • the touch area cannot be dynamically adjusted.
  • the range that can be touched is also different. Therefore, in the prior art, a selfie stick with a fixed touch area cannot meet the needs of different users, and it is easy to cause false touches in many scenarios.
  • the present application provides a method for responding to the touch area of a selfie stick and a mobile terminal to solve the technical problem that the touch area of the selfie stick in the prior art is fixed and cannot meet the needs of different types of users.
  • an embodiment of the present application provides a response method for the touch area of a selfie stick, which is applied to a mobile terminal connected to the selfie stick, and the response method includes: based on a user's face captured by a camera , Obtain the facial feature information of the user; adjust the effective touch area in the touch area of the selfie stick according to the facial feature information; generate in response to the touch operation in the effective touch area The effective touch signal of, executes the function corresponding to the effective touch signal.
  • the embodiment of the present invention also provides a mobile terminal, the mobile terminal is connected with a selfie stick, the mobile terminal includes: a camera, a processor, a memory, and stored in the memory and can be used in the processing
  • a computer program running on a device the selfie stick includes a touch module, the touch module is attached to and covers a part of the surface of the selfie stick;
  • the processor executes the computer program to perform the following steps : Obtain the facial feature information of the user based on the user’s face captured by the camera; adjust the effective touch area within the touch area of the selfie stick according to the facial feature information;
  • the effective touch signal generated by the touch operation in the effective touch area executes the function corresponding to the effective touch signal.
  • an embodiment of the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for responding to the touch area of the selfie stick is realized.
  • the response method is applied to a mobile terminal connected to the selfie stick, and the mobile terminal and the selfie stick can be wired or wirelessly connected. Way to connect.
  • the mobile terminal obtains facial feature information from the user’s face captured by the camera, and adjusts the effective touch area in the touch area of the selfie stick according to the facial feature information, thereby responding to the effective touch area in the effective touch area.
  • the effective touch signal generated by the touch operation executes the function corresponding to the effective touch signal.
  • the mobile terminal connected to the selfie stick adjusts the size of the effective touch area in the touch area according to the user's facial feature information, so as to prevent different users from accidentally touching due to different hand sizes.
  • FIG. 1 is a schematic flowchart of a method for responding to a touch area of a selfie stick according to one embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for responding to a touch area of a selfie stick according to another embodiment of the present application
  • FIG. 3 is a schematic diagram of a use state of a mobile terminal connected to a selfie stick according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of the positional relationship between the effective touch area and the touch area in one embodiment of the present application
  • FIG. 5 is a schematic flowchart of a method for responding to a touch area of a selfie stick according to another embodiment of the present application
  • Fig. 6 is a structural block diagram of a mobile terminal according to an embodiment of the present application.
  • the inventor adjusted the touch area of the selfie stick through a software strategy in a mobile terminal connected to the selfie stick to determine the position of the effective touch area in the touch area according to different facial feature information of the user And size. That is to say, the technical solution of the present application does not change the touch area of the selfie stick from the hardware, but uses “virtual adjustment” to the touch area on the side of the mobile terminal to determine the effective touch area in the touch area.
  • the mobile terminal only responds to the effective touch signal generated by the user's touch operation in the effective touch area on the selfie stick to perform the function corresponding to the effective touch signal, preventing different users The difference in hand size and the misoperation of the touch area in the holding state.
  • FIG. 1 is a schematic flowchart of a method for responding to a touch area of a selfie stick according to an embodiment of the present application.
  • the selfie stick includes a selfie stick body and a supporting member.
  • the supporting member is used to place a photographing device (for example, a mobile terminal with a camera).
  • the selfie stick body is provided with a touch module, and the touch module is attached to the selfie stick body which is easy for the user to touch and operate.
  • the surface, specifically, the touch module is arranged on the surface of the Selfie stick body close to the end of the supporting member. In other embodiments, the touch module is attached to a part of the surface of the selfie stick body.
  • the touch module is a flexible sensor layer, the flexible sensor layer includes a plurality of touch units, and the plurality of touch units are used to sense a user's touch operation. response.
  • the touch module is a touch pad.
  • the mobile terminal and the selfie stick can establish a data connection through a wireless device such as Bluetooth or a wire control device such as a wire.
  • the mobile terminal may directly establish a data connection with the touch module through a wireless device such as Bluetooth.
  • the response method described in this embodiment is applied to a mobile terminal connected to the selfie stick, that is, the main body of executing each step in this embodiment is the mobile terminal.
  • the response method includes:
  • Step 11 Acquire facial feature information of the user based on the user's face captured by the camera.
  • the facial feature information of the user is acquired based on the user's face captured by the camera.
  • the camera of the mobile terminal can perform face recognition on the image in the viewing frame to capture the face of the user.
  • the user's facial feature information is obtained from the captured user's face through software (or stored computer program) in the mobile terminal.
  • the facial feature information may include eye feature information, nose feature information, mouth feature information, chin feature information, and facial contour features. Information etc.
  • the facial feature information may also include skin feature information, hair feature information, etc., which are not listed here.
  • Step 12 Adjust the effective touch area in the touch area of the selfie stick according to the facial feature information.
  • step 12 adjust the effective touch area in the touch area of the selfie stick according to the facial feature information.
  • this embodiment does not change the touch area of the selfie stick from the hardware, but determines the effective touch area in the touch area by performing “virtual adjustment” on the touch area on the mobile terminal side.
  • a touch operation is received on the touch area of the touch module, a corresponding touch signal will be generated, and the touch signal will include coordinate information (track information), time information, etc.
  • the touch module sends the touch signal to the mobile terminal, and the mobile terminal determines the function or operation to be performed according to the coordinate information (track information) and time information of the touch signal.
  • Adjusting the effective touch area by the mobile terminal is adjusting the position and size of the effective touch area, that is, adjusting the coordinate range covered by the effective touch area.
  • the coordinate information or track information of the touch signal is located in the effective touch area, it can be determined that the touch signal is a touch signal generated by a touch operation in the effective touch area.
  • the touch area refers to the entire area covered by the touch module on the body of the selfie stick.
  • the effective touch area covers the touch area, that is, the entire touch area is an effective touch area
  • the mobile terminal responds to the touch signal generated by the touch operation in the touch area.
  • the position and size of the effective touch area are adjusted according to the facial feature information of the user.
  • the touch area includes an effective touch area and an invalid touch area.
  • the mobile terminal only responds to the effective touch signal generated by the user's touch operation in the effective touch area, and does not respond to the user's touch operation in the invalid touch area (ie moving The terminal determines that the touch signal generated by the touch operation in the invalid touch area is an invalid touch signal).
  • the step 12 includes:
  • Step 121 Determine the size of the effective touch area according to one or more of eye feature information, skin feature information, and hair feature information in the facial feature information.
  • FIG. 3 is a schematic diagram of a use state of a mobile terminal connected to a selfie stick according to one embodiment of the present application.
  • FIG. 4 is a schematic diagram of the positional relationship between the effective touch area and the touch area in one embodiment of the present application.
  • the mobile terminal 21 is set on the supporting member of the selfie stick 22, and the mobile terminal 21 is data connected to the selfie stick 22.
  • a data connection can be established between the mobile terminal and the selfie stick through a wireless device such as Bluetooth or a wire control device such as a wire.
  • the mobile terminal 22 includes a camera 221, the selfie stick 22 includes a touch module, and the area covered by the touch module is a touch area 221.
  • the touch module wraps the body of the selfie stick.
  • the touch area 221 becomes a rectangle after being expanded, and the touch area 221 It includes two parallel and equal-length long sides 2211a and 2211b and two short sides 2212a and 2212b connecting the first side.
  • the long sides 2211a and 2211b have a length of L 1 and the short sides 2212a and 2212b The length is H 1 .
  • the effective touch area is also rectangular.
  • the effective touch area includes two long sides 2213a and 2213b, and two short sides 2214a and 2214b connecting the two long sides 2213a and 2213b.
  • the length of the long sides 2213a and 2213b Is L 2
  • the length of the short sides 2214a and 2214b is H 2 , where L 2 ⁇ L 1 and H 2 ⁇ H 1 .
  • the user determines physiological feature information (such as age, race, etc.) is determined, based on the use physiological characteristic information is determined by the effective touch region of the first adjustment coefficient K 1, and then the long sides 2213a according to the first adjustment coefficient K 1 to adjust the effective touch region 2213b and the length L 2 and a short side
  • the size of the effective touch area can be adjusted accordingly according to the physiological characteristics of different users (for example, users of different ages, users of different races, etc.) through the first adjustment coefficient K 1
  • the needs of users with different physiological characteristics For example, it is determined according to the physiological characteristic information that the corresponding user's hand is larger, and the corresponding first adjustment coefficient K 1 is also larger.
  • the corresponding user's hand is determined to be smaller according to the physiological characteristic information, and the corresponding first The adjustment coefficient K 1 is also smaller, so as to meet the needs of different users.
  • the inventor considers that the position of the area touched by the user's fingers is different when the user holds the selfie stick 22 in different grip positions. Therefore, the position of the effective touch area needs to be adjusted according to the user's different grip positions.
  • step 12 also includes:
  • Step 122 Determine the left eye distance and the right eye distance between the left eye and right eye of the user and the camera according to the eye feature information in the facial feature information.
  • the principle of monocular vision ranging or binocular vision ranging (determined based on the type of the mobile terminal camera) can be used to calculate the left and right eyes between the user’s left and right eyes and the camera.
  • the calculation principle of the eye distance and the right eye distance is the same as that of determining the distance between the face and the camera above, and will not be repeated here.
  • Step 123 Determine the grip posture of the user according to the relationship between the left eye distance and the right eye distance, wherein the grip posture is a right hand grip posture or a left hand grip posture.
  • the judgment standard can be preset in the mobile terminal, and different judgment standards can be set according to the position of the camera on the mobile terminal.
  • the set judgment criterion may be that when the left-eye distance is greater than or equal to the right-eye distance, it is determined that the user is in a right-handed holding position; when the left-eye distance is less than the right-eye distance, it is determined The user has a left hand holding position.
  • the set judgment criterion may also be that when the left-eye distance is greater than or equal to the right-eye distance, the user is determined to be in the left-handed holding position; when the left-eye distance is less than the right-eye distance, the The user is in a right-hand holding position.
  • Step 124 Adjust the position of the effective touch area in the touch area according to the user's holding posture.
  • step 124 if the user is in a right-handed holding position, translate the effective touch area to the left, so that the user’s right thumb can more easily perform operations in the effective touch area. Sliding operation. If the user is in a left-handed holding posture, the effective touch area is translated to the right, so that the user's left thumb can more easily perform sliding operations in the effective touch area.
  • the effective touch area is translated to the right so that the sliding range of the user's right thumb covers the effective touch area as much as possible. If the user is holding the left hand, the effective touch area is translated to the left, so that the sliding range of the user's left thumb covers the effective touch area as much as possible.
  • the effective touch area is located in the middle of the touch area, that is, the center of the effective touch area and the touch area The centers coincide.
  • shifting the effective touch area to the left or to the right refers to shifting the effective touch area to the left or to the right from the center position of the touch area.
  • the mobile terminal may also prompt the user on the display screen to determine whether it is a left-hand grip or a right-hand grip, and then the mobile terminal determines according to the grip position selected by the user How to adjust the position of the effective touch area.
  • a second adjustment coefficient K 2 is set according to whether the user's holding posture is a left-hand holding posture or a right-hand holding posture.
  • the second adjustment coefficient K 2 can also be used to adjust the distance between the right short side of the effective touch area and the right short side of the touch area 221.
  • the adjustment principle is the same as the above adjustment.
  • L 3 is the same, so I won't repeat it here.
  • the distance between the upper long side 2213 a of the effective touch area and the upper long side 2211 a of the touch area 221 is set to H 3 .
  • H 3 (H 1 -H 2 )/2, that is, the distance between the upper long side 2213a of the effective touch area and the upper long side 2211a of the touch area 221 is equal to The distance between the lower long side 2213b of the effective touch area and the lower long side 2211b of the touch area 221.
  • FIG. 4 illustrates the position and size of the effective touch area in the touch area 221 on the selfie stick, but in practical applications, it is virtually adjusted through software strategies on the mobile terminal. The position and size of the effective touch area within the touch area on the selfie stick.
  • Step 13 In response to an effective touch signal generated by a touch operation in the effective touch area, execute a function corresponding to the effective touch signal.
  • the mobile terminal 21 when the mobile terminal 21 receives the touch signal sent by the selfie stick 22 (the touch After the signal is the signal generated by the touch area 221 of the selfie stick 22 that senses the user’s touch operation), it will first determine whether the touch signal is a valid touch signal, that is, whether the touch signal is The signal generated by the user's touch operation in the effective touch area. If so, the mobile terminal 21 responds to the effective touch signal and executes the function corresponding to the effective touch signal; if not, that is, the touch signal is an invalid touch signal, and the mobile terminal 21 does not respond to the touch signal .
  • the function corresponding to the effective touch signal includes functions such as focus adjustment (ie, adjusting the focal length of the image captured by the camera), camera mode switching (for example, switching between the camera mode and the video mode), switching filters, and page turning.
  • the effective touch signal corresponding to each function can be preset on the mobile terminal side (for the user, the touch operation corresponding to different functions is preset).
  • the terminal executes the function corresponding to the touch operation (or effective touch signal).
  • FIG. 2 is a schematic flowchart of a method for responding to a touch area of a selfie stick according to another embodiment of the present application.
  • the method further includes:
  • Step 10 Obtain the distance between the multiple faces captured by the camera and the mobile terminal, and determine that the face closest to the mobile terminal belongs to the user.
  • the mobile terminal 21 needs to determine which face corresponds to the user (ie, holding the selfie stick). User). In practical applications, multiple methods can be used to determine which of the multiple faces belongs to the user.
  • the mobile terminal may determine which face belongs to the user according to the distance between the multiple faces and the camera 211 respectively. If the camera 211 of the mobile terminal 21 is a monocular camera, the distance between each human face and the monocular camera is calculated using the principle of monocular visual ranging. Monocular vision ranging is to first perform target recognition (ie, recognize the face) through image matching, and then estimate the target distance by the size of the target (ie, face) in the image.
  • the distance between each human face and the binocular camera is calculated using the principle of binocular vision ranging.
  • the binocular vision ranging is to calculate the parallax between the two images collected by the two cameras 211, and then convert the parallax into depth information (that is, the distance between the target object and the camera 211), thereby realizing distance measurement. Since both monocular vision ranging and binocular vision ranging are existing technologies, the specific calculation process will not be repeated here.
  • the mobile terminal 21 may determine which face belongs to the user according to the size of each face in the image captured by the camera 211. Considering that a user who holds the selfie stick 22 and uses the mobile terminal 21 to take pictures generally stands in a forward position to facilitate the shooting, it is determined that the face whose face is most imaged on the photosensitive element of the camera 211 belongs to the user. In some other cases, it can also be determined that the face whose face is the smallest imaged on the photosensitive element of the camera 211 belongs to the user.
  • the mobile terminal 21 may determine which face in the image captured by the camera 211 belongs to the user according to a specific operation.
  • the camera 211 of the mobile terminal 21 captures multiple human faces, the user is prompted on the display screen of the mobile terminal 21 to select the user's face.
  • the specific operation may be a click operation on a certain face.
  • the mobile terminal 21 receives that the user clicks on one of the faces on the display screen, the mobile terminal responds to the specific operation to determine the face as the user's face.
  • any one or more of the above methods can be used to determine which face is the user.
  • the practical application is not limited to the above list. The way.
  • the response method includes:
  • Step 31 Acquire facial feature information of the user based on the user's face captured by the camera.
  • Step 32 Adjust the effective touch area in the touch area of the selfie stick according to the facial feature information.
  • Step 33 Adjust the sliding sensitivity and functional response threshold in the effective touch area according to the facial feature information.
  • Step 34 According to the adjusted function response threshold, when the effective touch signal generated by the touch operation in the effective touch area meets the trigger condition of the corresponding function, execute the corresponding function according to the sliding sensitivity.
  • step 31 and step 32 the specific implementation process of step 31 and step 32 is the same as step 11 and step 12 in the embodiment described in FIG. 1 above. You can refer to the detailed description of the above embodiment, which will not be omitted here. Repeat.
  • step 32 after performing the step 32, it further includes adjusting the sliding sensitivity and the functional response threshold in the effective touch area according to the facial feature information. (That is, step 33).
  • the inventor further considered that for different types of users (such as children and adults), due to the large differences in finger length, finger sliding agility, etc., for the same touch operation, it is necessary to set different sliding sensitivity and Functional response threshold to meet the needs of different types of users.
  • the sliding sensitivity means that the user's sliding unit length in the effective touch area corresponds to the actual length executed by the mobile terminal.
  • the higher the sliding sensitivity the longer the actual distance executed by the mobile terminal after responding to the sliding operation when the user slides the same distance within the effective touch area. Therefore, if it is determined that the user is a child based on the facial feature information, a higher sliding sensitivity (child’s hand is relatively small) is set, and if the user is an adult, a lower sliding sensitivity is set (adult’s The hand is relatively large).
  • the function response threshold refers to the minimum sliding length required by the mobile terminal to perform a corresponding function in a certain sliding direction. That is, in order to prevent accidental touches, if the mobile terminal is required to perform a certain function, the sliding operation performed by the user in a certain sliding direction in the effective touch area needs to meet the minimum sliding length. Therefore, if it is determined that the user is a child based on the facial feature information, a smaller functional response threshold value (the child’s hand is relatively small) is set, so that the mobile terminal can more easily respond to the user’s sliding operation; otherwise, if the If the user is an adult, a larger functional response threshold is set (the adult's hand is relatively large).
  • step 34 when the effective touch signal generated by the touch operation in the effective touch area meets the trigger condition of the corresponding function, the sliding sensitivity is executed according to the sliding sensitivity. Corresponding function.
  • the mobile terminal executes the corresponding function according to the sliding sensitivity.
  • meeting the trigger condition of the corresponding function means that the user's sliding operation in the effective touch area conforms to the sliding direction corresponding to the function, and the sliding length in the sliding direction meets the function response threshold of the function.
  • the mobile terminal executes the corresponding function according to the sliding sensitivity, that is, according to the received effective touch signal, the user's sliding length in a certain direction within the effective touch area, and the sliding length is converted based on the sliding sensitivity. Actual length, and perform corresponding functions according to actual length.
  • the effective touch area covers the touch area.
  • the touch signal is a signal generated by sensing the touch operation of the user by the touch area of the selfie stick.
  • the preset time can be set by the user.
  • an embodiment of the present application further provides a mobile terminal, which can execute the foregoing method embodiment after being connected to a selfie stick.
  • Fig. 6 is a schematic structural diagram of a mobile terminal of the present application.
  • the mobile terminal 41 includes a processor 411, a memory 412, a computer program stored on the memory 412 and running on the processor 411, and a camera 413.
  • the mobile terminal 41 may be connected with a selfie stick (not shown in FIG. 4), and a support member is provided on the selfie stick for placing the mobile terminal 41.
  • the mobile terminal 41 and the selfie stick may be connected via Bluetooth or wire control.
  • the selfie stick includes a touch module, and the touch module is attached to and covers a part of the surface of the selfie stick.
  • the processor 411 executes the computer program to perform the following steps: acquiring facial feature information of the user based on the user's face captured by the camera 413; adjusting the facial feature information according to the facial feature information An effective touch area in the touch area of the selfie stick; in response to an effective touch signal generated by a touch operation in the effective touch area, a function corresponding to the effective touch signal is executed.
  • the facial feature information includes eye feature information.
  • the processor 411 executes the computer program, it is used to determine the left eye distance and the right eye distance between the user’s left eye and right eye and the camera according to the eye feature information; The relationship between the left-eye distance and the right-eye distance determines the user’s grip posture, wherein the grip posture is a right-hand grip posture or a left-hand grip posture; the effective touch is adjusted according to the user’s grip The position of the control area in the touch area.
  • the processor 411 executes the computer program, when the left eye distance is greater than or equal to the right eye distance, it is determined that the user is holding the right hand, and the effective touch area is shifted to the left ; When the left-eye distance is less than the right-eye distance, it is determined that the user is holding the left-hand posture, and the effective touch area is translated to the right.
  • the facial feature information includes one or more of eye feature information, skin feature information, and hair feature information.
  • the processor 411 executes the computer program, it is used to determine the size of the effective touch area according to one or more of eye feature information, skin feature information, and hair feature information.
  • the processor 411 executes the computer program to perform the following steps: after adjusting the effective touch area in the touch area of the selfie stick according to the facial feature information, according to the facial feature information , Adjust the sliding sensitivity and function response threshold in the effective touch area; according to the adjusted function response threshold, the effective touch signal generated by the touch operation in the effective touch area meets the trigger of the corresponding function When conditions are met, the corresponding function is executed according to the sliding sensitivity.
  • the processor 411 executes the computer program to perform the following steps. Before acquiring the facial feature information of the user, acquire the distances between the multiple faces captured by the camera and the mobile terminal, and determine the distances. The nearest face of the mobile terminal is the user.
  • the processor 411 executes the computer program to perform the following steps.
  • the effective touch area covers the touch area.
  • the processor 411 executes the computer program to perform the following steps.
  • the mobile terminal does not receive a touch signal for more than a preset time, initialize the effective touch area; wherein, the touch signal is the selfie
  • the touch area of the lever senses the signal generated by the user's touch operation.
  • the embodiment of the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the method for responding to the touch area of the selfie stick provided in the embodiment of the present application can be implemented.
  • the aforementioned non-transitory computer-readable storage medium may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above.
  • computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (Read Only Memory) ; Hereinafter referred to as: ROM), Erasable Programmable Read Only Memory; hereinafter referred to as EPROM) or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic memory Pieces, or any suitable combination of the above.
  • the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
  • the computer program code used to perform the operations of the present application can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including local area network (Local Area Network; hereinafter referred to as LAN) or Wide Area Network (hereinafter referred to as WAN), or Connect to an external computer (for example, use an Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • an external computer for example, use an Internet service provider to connect via the Internet.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开一种自拍杆的触控区域的响应方法及移动终端,移动终端与自拍杆之间可以通过蓝牙或者线控进行通信。该移动终端从摄像头捕捉到的使用者的人脸获取人脸特征信息,并根据人脸特征信息调整自拍杆的触控区域内的有效触控区域,从而响应在所述有效触控区域内的触控操作产生的有效触控信号,执行所述有效触控信号对应的功能。虽然自拍杆上的触控区域的位置和大小仍旧固定,但在移动终端根据使用者的人脸特征信息来"虚拟调整"自拍杆的触控区域内的有效触控区域,从而使得连接了移动终端后的自拍杆可以适应不同用户的使用需求。本技术方案解决现有技术中自拍杆的触控区域固定,无法满足不同类型用户的需求的技术问题。

Description

自拍杆的触控区域的响应方法及移动终端 技术领域
本申请涉及自拍杆技术领域,尤其涉及一种自拍杆的触控区域的响应方法及移动终端。
背景技术
随着通信技术的发展,移动终端的功能越来越丰富,拍照功能成为移动终端的重要功能,自拍成为常用的消遣方式之一。自拍杆的出现极大提高了自拍的乐趣及拍照效果。
现有的自拍杆的触控区域固定。在用户使用自拍杆时,无法做到动态调整触控区域。但是不同的用户在使用自拍杆时,由于用户的手的大小各异,能触控到的范围也会不一致。因此,现有技术中,触控区域固定的自拍杆无法满足不同用户的使用需求,且容易造成很多场景下的误触。
申请内容
有鉴于此,本申请提供了一种自拍杆的触控区域的响应方法及移动终端,以解决现有技术中自拍杆的触控区域固定,无法满足不同类型用户的需求的技术问题。
一方面,本申请的实施例提供了一种自拍杆的触控区域的响应方法,应用于与所述自拍杆连接的移动终端,所述响应方法包括:基于摄像头捕捉到的使用者的人脸,获取所述使用者的人脸特征信息;根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域;响应在所述有效触控区域内的触控操作产生的有效触控信号,执行所述有效触控信号对应的功能。
另一方面,本发明实施例还提供了一种移动终端,所述移动终端与自拍杆连接,所述移动终端包括:摄像头、处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述自拍杆包括触控模组,所述触控模组贴设并覆盖所述自拍杆的部分表面上;; 所述处理器执行所述计算机程序以执行如下步骤:基于摄像头捕捉到的使用者的人脸,获取所述使用者的人脸特征信息;根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域;响应在所述有效触控区域内的触控操作产生的有效触控信号,执行所述有效触控信号对应的功能。
再一方面,本发明实施例还提供了一种非临时性计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述自拍杆的触控区域的响应方法。
综上所述,根据本发明实施例提供的自拍杆的触控区域的响应方法,该响应方法应用于与所述自拍杆连接的移动终端,移动终端与自拍杆之间可以通过有线或无线的方式进行连接。该移动终端从摄像头捕捉到的使用者的人脸获取人脸特征信息,并根据人脸特征信息调整自拍杆的触控区域内的有效触控区域,从而响应在所述有效触控区域内的触控操作(使用者的触控操作)产生的有效触控信号,执行所述有效触控信号对应的功能。与自拍杆连接的移动终端根据使用者的人脸特征信息来调整触控区域内的有效触控区域的大小,从而防止不同用户因手的大小不同而造成的误触。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1是本申请其中一实施例的一种自拍杆的触控区域的响应方法的流程示意图;
图2是本申请另一实施例的一种自拍杆的触控区域的响应方法的流程示意图;
图3是本申请其中一实施例的一种连接自拍杆的移动终端的使用状态示意图;
图4是本申请其中一实施例的有效触控区域与触控区域的位置关系示意图;
图5是本申请再一实施例的一种自拍杆的触控区域的响应方法的流程示意图;
图6是本申请其中一实施例的移动终端的结构框图。
具体实施方式
为了更好的理解本申请的技术方案,下面结合附图对本申请实施例进行详细描述。
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
在相关技术中,针对使用具有大片触控区域的触控模组的自拍杆,由于现有的自拍杆的触控区域的位置和大小都是固定的,无法满足不同类型用户的需求。因此发明人经过研究,在与自拍杆连接的移动终端中通过软件策略对自拍杆的触控区域进行调整,以根据使用者不同的人脸特征信息确定触控区域内的有效触控区域的位置和大小。也就是说,本申请的技术方案并不从硬件上改变自拍杆的触控区域,而是通过在移动终端侧对该触控区域进行“虚拟调整”以确定触控区域内有效触控区域的位置和大小,进而移动终端只响应使用者在自拍杆上的有效触控区域内的触控操作所产生的有效触控信号,以执行所述有效触控信号对应的功能,防止因不同使用者手大小的不同以及在握持状态下对触控区域误触而形成的误操作。
下面结合具体实施例对本申请技术方案做详细描述。
图1是本申请其中一实施例的一种自拍杆的触控区域的响应方法的流程示意图。
本实施例中,所述自拍杆包括自拍杆本体和支撑部件。其中,所述支撑部件用于放置拍摄设备(例如具有摄像头的移动终端)。 与现有的按键式自拍杆不同,本实施例中,所述自拍杆本体上设置有触控模组,所述触控模组贴设于所述自拍杆本体上易于使用者触控操作的表面,具体的,所述触控模组围设于所述自拍杆本体靠近支撑部件的一端的表面。在其他实施例中,所述触控模组贴设于所述自拍杆本体的部分表面上。在本实施例中,所述触控模组为柔性传感层,所述柔性传感层包括多个触控单元,所述多个触控单元用于感应使用者的触控操作而做出响应。在其他实施例中,所述触控模组为触摸板。所述移动终端与自拍杆之间可以通过蓝牙等无线装置建立数据连接或者通过导线等线控装置建立数据连接。在其他实施例中,所述移动终端可以直接与所述触控模组通过蓝牙等无线装置建立数据连接。
本实施例所述的响应方法应用于与所述自拍杆连接的移动终端,即本实施例各个步骤的执行主体是移动终端。
参考图1,所述响应方法包括:
步骤11:基于摄像头捕捉到的使用者的人脸,获取所述使用者的人脸特征信息。
如步骤11所述,基于摄像头捕捉到的使用者的人脸,获取所述使用者的人脸特征信息。
本领域技术人员知晓,通过移动终端的摄像头可以对取景框内的图像进行人脸识别,以捕捉使用者的人脸。进而通过移动终端内的软件(或者存储的计算机程序)从捕捉到的使用者的人脸从而获取使用者的人脸特征信息。一般来说,人脸的特征主要由眼睛、鼻子、嘴、下巴等部分构成,因此所述人脸特征信息可以包括眼睛特征信息、鼻子特征信息、嘴部特征信息、下巴特征信息以及面部轮廓特征信息等。本实施例中,人脸特征信息还可以包括皮肤特征信息、头发特征信息等,在此不一一列举。
步骤12:根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域。
如步骤12所述,根据所述人脸特征信息,调整所述自拍杆的 触控区域内的有效触控区域。
如上文所述,本实施例并非从硬件上改变自拍杆的触控区域,而是通过在移动终端侧对该触控区域进行“虚拟调整”以确定触控区域内的有效触控区域。当触控模组的触控区域上接收到触控操作,会产生相应的触控信号,所述触控信号会包括坐标信息(轨迹信息)、时间信息等。所述触控模组会将所述触控信号发送到所述移动终端,所述移动终端根据所述触控信号的坐标信息(轨迹信息)、时间信息,来确定需要执行的功能或操作。所述移动终端调整有效触控区域为调整所述有效触控区域的位置及大小,即调整所述有效触控区域覆盖的坐标范围。当所述触控信号的坐标信息或轨迹信息位于所述有效触控区域内时,即可判断所述触控信号为在有效触控区域内的触控操作产生的触控信号。
其中,所述触控区域是指自拍杆本体上的触控模组覆盖的整个区域。在初始状态下,所述有效触控区域覆盖所述触控区域,即整个所述触控区域均为有效触控区域,移动终端响应在触控区域内的触控操作产生的触控信号。然后,根据所述使用者的人脸特征信息调整所述有效触控区域的位置和大小。当调整了触控区域内的有效触控区域的位置和大小后,触控区域包括有效触控区域和无效触控区域。在此情况下,移动终端只响应使用者在所述有效触控区域内的触控操作所产生的有效触控信号,不响应使用者在所述无效触控区域内的触控操作(即移动终端判定在所述无效触控区域内的触控操作产生的触控信号是无效触控信号)。
具体地,所述步骤12包括:
步骤121:根据所述人脸特征信息中的眼睛特征信息、皮肤特征信息以及头发特征信息中的一种或多种确定所述有效触控区域的大小。
图3是本申请其中一实施例的一种连接自拍杆的移动终端的使用状态示意图。图4是本申请其中一实施例的有效触控区域与触控区域的位置关系示意图。
请参考图3,所述移动终端21设置在所述自拍杆22的支撑部件上,所述移动终端21与自拍杆22数据连接。移动终端与自拍杆之间可以通过蓝牙等无线装置建立数据连接或者通过导线等线控装置建立数据连接。其中,所述移动终端22包括摄像头221,所述自拍杆22包括触控模组,所述触控模组覆盖的区域为触控区域221。
请参考图4所示的触控区域221放大图,实际应用中,触控模组包裹自拍杆本体,在本实施例中,所述触控区域221展开后为矩形,所述触控区域221包括两条平行且等长的长边2211a和2211b以及两条连接所述第一边的短边2212a和2212b,所述长边2211a和2211b的长度为L 1、所述短边2212a和2212b的长度为H 1。有效触控区域也为矩形,所述有效触控区域包括两条长边2213a和2213b,及连接两条长边2213a和2213b的两条短边2214a和2214b,所述长边2213a和2213b的长度为L 2,所述短边2214a和2214b的长度为H 2,其中,L 2≤L 1、H 2≤H 1。需要说明的是,在初始状态下,所述有效触控区域覆盖所述触控区域221,即L 2=L 1、H 2=H 1
根据所述人脸特征信息中的眼睛特征信息、皮肤特征信息以及头发特征信息中的一种或多种确定所述使用者的生理特征信息(例如年龄、人种等信息),基于所述使用者的生理特征信息确定所述有效触控区域的第一调整系数K 1,然后根据所述第一调整系数K 1调整所述有效触控区域的长边2213a和2213b的长度L 2和短边2214a和2214b的长度H 2,即L 2=K 1×L 1、H 2=K 1×H 1,从而调整了所述有效触控区域的大小。由此可见,通过所述第一调整系数K 1可以根据不同使用者(例如不同年龄的使用者、不同人种的使用者等)的生理特征,相应地调整有效触控区域的大小,以满足不同生理特征的使用者的需求。例如,根据生理特征信息确定对应的使用者的手越大,其相应的第一调整系数K 1也就越大,反之,根据生理特征信息确定对应的使用者的手越小,其相应的第一调整系 数K 1也就越小,从而满足不同使用者的需求。
可以理解的是,在另一实施例中,调整所述有效触控区域的长边和短边的所述第一调整系数K 1可不相等。即L 2=K 1×L 1、H 2=K 1’×H 1,K 1≠K 1’。
进一步,发明人考虑,使用者手握自拍杆22的握姿不同,使用者的手指所能触摸到的区域位置也不同,因此,需要根据使用者的不同握姿调整有效触控区域的位置。
具体地,步骤12还包括:
步骤122:根据所述人脸特征信息中的眼睛特征信息分别确定所述使用者的左眼和右眼与所述摄像头之间的左眼距离和右眼距离。
在所述步骤122中,可以利用单目视觉测距原理或双目视觉测距原理(基于移动终端摄像头的类型确定)计算所述使用者的左眼和右眼与所述摄像头之间的左眼距离和右眼距离,其计算原理与上文中确定人脸与摄像头之间的距离相同,在此不再赘述。
步骤123:根据所述左眼距离和所述右眼距离之间的关系,确定所述使用者的握姿,其中所述握姿为右手握姿或者左手握姿。
在所述步骤123中,在移动终端中可以预先设定判断标准,根据移动终端上的摄像头的位置不同可以设定不同的判断标准。例如,设定的判断标准可以是当所述左眼距离大于或等于所述右眼距离,则确定所述使用者为右手握姿;当所述左眼距离小于所述右眼距离,则确定所述使用者为左手握姿。设定的判断标准也可以是当所述左眼距离大于或等于所述右眼距离,则确定所述使用者为左手握姿;当所述左眼距离小于所述右眼距离,则确定所述使用者为右手握姿。
步骤124:根据所述使用者的握姿调整所述有效触控区域在所述触控区域内的位置。
在所述步骤124中,若所述使用者为右手握姿,将所述有效触控区域向左平移,以使所述使用者的右手大拇指更方便地在所述有 效触控区域内做滑动操作。若所述使用者为左手握姿,将所述有效触控区域向右平移,以使所述使用者的左手大拇指更方便地在所述有效触控区域内做滑动操作。
或者,也可以是若所述使用者为右手握姿,将所述有效触控区域向右平移,以使所述使用者的右手大拇指的滑动范围尽可能覆盖所述有效触控区域。若所述使用者为左手握姿,将所述有效触控区域向左平移,以使所述使用者的左手大拇指的滑动范围尽可能覆盖所述有效触控区域。
需要说明的是,在所述有效触控区域的位置未做平移时,所述有效触控区域位于所述触控区域的正中位置,即所述有效触控区域的中心与所述触控区域的中心重合。上述将有效触控区域向左平移或向右平移是指将所述有效触控区域从所述触控区域的正中位置向左平移或向右平移。
在其他实施例中,所述移动终端也可以在显示屏上提示所述使用者来确定自己是左手握姿或者右手握姿,然后所述移动终端根据所述使用者的选择的握姿来确定如何调整所述有效触控区域的位置。
继续参考图4,假设所述有效触控区域的左侧短边2214b与所述触控区域221的左侧短边2212b之间的间距为L 3。根据所述使用者的握姿为左手握姿或者右手握姿,设置第二调整系数K 2,所述第二调整系数K 2用于调节L 3,即L 3=(L 1–L 2)×K 2。若将所述有效触控区域向左平移,则减小所述第二调整系数K 2,以使L 3减小(即所述有效触控区域更靠近所述触控区域221的左侧短边2212b),例如K 2=1/4;若将所述有效触控区域向右平移,则增大所述第二调整系数K 2,以使L 3增大(即所述有效触控区域更靠近所述触控区域221的右侧短边2212a),例如K 2=3/4。
在实际应用中,也可以利用第二调整系数K 2调节所述有效触控区域的右侧短边与所述触控区域221的右侧短边之间的间距,调节的原理与上文调节L 3相同,在此不再赘述。
继续参考图4,设置所述有效触控区域的上侧长边2213a与所述触控区域221的上侧长边2211a之间的间距为H 3。在本实施例中,H 3=(H 1–H 2)/2,即所述有效触控区域的上侧长边2213a与所述触控区域221的上侧长边2211a之间的间距等于所述有效触控区域的下侧长边2213b与所述触控区域221的下侧长边2211b之间的间距。
需要说明的是,为了便于描述,图4示意的是自拍杆上的所述触控区域221内有效触控区域的位置和大小,但在实际应用中,是在移动终端上通过软件策略虚拟调整自拍杆上触控区域内的有效触控区域的位置和大小。
步骤13:响应在所述有效触控区域内的触控操作产生的有效触控信号,执行所述有效触控信号对应的功能。
具体地,在所述移动终端虚拟调整了自拍杆22的触控区域221内的有效触控区域的位置和大小之后,当移动终端21接收到自拍杆22发送的触控信号(所述触控信号是所述自拍杆22的触控区域221感应所述使用者的触控操作而产生的信号)后,首先将判断该触控信号是否是有效触控信号,即判断该触控信号是否是所述使用者在有效触控区域内的触控操作所产生的信号。若是,则移动终端21响应所述有效触控信号,并执行所述有效触控信号对应的功能;若不是,即所述触控信号为无效触控信号,移动终端21不响应该触控信号。
本实施例中,有效触控信号对应的功能包括调焦(即调整摄像头拍摄图像的焦距)、摄像模式切换(例如拍照模式和视频模式之间的切换)、切换滤镜以及翻页等功能。在移动终端侧可以预先设定各个功能所对应的有效触控信号(对使用者来说,即预设了不同功能所对应的触控操作),当使用者执行了某一触控操作,移动终端接收到该触控操作产生的有效触控信号后,即执行与该触控操作(或者说有效触控信号)相应的功能。
图2是本申请另一实施例的一种自拍杆的触控区域的响应方法的流程示意图。
参考图2,所述步骤11~步骤13与上述图1所述的实施例一致,具体实施方式可参考图1的实施例,在此不再赘述。
与图1所述实施例不同的是,本实施例中,在所述步骤11之前,还包括:
步骤10:获取所述摄像头捕捉到的多个人脸与所述移动终端的距离,确定距离所述移动终端最近的人脸属于所述使用者。
进一步,若摄像头211的取景框内捕捉到多个人脸,则在获取所述使用者的人脸特征信息之前,移动终端21需要判断哪个人脸对应的用户为所述使用者(即手持自拍杆的用户)。在实际应用中,可以采用多种方式来确定多个人脸中的哪个人脸属于所述使用者。
在一实施例中,移动终端可以根据多个人脸分别与摄像头211之间的距离来判断哪个人脸属于所述使用者。若移动终端21的摄像头211为单目摄像头,则采用单目视觉测距原理分别计算各个人脸与单目摄像头之间的距离。单目视觉测距是先通过图像匹配进行目标识别(即识别出人脸),再通过目标(即人脸)在图像中的大小去估算目标距离。
若移动终端21的摄像头211为双目摄像头,则采用双目视觉测距原理分别计算各个人脸与双目摄像头之间的距离。双目视觉测距是通过计算两个摄像头211采集到的两幅图像之间的视差,再将视差转换为深度信息(即目标对象与摄像头211之间的距离),从而实现距离测量。由于单目视觉测距和双目视觉测距都是现有技术,因此具体的计算过程在此不再赘述。然后,基于计算得到的每个人脸与所述移动终端21(或者说移动终端的摄像头211)之间的距离,可以确定距离所述移动终端21最近的人脸为所述使用者,也可以确定距离所述移动终端21最远的人脸为所述使用者,进而获取所述使用者的人脸特征信息。
在另一实施例中,移动终端21可以根据摄像头211捕捉到图像中各个人脸的大小来判断哪个人脸属于所述使用者。考虑到握持自拍杆22并使用移动终端21拍照的使用者一般站在靠前的位置以方便拍摄,判断人脸在摄像头211的感光元件上成像最大的人脸属于所述使用者。在其他的一些情况下,也可以判断人脸在摄像头211的感光元件上成像最小的人脸属于所述使用者。
在又一实施例中,移动终端21可以根据特定操作确定摄像头211捕捉到图像中的哪个人脸属于所述使用者。当移动终端21的摄像头211捕捉到多个人脸时,在移动终端21的显示屏上提示用户选择所述使用者的人脸。所述特定操作可以为对某个人脸的点选操作。当移动终端21接收到用户在显示屏上点击其中一个人脸后,移动终端即响应所述特定操作以将该人脸判断为所述使用者的人脸。
在实际应用中,当移动终端21的摄像头211捕捉到多个人脸时,可以采用上述任一种或多种方式结合来确定哪个人脸为所述使用者,当然实际应用中并不限于上述列举的方式。
图5是本申请的一种自拍杆的触控区域的响应方法的另一具体实施例的流程示意图。参考图5,所述响应方法包括:
步骤31:基于摄像头捕捉到的使用者的人脸,获取所述使用者的人脸特征信息。
步骤32:根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域。
步骤33:根据所述人脸特征信息,调整所述有效触控区域内的滑动灵敏度和功能响应阈值。
步骤34:根据调整后的所述功能响应阈值,在所述有效触控区域内的触控操作产生的有效触控信号符合相应功能的触发条件时,根据所述滑动灵敏度执行所述相应功能。
在本实施例中,所述步骤31与步骤32的具体实施过程与上文 图1所述的实施例中的步骤11和步骤12相同,可参考上文实施例的详细描述,在此不再赘述。
与图1所述实施例不同的是,在本实施例中,在执行所述步骤32之后,还包括根据所述人脸特征信息,调整所述有效触控区域内的滑动灵敏度和功能响应阈值(即步骤33)。
具体来说,发明人进一步考虑,对于不同类型的使用者(例如孩子和成人),由于手指长度、手指滑动敏捷性等差异较大,因此对于同样的触控操作,需要设置不同的滑动灵敏度和功能响应阈值,从而满足不同类型使用者的需求。
其中,所述滑动灵敏度是指使用者在有效触控区域内滑动单位长度对应移动终端执行的实际长度。滑动灵敏度越高,使用者在有效触控区域内滑动同一距离,移动终端响应该滑动操作后执行的实际距离越长。因此,若根据人脸特征信息确定所述使用者为孩子,则设置较高的滑动灵敏度(小孩的手相对较小),若所述使用者为成人,则设置较低的滑动灵敏度(成人的手相对较大)。
所述功能响应阈值是指移动终端执行某一滑动方向上相应功能所需的最小滑动长度。也就是说,为了防止误触,若需要移动终端执行某一功能,所述使用者在有效触控区域内的某一滑动方向上所做的滑动操作需要满足最小滑动长度。因此,若根据人脸特征信息确定所述使用者为孩子,则设置较小的功能响应阈值(小孩的手相对较小),这样移动终端更容易响应使用者的滑动操作;反之,若所述使用者为成人,则设置较大的功能响应阈值(成人的手相对较大)。
如步骤34所述,根据调整后的所述功能响应阈值,在所述有效触控区域内的触控操作产生的有效触控信号符合相应功能的触发条件时,根据所述滑动灵敏度执行所述相应功能。
具体来说,移动终端在根据所述使用者的人脸特征信息调整了所述有效触控区域内的滑动灵敏度和功能响应阈值之后,当接收到的有效触控信号符合相应功能的触发条件时,移动终端根据滑动灵 敏度执行所述相应功能。其中,符合相应功能的触发条件是指使用者在有效触控区域内的滑动操作符合该功能对应的滑动方向,并在该滑动方向上的滑动长度满足该功能的所述功能响应阈值。
然后,所述移动终端根据滑动灵敏度执行相应的功能,即根据接收到的有效触控信号中使用者在有效触控区域内某一方向上的滑动长度,基于滑动灵敏度换算出该滑动长度对应执行的实际长度,并依照实际长度执行相应的功能。
需要说明的是,在上述图1和图2所述的实施例中,在初始化状态下,所述有效触控区域覆盖所述触控区域。而当所述移动终端未接收到触控信号超过预设时间,初始化所述有效触控区域。其中,所述触控信号是所述自拍杆的触控区域感应所述使用者的触控操作而产生的信号。其中,所述预设时间可以由使用者自行设定。
基于上述方法实施例,本申请实施例还提供了一种移动终端,所述移动终端在与自拍杆连接之后,可以执行上述方法实施例。
图6是本申请的一种移动终端的结构示意图。
参考图6,所述移动终端41包括处理器411、存储器412及存储在所述存储器412上并可在所述处理器411上运行的计算机程序、摄像头413。移动终端41可以与自拍杆(图4中未示出)相连接,在所述自拍杆上设置有支撑部件用于放置所述移动终端41。所述移动终端41与所述自拍杆之间可以通过蓝牙连接或者线控连接。所述自拍杆包括触控模组,所述触控模组贴设并覆盖所述自拍杆的部分表面上。
所述处理器411执行所述计算机程序以执行以下步骤:,基于摄像头413捕捉到的使用者的人脸,获取所述使用者的人脸特征信息;根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域;响应在所述有效触控区域内的触控操作产生的有效触控信号,执行所述有效触控信号对应的功能。
所述人脸特征信息包括眼睛特征信息。所述处理器411执行所述计算机程序时,用于根据所述眼睛特征信息分别确定所述使用者的左眼和右眼与所述摄像头之间的左眼距离和右眼距离;根据所述左眼距离和所述右眼距离之间的关系,确定所述使用者的握姿,其中所述握姿为右手握姿或者左手握姿;根据所述使用者的握姿调整所述有效触控区域在所述触控区域内的位置。所述处理器411执行所述计算机程序时,用于当所述左眼距离大于或等于所述右眼距离,则确定所述使用者为右手握姿,将所述有效触控区域向左平移;当所述左眼距离小于所述右眼距离,则确定所述使用者为左手握姿,将所述有效触控区域向右平移。
所述人脸特征信息包括眼睛特征信息、皮肤特征信息以及头发特征信息中的一种或多种。所述处理器411执行所述计算机程序时,用于根据眼睛特征信息、皮肤特征信息以及头发特征信息中的一种或多种确定所述有效触控区域的大小。
所述处理器411执行所述计算机程序以执行以下步骤:在所述根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域之后,根据所述人脸特征信息,调整所述有效触控区域内的滑动灵敏度和功能响应阈值;根据调整后的所述功能响应阈值,在所述有效触控区域内的触控操作产生的有效触控信号符合相应功能的触发条件时,根据所述滑动灵敏度执行所述相应功能。
所述处理器411执行所述计算机程序以执行以下步骤,在获取所述使用者的人脸特征信息之前,获取所述摄像头捕捉到的多个人脸与所述移动终端的距离,确定距离所述移动终端最近的人脸为所述使用者。
所述处理器411执行所述计算机程序以执行以下步骤,在初始化状态下,所述有效触控区域覆盖所述触控区域。
所述处理器411执行所述计算机程序以执行以下步骤,当所述移动终端未接收到触控信号超过预设时间,初始化所述有效触控区域;其中,所述触控信号是所述自拍杆的触控区域感应所述使用者 的触控操作而产生的信号。
本申请实施例还提供一种非临时性计算机可读存储介质,其上存储有计算机程序,上述计算机程序被处理器执行时可以实现本申请实施例提供的自拍杆的触控区域的响应方法。
上述非临时性计算机可读存储介质可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(Read Only Memory;以下简称:ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory;以下简称:EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network;以下简称:LAN)或广域网(Wide Area Network;以下简称:WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (17)

  1. 一种自拍杆的触控区域的响应方法,应用于与所述自拍杆连接的移动终端,其特征在于,所述响应方法包括:
    基于摄像头捕捉到的使用者的人脸,获取所述使用者的人脸特征信息;
    根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域;
    响应在所述有效触控区域内的触控操作产生的有效触控信号,执行所述有效触控信号对应的功能。
  2. 如权利要求1所述的自拍杆的触控区域的响应方法,其特征在于,所述人脸特征信息包括眼睛特征信息;所述根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域,包括:
    根据所述眼睛特征信息分别确定所述使用者的左眼和右眼与所述摄像头之间的左眼距离和右眼距离;
    根据所述左眼距离和所述右眼距离之间的关系,确定所述使用者的握姿,其中所述握姿为右手握姿或者左手握姿;
    根据所述使用者的握姿调整所述有效触控区域在所述触控区域内的位置。
  3. 如权利要求2所述的自拍杆的触控区域的响应方法,其特征在于,所述基于所述左眼距离和所述右眼距离之间的关系,确定所述使用者的握姿包括:
    当所述左眼距离大于或等于所述右眼距离,确定所述使用者为右手握姿;当所述左眼距离小于所述右眼距离,确定所述使用者为左手握姿;
    所述根据所述使用者的握姿调整所述有效触控区域在所述触控区域内的位置包括:
    若所述使用者为右手握姿,将所述有效触控区域向左平移;若所述使用者为左手握姿,将所述有效触控区域向右平移。
  4. 如权利要求1所述的自拍杆的触控区域的响应方法,其特征在 于,所述人脸特征信息包括眼睛特征信息、皮肤特征信息以及头发特征信息中的一种或多种;所述根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域,包括:
    根据眼睛特征信息、皮肤特征信息以及头发特征信息中的一种或多种确定所述有效触控区域的大小。
  5. 如权利要求1所述的自拍杆的触控区域的响应方法,其特征在于,在所述根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域之后,还包括:
    根据所述人脸特征信息,调整所述有效触控区域内的滑动灵敏度和功能响应阈值;
    所述响应在所述有效触控区域内的触控操作产生的有效触控信号,执行所述有效触控信号对应的功能,包括:
    根据调整后的所述功能响应阈值,在所述有效触控区域内的触控操作产生的有效触控信号符合相应功能的触发条件时,根据所述滑动灵敏度执行所述相应功能。
  6. 如权利要求1所述的自拍杆的触控区域的响应方法,其特征在于,在获取所述使用者的人脸特征信息之前,包括:
    获取所述摄像头捕捉到的多个人脸与所述移动终端的距离,确定距离所述移动终端最近的人脸属于所述使用者。
  7. 如权利要求1所述的自拍杆的触控区域的响应方法,其特征在于,在初始化状态下,所述有效触控区域覆盖所述触控区域。
  8. 如权利要求1所述的自拍杆的触控区域的响应方法,其特征在于,当所述移动终端未接收到触控信号超过预设时间,初始化所述有效触控区域;其中,所述触控信号是所述自拍杆的触控区域感应所述使用者的触控操作而产生的信号。
  9. 一种移动终端,所述移动终端与自拍杆连接,其特征在于,所述移动终端包括:摄像头、处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述自拍杆包括触控模组,所述触控模组贴设并覆盖所述自拍杆的部分表面上;
    所述处理器执行所述计算机程序以执行以下步骤:
    基于摄像头捕捉到的使用者的人脸,获取所述使用者的人脸特征信息;根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域;响应在所述有效触控区域内的触控操作产生的有效触控信号,执行所述有效触控信号对应的功能。
  10. 如权利要求9所述的移动终端,其特征在于,所述人脸特征信息包括眼睛特征信息;
    所述处理器执行所述计算机程序以执行以下步骤:
    根据所述眼睛特征信息分别确定所述使用者的左眼和右眼与所述摄像头之间的左眼距离和右眼距离;根据所述左眼距离和所述右眼距离之间的关系,确定所述使用者的握姿,其中所述握姿为右手握姿或者左手握姿;根据所述使用者的握姿调整所述有效触控区域在所述触控区域内的位置。
  11. 如权利要求10所述的移动终端,其特征在于,所述处理器执行所述计算机程序以执行以下步骤:
    当所述左眼距离大于或等于所述右眼距离,确定所述使用者为右手握姿,将所述有效触控区域向左平移;当所述左眼距离小于所述右眼距离,确定所述使用者为左手握姿,将所述有效触控区域向右平移。
  12. 如权利要求9所述的移动终端,其特征在于,所述人脸特征信息包括眼睛特征信息、皮肤特征信息以及头发特征信息中的一种或多种;
    所述处理器执行所述计算机程序以执行以下步骤:
    根据眼睛特征信息、皮肤特征信息以及头发特征信息中的一种或多种确定所述有效触控区域的大小。
  13. 如权利要求9所述的移动终端,其特征在于,在所述处理器执行所述根据所述人脸特征信息,调整所述自拍杆的触控区域内的有效触控区域之后,所述处理器执行所述计算机程序以执行以下步骤:根据所述人脸特征信息,调整所述有效触控区域内的滑动灵敏度和功能 响应阈值;根据调整后的所述功能响应阈值,在所述有效触控区域内的触控操作产生的有效触控信号符合相应功能的触发条件时,根据所述滑动灵敏度执行所述相应功能。
  14. 如权利要求9所述的移动终端,其特征在于,在所述处理器执行所述获取所述使用者的人脸特征信息之前,所述处理器执行所述计算机程序以执行以下步骤:
    获取所述摄像头捕捉到的多个人脸与所述移动终端的距离,确定距离所述移动终端最近的人脸为所述使用者。
  15. 如权利要求9所述的移动终端,其特征在于,所述处理器执行所述计算机程序以执行以下步骤:
    在初始化状态下,所述有效触控区域覆盖所述触控区域。
  16. 如权利要求9所述的移动终端,其特征在于,所述处理器执行所述计算机程序以执行以下步骤:
    当所述移动终端未接收到触控信号超过预设时间,初始化所述有效触控区域;其中,所述触控信号是所述自拍杆的触控区域感应所述使用者的触控操作而产生的信号。
  17. 一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-8中任一所述的自拍杆的触控区域的响应方法。
PCT/CN2019/087204 2019-05-16 2019-05-16 自拍杆的触控区域的响应方法及移动终端 Ceased WO2020228015A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980079776.8A CN113518969A (zh) 2019-05-16 2019-05-16 自拍杆的触控区域的响应方法及移动终端
PCT/CN2019/087204 WO2020228015A1 (zh) 2019-05-16 2019-05-16 自拍杆的触控区域的响应方法及移动终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/087204 WO2020228015A1 (zh) 2019-05-16 2019-05-16 自拍杆的触控区域的响应方法及移动终端

Publications (1)

Publication Number Publication Date
WO2020228015A1 true WO2020228015A1 (zh) 2020-11-19

Family

ID=73290010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/087204 Ceased WO2020228015A1 (zh) 2019-05-16 2019-05-16 自拍杆的触控区域的响应方法及移动终端

Country Status (2)

Country Link
CN (1) CN113518969A (zh)
WO (1) WO2020228015A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205824568U (zh) * 2015-04-24 2016-12-21 中山品创塑胶制品有限公司 一种自拍杆的控制手柄
CN106598426A (zh) * 2016-11-17 2017-04-26 珠海市魅族科技有限公司 防误触系统及方法
CN106959761A (zh) * 2017-04-18 2017-07-18 广东欧珀移动通信有限公司 一种终端拍照方法、装置及终端
CN207234872U (zh) * 2017-09-22 2018-04-13 合肥戴勒科技有限公司 一种触屏式自拍杆
WO2018082047A1 (zh) * 2016-11-04 2018-05-11 深圳市柔宇科技有限公司 自拍杆及通过自拍杆控制拍摄设备的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205824568U (zh) * 2015-04-24 2016-12-21 中山品创塑胶制品有限公司 一种自拍杆的控制手柄
WO2018082047A1 (zh) * 2016-11-04 2018-05-11 深圳市柔宇科技有限公司 自拍杆及通过自拍杆控制拍摄设备的方法
CN106598426A (zh) * 2016-11-17 2017-04-26 珠海市魅族科技有限公司 防误触系统及方法
CN106959761A (zh) * 2017-04-18 2017-07-18 广东欧珀移动通信有限公司 一种终端拍照方法、装置及终端
CN207234872U (zh) * 2017-09-22 2018-04-13 合肥戴勒科技有限公司 一种触屏式自拍杆

Also Published As

Publication number Publication date
CN113518969A (zh) 2021-10-19

Similar Documents

Publication Publication Date Title
EP2509070B1 (en) Apparatus and method for determining relevance of input speech
CN111819521B (zh) 信息处理装置、信息处理方法和程序
CN112835445B (zh) 虚拟现实场景中的交互方法、装置及系统
CN112351188B (zh) 根据对象显示图形元素的装置和方法
WO2020103526A1 (zh) 拍照方法、装置、存储介质及终端设备
CN106104650A (zh) 经由凝视检测进行远程设备控制
KR102110208B1 (ko) 안경형 단말기 및 이의 제어방법
CN113741681A (zh) 一种图像校正方法与电子设备
CN106685459A (zh) 一种可穿戴设备操作的控制方法及可穿戴设备
CN110427108A (zh) 基于眼球追踪的拍照方法及相关产品
CN109688325B (zh) 一种图像显示方法及终端设备
CN114079729A (zh) 拍摄控制方法、装置、电子设备及存储介质
CN108921815A (zh) 拍照交互方法、装置、存储介质及终端设备
CN105306819A (zh) 一种基于手势控制拍照的方法及装置
CN106325480A (zh) 基于视线追踪的鼠标控制设备及其方法
CN113342157B (zh) 眼球追踪处理方法及相关装置
CN113395438B (zh) 眼球追踪技术的图像校正方法及相关装置
CN112836685A (zh) 一种辅助阅读方法、系统及存储介质
CN114416237B (zh) 显示状态切换方法、装置及系统、电子设备、存储介质
WO2020228015A1 (zh) 自拍杆的触控区域的响应方法及移动终端
JP5989725B2 (ja) 電子機器及び情報表示プログラム
CN111626924A (zh) 图像的虚化处理方法、装置、电子设备及可读存储介质
CN114077303B (zh) Ar眼镜摄像头角度调整方法、装置、电子设备及介质
KR102349452B1 (ko) 사용자 인증 방법 및 이를 지원하는 머리 착용형 장치
KR20230134348A (ko) 생체 신호 기반의 동작 제어를 위한 전자 장치 및 그 동작 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19928771

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19928771

Country of ref document: EP

Kind code of ref document: A1