CN113138663B - Equipment adjustment method, equipment adjustment device, electronic equipment and storage medium - Google Patents
Equipment adjustment method, equipment adjustment device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113138663B CN113138663B CN202110335548.1A CN202110335548A CN113138663B CN 113138663 B CN113138663 B CN 113138663B CN 202110335548 A CN202110335548 A CN 202110335548A CN 113138663 B CN113138663 B CN 113138663B
- Authority
- CN
- China
- Prior art keywords
- gesture
- adjustment
- movement
- mapping relationship
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
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
本公开是关于一种设备调节方法、设备调节装置、电子设备及存储介质。设备调节方法,应用于电子设备,设备调节方法包括:响应于采集到手势,且确定手势具有调节设备参数的手势形状,在电子设备上显示与手势形状对应的设备参数的调节控件。确定手势形状大小与调节控件的调节区间之间的比例尺映射关系。在手势发生移动的情况下,基于手势的移动变化量以及比例尺映射关系,调节设备参数的数值。通过本公开提供的设备调节方法,能够基于手势形状大小与调节控件的调节区间之间的比例尺映射关系以及手势的移动变化量,对设备参数的数值进行精准调节,且操作简单,有助于增强用户的使用体验。
The present disclosure relates to a device adjustment method, a device adjustment apparatus, an electronic device, and a storage medium. The device adjustment method is applied to an electronic device, and the device adjustment method includes: in response to collecting a gesture and determining that the gesture has a gesture shape for adjusting a device parameter, displaying an adjustment control of the device parameter corresponding to the gesture shape on the electronic device. Determine the scale mapping relationship between the gesture shape size and the adjustment interval of the adjustment control. In the case where the gesture moves, adjust the value of the device parameter based on the movement change of the gesture and the scale mapping relationship. Through the device adjustment method provided by the present disclosure, the value of the device parameter can be accurately adjusted based on the scale mapping relationship between the gesture shape size and the adjustment interval of the adjustment control and the movement change of the gesture, and the operation is simple, which helps to enhance the user experience.
Description
技术领域Technical Field
本公开涉及人机交互技术领域,尤其涉及一种设备调节方法、设备调节装置、电子设备及存储介质。The present disclosure relates to the field of human-computer interaction technology, and in particular to a device adjustment method, a device adjustment apparatus, an electronic device, and a storage medium.
背景技术Background Art
随着智能家居行业的蓬勃发展,电子设备也迎来了从传统设备到电子设备的划时代革命。与此同时,用户对于电子设备的需求也越来越高,不满足传统的控制方式,更多的希望增加一些能够与电子设备进行交互的功能。With the booming development of the smart home industry, electronic devices have also ushered in an epoch-making revolution from traditional devices to electronic devices. At the same time, users' demands for electronic devices are getting higher and higher. They are not satisfied with the traditional control methods and hope to add some functions that can interact with electronic devices.
相关技术中,在调节电子设备中设备参数的数值时,通常采用物理按键、遥控器或者语音等方式进行调节,需要用户多次操作或者下达多次命令,导致用户体验差。In the related art, when adjusting the value of a device parameter in an electronic device, physical buttons, a remote control, or voice are usually used for adjustment, which requires the user to operate multiple times or issue multiple commands, resulting in a poor user experience.
发明内容Summary of the invention
为克服相关技术中存在的问题,本公开提供一种设备调节方法、设备调节装置、电子设备及存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a device adjustment method, a device adjustment apparatus, an electronic device and a storage medium.
根据本公开实施例的第一方面,提供一种设备调节方法,应用于电子设备,所述设备调节方法包括:响应于采集到手势,且确定所述手势具有调节设备参数的手势形状,在所述电子设备上显示与所述手势形状对应的所述设备参数的调节控件。确定所述手势形状大小与所述调节控件的调节区间之间的比例尺映射关系。在所述手势发生移动的情况下,基于所述手势的移动变化量以及所述比例尺映射关系,调节所述设备参数的数值。According to a first aspect of an embodiment of the present disclosure, a device adjustment method is provided, which is applied to an electronic device, and the device adjustment method includes: in response to collecting a gesture and determining that the gesture has a gesture shape for adjusting a device parameter, displaying an adjustment control of the device parameter corresponding to the gesture shape on the electronic device. Determine a scale mapping relationship between the size of the gesture shape and the adjustment interval of the adjustment control. In the case where the gesture moves, adjust the value of the device parameter based on the movement change of the gesture and the scale mapping relationship.
在一些实施例中,所述确定所述手势形状大小与所述调节控件的调节区间之间的比例尺映射关系,包括:基于所述手势形状大小以及所述手势形状大小在所述调节区间内的映射数量,确定所述手势形状大小对应的所述调节区间的移动距离。基于所述调节区间,以及所述移动距离,确定单位移动距离对应的单位调节量。将所述单位调节量与所述单位移动距离进行映射,确定所述手势形状大小与所述调节区间之间的比例尺映射关系。In some embodiments, the determining of the scale mapping relationship between the gesture shape size and the adjustment interval of the adjustment control includes: determining the moving distance of the adjustment interval corresponding to the gesture shape size based on the gesture shape size and the number of mappings of the gesture shape size in the adjustment interval. Based on the adjustment interval and the moving distance, determining the unit adjustment amount corresponding to the unit moving distance. Mapping the unit adjustment amount with the unit moving distance to determine the scale mapping relationship between the gesture shape size and the adjustment interval.
在另一些实施例中,所述基于所述手势的移动变化量以及所述比例尺映射关系,调节所述设备参数的数值,包括:将所述手势移动的初始位置与所述设备参数的初始参数值相对应。确定所述手势移动的方向,并确定所述手势在所述方向上相对所述初始位置的移动变化量。基于所述移动变化量以及所述比例尺映射关系,确定所述移动变化量对应的调节变化量。基于手势移动方向与进度条调整方向的对应关系,在匹配所述手势移动的方向上,在所述初始参数值基础上调节所述调节变化量。In other embodiments, adjusting the value of the device parameter based on the movement change of the gesture and the scale mapping relationship includes: making the initial position of the gesture movement correspond to the initial parameter value of the device parameter. Determining the direction of the gesture movement, and determining the movement change of the gesture relative to the initial position in the direction. Determining the adjustment change corresponding to the movement change based on the movement change and the scale mapping relationship. Based on the correspondence between the gesture movement direction and the progress bar adjustment direction, adjusting the adjustment change based on the initial parameter value in the direction matching the gesture movement.
在又一些实施例中,在基于所述手势的移动变化量以及所述比例尺映射关系,调节所述设备参数的数值之前,所述设备调节方法还包括:确定所述手势在有效移动范围内移动。In some further embodiments, before adjusting the value of the device parameter based on the movement change of the gesture and the scale mapping relationship, the device adjustment method further includes: determining that the gesture moves within a valid movement range.
在又一些实施例中,所述设备调节方法还包括:响应于所述手势在非有效移动范围内移动,暂停调节所述设备参数的数值。In some further embodiments, the device adjustment method further includes: in response to the gesture moving within an ineffective movement range, pausing adjustment of the value of the device parameter.
在又一些实施例中,在暂停调节所述设备参数的数值之后,所述设备调节方法还包括:若在有效时间范围内,监测到所述手势在有效移动范围内移动,则在当前调节进度基础上,继续基于所述手势的移动变化量以及所述比例尺映射关系,调节所述设备参数的数值。In some other embodiments, after pausing the adjustment of the value of the device parameter, the device adjustment method further includes: if within a valid time range, the gesture is monitored to move within a valid movement range, then based on the current adjustment progress, the value of the device parameter continues to be adjusted based on the movement change of the gesture and the scale mapping relationship.
在又一些实施例中,所述调节控件包括:进度条;在所述电子设备上显示与所述手势形状对应的所述设备参数的调节控件,包括:基于移动方向与进度条种类的映射关系,根据所述手势的移动方向,确定并在所述电子设备上显示与所述手势形状对应的所述设备参数的进度条,其中,不同的移动方向对应不同的进度条种类。In some further embodiments, the adjustment control includes: a progress bar; and an adjustment control for displaying the device parameter corresponding to the gesture shape on the electronic device, including: based on a mapping relationship between a moving direction and a progress bar type, according to the moving direction of the gesture, determining and displaying the progress bar for the device parameter corresponding to the gesture shape on the electronic device, wherein different moving directions correspond to different types of progress bars.
根据本公开实施例的第二方面,提供一种设备调节装置,应用于电子设备,所述设备调节装置包括:显示模块,用于响应于采集到手势,且确定所述手势具有调节设备参数的手势形状,在所述电子设备上显示与所述手势形状对应的所述设备参数的调节控件。确定模块,用于确定所述手势形状大小与所述调节控件的调节区间之间的比例尺映射关系。调节模块,用于在所述手势发生移动的情况下,基于所述手势的移动变化量以及所述比例尺映射关系,调节所述设备参数的数值。According to a second aspect of an embodiment of the present disclosure, there is provided a device adjustment apparatus, which is applied to an electronic device, and the device adjustment apparatus comprises: a display module, which is used to display an adjustment control of the device parameter corresponding to the gesture shape on the electronic device in response to a gesture being collected and determining that the gesture has a gesture shape for adjusting a device parameter. A determination module, which is used to determine a scale mapping relationship between the size of the gesture shape and the adjustment interval of the adjustment control. An adjustment module, which is used to adjust the value of the device parameter based on the movement change of the gesture and the scale mapping relationship when the gesture moves.
在一些实施例中,所述确定模块采用下述方式确定所述手势形状大小与所述调节控件的调节区间之间的比例尺映射关系:基于所述手势形状大小以及所述手势形状大小在所述调节区间内的映射数量,确定所述手势形状大小对应的所述调节区间的移动距离。基于所述调节区间,以及所述移动距离,确定单位移动距离对应的单位调节量。将所述单位调节量与所述单位移动距离进行映射,确定所述手势形状大小与所述调节区间之间的比例尺映射关系。In some embodiments, the determination module determines the scale mapping relationship between the gesture shape size and the adjustment interval of the adjustment control in the following manner: based on the gesture shape size and the number of mappings of the gesture shape size in the adjustment interval, determine the moving distance of the adjustment interval corresponding to the gesture shape size. Based on the adjustment interval and the moving distance, determine the unit adjustment amount corresponding to the unit moving distance. Map the unit adjustment amount to the unit moving distance to determine the scale mapping relationship between the gesture shape size and the adjustment interval.
在另一些实施例中,所述调节模块采用下述方式基于所述手势的移动变化量以及所述比例尺映射关系,调节所述设备参数的数值:将所述手势移动的初始位置与所述设备参数的初始参数值相对应。确定所述手势移动的方向,并确定所述手势在所述方向上相对所述初始位置的移动变化量。基于所述移动变化量以及所述比例尺映射关系,确定所述移动变化量对应的调节变化量。基于手势移动方向与进度条调整方向的对应关系,在匹配所述手势移动的方向上,在所述初始参数值基础上调节所述调节变化量。In other embodiments, the adjustment module adjusts the value of the device parameter based on the movement change of the gesture and the scale mapping relationship in the following manner: the initial position of the gesture movement is made to correspond to the initial parameter value of the device parameter. The direction of the gesture movement is determined, and the movement change of the gesture in the direction relative to the initial position is determined. Based on the movement change and the scale mapping relationship, the adjustment change corresponding to the movement change is determined. Based on the correspondence between the gesture movement direction and the progress bar adjustment direction, the adjustment change is adjusted on the basis of the initial parameter value in the direction matching the gesture movement.
在又一些实施例中,所述确定模块,还用于:确定所述手势在有效移动范围内移动。In some further embodiments, the determination module is further used to: determine that the gesture moves within a valid movement range.
在又一些实施例中,所述调节模块,还用于:响应于所述手势在非有效移动范围内移动,暂停调节所述设备参数的数值。In some further embodiments, the adjustment module is further used to: in response to the gesture moving within an ineffective movement range, suspend adjusting the value of the device parameter.
在又一些实施例中,所述调节模块,还用于:若在有效时间范围内,监测到所述手势在有效移动范围内移动,则在当前调节进度基础上,继续基于所述手势的移动变化量以及所述比例尺映射关系,调节所述设备参数的数值。In some other embodiments, the adjustment module is also used for: if the gesture is monitored to move within the effective movement range within the effective time range, then based on the current adjustment progress, continue to adjust the value of the device parameter based on the movement change of the gesture and the scale mapping relationship.
在又一些实施例中,所述调节控件包括:进度条;所述显示模块采用下述方式在所述电子设备上显示与所述手势形状对应的所述设备参数的调节控件:基于移动方向与进度条种类的映射关系,根据所述手势的移动方向,确定并在所述电子设备上显示与所述手势形状对应的所述设备参数的进度条,其中,不同的移动方向对应不同的进度条种类条。In some further embodiments, the adjustment control includes: a progress bar; the display module displays the adjustment control of the device parameter corresponding to the gesture shape on the electronic device in the following manner: based on the mapping relationship between the moving direction and the progress bar type, according to the moving direction of the gesture, determine and display the progress bar of the device parameter corresponding to the gesture shape on the electronic device, wherein different moving directions correspond to different types of progress bars.
在又一些实施例中,所述电子设备至少包括图像采集装置,所述图像采集装置用于采集所述手势。In some further embodiments, the electronic device includes at least an image acquisition device, and the image acquisition device is used to acquire the gesture.
根据本公开实施例的第三方面,提供一种电子设备,包括:存储器,用于存储指令。以及处理器,用于调用所述存储器存储的指令执行上述任意一种所述的设备调节方法。According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a memory for storing instructions, and a processor for calling the instructions stored in the memory to execute any one of the above-mentioned device adjustment methods.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,存储有指令,所述指令被处理器执行时,执行上述任意一种所述的设备调节方法。According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, storing instructions, and when the instructions are executed by a processor, any one of the above-mentioned device adjustment methods is executed.
本公开的实施例提供的技术方案可以包括以下有益效果:通过本公开提供的设备调节方法,能够基于采集到的手势,确定手势形状大小与调节控件的调节区间之间的比例尺映射关系,进而在进行进度调节时,能够基于手势的位移变化量以及比例尺映射关系,对设备参数进行精准调节,使用户在调节设备参数过程中,无须执行多次动作,操作便捷的同时,有助于增强用户的使用体验。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: through the device adjustment method provided by the present disclosure, it is possible to determine the scale mapping relationship between the shape and size of the gesture and the adjustment range of the adjustment control based on the collected gesture, and then when adjusting the progress, it is possible to accurately adjust the device parameters based on the displacement change of the gesture and the scale mapping relationship, so that the user does not need to perform multiple actions during the process of adjusting the device parameters. While the operation is convenient, it helps to enhance the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
图1是根据本公开一示例性实施例示出的一种设备调节方法的流程图。Fig. 1 is a flow chart showing a method for adjusting a device according to an exemplary embodiment of the present disclosure.
图2是根据本公开一示例性实施例示出的一种电子设备示意图。Fig. 2 is a schematic diagram of an electronic device according to an exemplary embodiment of the present disclosure.
图3是根据本公开一示例性实施例示出的一种设备调节效果图。Fig. 3 is a diagram showing an effect of device adjustment according to an exemplary embodiment of the present disclosure.
图4是根据本公开一示例性实施例示出的一种确定比例尺映射关系方法的流程图。Fig. 4 is a flow chart showing a method for determining a scale mapping relationship according to an exemplary embodiment of the present disclosure.
图5是根据本公开一示例性实施例示出的一种确定形状大小的示意图。Fig. 5 is a schematic diagram showing a method of determining a shape size according to an exemplary embodiment of the present disclosure.
图6a是根据本公开一示例性实施例示出的一种设备调节的交互示意图。Fig. 6a is an interactive schematic diagram of device adjustment according to an exemplary embodiment of the present disclosure.
图6b是根据本公开一示例性实施例示出的另一种设备调节的交互示意图。Fig. 6b is a schematic diagram of another interactive device adjustment according to an exemplary embodiment of the present disclosure.
图7是根据本公开一示例性实施例示出的一种确定设备参数调节变化量的过程示意图。Fig. 7 is a schematic diagram showing a process of determining a device parameter adjustment change amount according to an exemplary embodiment of the present disclosure.
图8是根据本公开一示例性实施例示出的另一种设备调节方法的流程图。Fig. 8 is a flow chart showing another device adjustment method according to an exemplary embodiment of the present disclosure.
图9是根据本公开一示例性实施例示出的一种有效移动范围的示意图。FIG. 9 is a schematic diagram showing an effective movement range according to an exemplary embodiment of the present disclosure.
图10是根据本公开一示例性实施例示出的又一种设备调节方法的示意图。Fig. 10 is a schematic diagram showing yet another device adjustment method according to an exemplary embodiment of the present disclosure.
图11是根据本公开一示例性实施例示出的一种设备调节装置框图。Fig. 11 is a block diagram of a device adjustment apparatus according to an exemplary embodiment of the present disclosure.
图12是根据本公开一示例性实施例示出的另一种设备调节装置框图。Fig. 12 is a block diagram of another device adjustment apparatus according to an exemplary embodiment of the present disclosure.
图13是根据本公开一示例性实施例示出的又一种设备调节装置框图。Fig. 13 is a block diagram of another device adjustment apparatus according to an exemplary embodiment of the present disclosure.
具体实施方式DETAILED DESCRIPTION
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
本公开提供一种设备调节方法,能够基于采集到的手势形状,确定手势形状大小与进度条调节区间之间的比例尺映射关系,进而调节调节控件的设备参数时,无需用户采用较大的动作幅度,便可以进行精准调节,实用性强,且调节过程便捷,有助于提升用户的使用体验。The present disclosure provides a device adjustment method, which can determine the proportional mapping relationship between the size of the gesture shape and the progress bar adjustment interval based on the collected gesture shape, and then adjust the device parameters of the adjustment control without the user adopting a large movement amplitude, and can perform precise adjustment. It is highly practical and the adjustment process is convenient, which helps to improve the user experience.
在一些示例中,本公开所提供的设备调节方法,能够应用于电子设备中。在一些实施例中,电子设备的种类可以包括:手机、平板、智能电视、带屏智能音箱、带屏智能手表、ipod等。在另一些实施例中,终端的结构可以包括:双面屏电子设备、折叠屏电子设备、全面屏电子设备、曲面屏电子设备等。In some examples, the device adjustment method provided by the present disclosure can be applied to electronic devices. In some embodiments, the types of electronic devices may include: mobile phones, tablets, smart TVs, smart speakers with screens, smart watches with screens, iPods, etc. In other embodiments, the structure of the terminal may include: double-sided screen electronic devices, folding screen electronic devices, full-screen electronic devices, curved screen electronic devices, etc.
图1是根据一示例性实施例示出的一种设备调节方法的流程图。如图1所示,进度条调节包括以下步骤S11至步骤S13。Fig. 1 is a flow chart of a device adjustment method according to an exemplary embodiment. As shown in Fig. 1 , the progress bar adjustment includes the following steps S11 to S13.
在步骤S11中,响应于采集到手势,且确定手势具有调节设备参数的手势形状,在电子设备上显示与手势形状对应的设备参数的调节控件。In step S11 , in response to the gesture being collected and determining that the gesture has a gesture shape for adjusting a device parameter, an adjustment control for the device parameter corresponding to the gesture shape is displayed on the electronic device.
在本公开实施例中,在使用电子设备的过程中,通过采集电子设备面前的手势,以便确定当前用户是否需要调节设备参数。在一些示例中,手势可以通过与电子设备处于通信连接的其他终端设备进行采集或者通过具有图像采集装置的电子设备进行采集。若通过与电子设备处于通信连接的其他终端设备采集手势,则可以由其他终端设备将采集到的手势信息发送给该电子设备,使电子设备能够得到手势。在一些实施场景中,可以将电子设备以电视为例,若电视不具有图像采集装置,则可以通过与电视处于通信连接的家用摄像头对手势进行采集,进而由家用摄像头将采集到的手势信息发送给电视,使电视能够获取到的手势确定该手势是否具有调节设备参数的手势形状。若通过具有图像采集装置的电子设备采集手势,则在采集手势时可以通过电子设备中的图像采集装置或者图像传感器进行采集。其中,图像采集装置可以包括:摄像头或者人工智能(Artificial Intelligence,简称:AI)相机。图2是根据一示例性实施例示出的一种电子设备示意图。在一些实施场景中,如图2所示,以电子设备为具有图像采集装置的电视为例,图像采集装置可为摄像头,摄像头设置于电视朝向用户的显示面板的上方,进而在采集手势时,能够基于摄像头的广角范围,将该广角范围内的手势进行采集,以便能够及时捕捉用户需要调节进度条的需求。在一些示例中,摄像头的广角角度可以为120度。在另一些实施场景中,电子设备包括升降式摄像头,可以通过升降式摄像头采集手势。在进行手势采集之前,可以预先控制电子设备开启升降式摄像头,并启动升降式摄像头中的手势识别功能。若升降式摄像头被开启,则升起该升降式摄像头进行手势采集。若升降式摄像头被关闭,则降低该升降式摄像头。在一些实施场景中,为保护电子设备的安全性和隐私性,在启动升降式摄像头之前,可以预先开启摄像头功能,确定当前使用者的身份,进而启动升降式摄像头进行手势识别。在一些示例中,当升降式摄像头被开启时,还可以采用该升降式摄像头进行拍摄。在另一些示例中,启动升降式摄像头中的手势识别功能时,可以通过手势触发电子设备进行控制。In the embodiment of the present disclosure, during the use of an electronic device, a gesture in front of the electronic device is collected to determine whether the current user needs to adjust the device parameters. In some examples, the gesture can be collected by other terminal devices in communication connection with the electronic device or by an electronic device with an image acquisition device. If the gesture is collected by other terminal devices in communication connection with the electronic device, the other terminal devices can send the collected gesture information to the electronic device so that the electronic device can obtain the gesture. In some implementation scenarios, the electronic device can be taken as an example of a television. If the television does not have an image acquisition device, the gesture can be collected by a home camera in communication connection with the television, and then the home camera sends the collected gesture information to the television, so that the gesture obtained by the television can determine whether the gesture has a gesture shape for adjusting the device parameters. If the gesture is collected by an electronic device with an image acquisition device, the image acquisition device or image sensor in the electronic device can be used to collect the gesture. Among them, the image acquisition device may include: a camera or an artificial intelligence (AI) camera. Figure 2 is a schematic diagram of an electronic device according to an exemplary embodiment. In some implementation scenarios, as shown in FIG. 2, taking the electronic device as a television with an image acquisition device as an example, the image acquisition device may be a camera, which is arranged above the display panel of the television facing the user, and then when collecting gestures, the gestures within the wide-angle range can be collected based on the wide-angle range of the camera, so as to be able to capture the user's need to adjust the progress bar in time. In some examples, the wide-angle angle of the camera can be 120 degrees. In other implementation scenarios, the electronic device includes a lifting camera, and gestures can be collected by the lifting camera. Before performing gesture collection, the electronic device can be controlled in advance to turn on the lifting camera and start the gesture recognition function in the lifting camera. If the lifting camera is turned on, the lifting camera is raised to collect gestures. If the lifting camera is turned off, the lifting camera is lowered. In some implementation scenarios, in order to protect the security and privacy of the electronic device, before starting the lifting camera, the camera function can be turned on in advance to determine the identity of the current user, and then the lifting camera is started for gesture recognition. In some examples, when the lifting camera is turned on, the lifting camera can also be used for shooting. In other examples, when the gesture recognition function in the lifting camera is activated, the electronic device can be controlled by triggering gestures.
在采集手势的过程中,确定当前采集到的手势具有调节设备参数的手势形状时,则在电子设备上显示该手势形状对应的设备参数的调节控件。其中,调节控件可以包括:能够调节设备参数的进度条、进度框或者可调尺寸的应用小窗,手势形状可以包括:握拳、直立手掌或者比“耶”,调节控件的显示位置可以位于电子设备显示屏中的任意位置,在本公开中不进行限定。为了在显示调节控件时,不遮挡电子设备原始显示界面,可以设置将显示的调节控件的画面浮于原始显示界面之上,且设置显示的调节控件的画面更高的透明度及更低的饱和度。在一些示例中,若调节控件为进度条时,其对应的设备参数可以包括音量、播放进度或者亮度。设备参数的确定可以根据进度条的种类进行确定。即,若进度条的种类为音量进度条时,则对应的设备参数为音量。若进度条的种类为播放进度条时,则对应的设备参数为播放进度。若进度条的种类为亮度进度条时,则对应的设备参数为亮度。在另一些示例中,调节控件的形状可以包括:长条形、圆形或者其他形状。在一些实施场景中,若调节控件为进度条时,则在电子设备上显示的调节控件的形状可以为长条形。在另一些实施场景中,调节控件的显示位置可以位于电子设备显示屏的左半显示区域、右半显示区域、上半显示区域、下半显示区域或者中间显示区域。In the process of collecting gestures, when it is determined that the currently collected gesture has a gesture shape for adjusting device parameters, the adjustment control of the device parameter corresponding to the gesture shape is displayed on the electronic device. Among them, the adjustment control may include: a progress bar, a progress box or an adjustable application window capable of adjusting device parameters, and the gesture shape may include: a clenched fist, an upright palm or a "yeah", and the display position of the adjustment control may be located at any position in the electronic device display screen, which is not limited in the present disclosure. In order not to block the original display interface of the electronic device when displaying the adjustment control, the screen of the displayed adjustment control may be set to float above the original display interface, and the screen of the displayed adjustment control may be set to have a higher transparency and lower saturation. In some examples, if the adjustment control is a progress bar, its corresponding device parameter may include volume, playback progress or brightness. The determination of the device parameter may be determined according to the type of the progress bar. That is, if the type of the progress bar is a volume progress bar, the corresponding device parameter is volume. If the type of the progress bar is a playback progress bar, the corresponding device parameter is playback progress. If the type of the progress bar is a brightness progress bar, the corresponding device parameter is brightness. In other examples, the shape of the adjustment control may include: a long strip, a circle or other shapes. In some implementation scenarios, if the adjustment control is a progress bar, the shape of the adjustment control displayed on the electronic device may be a long strip. In other implementation scenarios, the display position of the adjustment control may be located in the left display area, the right display area, the upper display area, the lower display area or the middle display area of the electronic device display screen.
在步骤S12中,确定手势形状大小与调节控件的调节区间之间的比例尺映射关系。In step S12, a scale mapping relationship between the gesture shape size and the adjustment interval of the adjustment control is determined.
在本公开实施例中,针对不同的用户,采集到的手势形状大小存在不同。为保证不同的用户均能够得到相同的使用体验,在调节调节控件的设备参数时,可以基于比例尺原理,确定采集到的手势形状大小与调节控件调节区间之间的比例尺映射关系,进而在调节调节控件时,无需考虑其他调节因素,根据手势的移动变化量,确定对应调节的设备参数的数值即可,有助于智能终端根据用户的手势移动,快速进行响应,进行精准调节,进而提升用户的使用体验。In the disclosed embodiment, different users have different gesture shapes and sizes. To ensure that different users can get the same user experience, when adjusting the device parameters of the adjustment control, the scale mapping relationship between the collected gesture shape size and the adjustment range of the adjustment control can be determined based on the scale principle. Then, when adjusting the adjustment control, there is no need to consider other adjustment factors. According to the movement change of the gesture, the value of the corresponding device parameter can be determined. This helps the smart terminal to respond quickly and make precise adjustments according to the user's gesture movement, thereby improving the user's user experience.
在一些实施场景中,若采集手势的过程中,出现多个具有调节设备参数的数值的手势形状的手势时,则可以根据最先确定的具有调节设备参数的手势形状的手势形状大小,确定手势形状大小与调节控件的调节区间之间的比例尺映射关系。In some implementation scenarios, if multiple gestures with gesture shapes having numerical values for adjusting device parameters appear during gesture collection, the scale mapping relationship between the gesture shape size and the adjustment range of the adjustment control can be determined based on the gesture shape size of the gesture shape with numerical values for adjusting device parameters that is first determined.
在步骤S13中,在手势发生移动的情况下,基于手势的移动变化量以及比例尺映射关系,调节设备参数的数值。In step S13, when the gesture moves, the value of the device parameter is adjusted based on the movement change of the gesture and the scale mapping relationship.
在本公开实施例中,手势发生移动,表征设备参数的初始参数值需要进行调节。基于确定的比例尺映射关系,能够基于手势的移动变化量,确定设备参数的初始参数值所需调节的数值,进而在手势发生移动的情况下,可以实时调节设备参数的数值,使调节过程更加便捷,有助于增加人机之间的互动性,有助于提升用户的使用体验。In the disclosed embodiment, when a gesture moves, the initial parameter value representing the device parameter needs to be adjusted. Based on the determined scale mapping relationship, the value to be adjusted for the initial parameter value of the device parameter can be determined based on the amount of change in the gesture movement, and then when the gesture moves, the value of the device parameter can be adjusted in real time, making the adjustment process more convenient, helping to increase the interactivity between humans and machines, and helping to improve the user experience.
通过上述实施例,能够基于比例尺原理,将采集到的用于调节手势形状大小与调节控件的调节区间建立比例尺映射关系,进而调节调节控件对应的设备参数时,设备参数的数值能够根据手势的移动进行实时精准调节,使调节设备参数的过程更便捷,更具有实用性,从而有助于提升用户的使用体验,增强人与电子设备之间的交互性。Through the above-mentioned embodiments, based on the principle of scale, a scale mapping relationship can be established between the collected data for adjusting the shape and size of gestures and the adjustment range of the adjustment control, and then when the device parameters corresponding to the adjustment control are adjusted, the values of the device parameters can be accurately adjusted in real time according to the movement of the gesture, making the process of adjusting the device parameters more convenient and more practical, thereby helping to improve the user experience and enhance the interactivity between people and electronic devices.
在一些实施场景中,如图3所示,为用户明确电子设备已经成功采集到用于调节设备参数的手势,可以在电子设备显示手势形状对应调节的调节控件同时,将该手势形状一并进行显示,如此通过显示手势形状能够有效输出电子设备已识别出该手势的指示信息。图3是根据一示例性实施例示出的一种进度条调节效果图。In some implementation scenarios, as shown in FIG3, in order to make it clear to the user that the electronic device has successfully collected a gesture for adjusting device parameters, the electronic device can display the gesture shape while displaying the adjustment control corresponding to the gesture shape, so that by displaying the gesture shape, it is possible to effectively output the indication information that the electronic device has recognized the gesture. FIG3 is a diagram of a progress bar adjustment effect according to an exemplary embodiment.
下述实施例将具体说明手势形状大小与调节控件的调节区间之间的比例尺映射关系的确定过程。The following embodiment will specifically illustrate the process of determining the proportional mapping relationship between the gesture shape size and the adjustment range of the adjustment control.
图4是根据一示例性实施例示出的一种确定比例尺映射关系方法的流程图。如图4所示,比例尺映射关系的确定过程包括以下步骤。Fig. 4 is a flow chart showing a method for determining a scale mapping relationship according to an exemplary embodiment. As shown in Fig. 4, the process of determining the scale mapping relationship includes the following steps.
在步骤S21中,基于手势形状大小以及手势形状大小在调节区间内的映射数量,确定手势形状大小对应的调节区间的移动距离。In step S21 , based on the gesture shape size and the number of mappings of the gesture shape size in the adjustment interval, the moving distance of the adjustment interval corresponding to the gesture shape size is determined.
在本公开实施例中,为明确手势的移动距离与调节区间之间的对应关系,以便在手势移动的过程中,能够明确对应调节设备参数的调节变化量,先基于手势形状大小以及手势形状大小在调节区间内的映射数量,以便确定手势形状大小对应调节调节区间的移动距离。其中,调节区间是指设备参数的数值可以进行调整的区间范围。例如:手势形状大小为10厘米(cm),手势形状在进度条调节区间内的映射数量为5,则手势形状大小对应调节调节区间的移动距离为5*10cm=50cm。若调节区间为[0,100],则将设备参数的数值从0调节至100时,手势形状大小对应的移动距离为50cm。In the disclosed embodiment, in order to clarify the correspondence between the moving distance of the gesture and the adjustment interval, so that the adjustment change amount of the corresponding adjustment device parameter can be clearly determined during the movement of the gesture, the moving distance of the adjustment interval corresponding to the gesture shape size is determined based on the gesture shape size and the number of mappings of the gesture shape size in the adjustment interval. Among them, the adjustment interval refers to the interval range in which the value of the device parameter can be adjusted. For example: the gesture shape size is 10 centimeters (cm), and the number of mappings of the gesture shape in the progress bar adjustment interval is 5, then the moving distance of the gesture shape size corresponding to the adjustment interval is 5*10cm=50cm. If the adjustment interval is [0,100], when the value of the device parameter is adjusted from 0 to 100, the moving distance corresponding to the gesture shape size is 50cm.
在一些实施例中,由于不同用户的手势形状大小是不同的,为使设备参数在调节的过程中更具有针对性,更适合当前用户的灵敏度调节需求,手势形状大小在调节区间内的映射数量可以为默认数量,也可以为指定数量。例如:以手势形状大小为10cm,调节区间为[0,100]为例,若手势形状大小在调节区间内的映射数量为5,则手势形状大小对应调节调节区间的移动距离为5*10cm=50cm,将设备参数的数值从0调节至100时,手势形状大小对应的移动距离为50cm。若手势形状在调节区间内的映射数量为8,则手势形状大小对应调节调节区间的移动距离为8*10cm=80cm。将设备参数的数值从0调节至100时,手势形状大小对应的移动距离为80cm。映射数量越多,则在手势移动的过程中,设备参数的数值的调节灵敏度越低,调节速度越慢。反之,映射数量越少,则在手势移动的过程中,设备参数的数值的调节灵敏度越高,调节速度越快。In some embodiments, since the gesture shapes and sizes of different users are different, in order to make the device parameters more targeted during the adjustment process and more suitable for the sensitivity adjustment requirements of the current user, the number of mappings of the gesture shape size in the adjustment interval can be a default number or a specified number. For example: Taking the gesture shape size of 10cm and the adjustment interval of [0,100] as an example, if the number of mappings of the gesture shape size in the adjustment interval is 5, then the movement distance of the gesture shape size corresponding to the adjustment interval is 5*10cm=50cm, and when the value of the device parameter is adjusted from 0 to 100, the movement distance corresponding to the gesture shape size is 50cm. If the number of mappings of the gesture shape in the adjustment interval is 8, then the movement distance of the gesture shape size corresponding to the adjustment interval is 8*10cm=80cm. When the value of the device parameter is adjusted from 0 to 100, the movement distance corresponding to the gesture shape size is 80cm. The more the number of mappings, the lower the adjustment sensitivity of the value of the device parameter during the gesture movement, and the slower the adjustment speed. On the contrary, the smaller the number of mappings is, the higher the adjustment sensitivity of the numerical value of the device parameter is and the faster the adjustment speed is during the gesture movement.
在步骤S22中,基于调节区间,以及移动距离,确定单位移动距离对应的单位调节量。In step S22, based on the adjustment interval and the moving distance, a unit adjustment amount corresponding to the unit moving distance is determined.
在本公开实施例中,基于确定的移动距离以及进度条调节区间,可以确定单位移动距离对应的单位调节量,进而手势在移动距离内进行移动时,能够实时确定设备参数数值的调节变化量,进而有助于实时调节设备参数的数值。例如:移动距离为50cm,调节区间为[0,100]时,则单位移动距离对应的单位调节量为50cm:100=1cm:2。即,每移动1cm,对应的单位调节量为2。In the disclosed embodiment, based on the determined moving distance and the progress bar adjustment interval, the unit adjustment amount corresponding to the unit moving distance can be determined, and then when the gesture moves within the moving distance, the adjustment change of the device parameter value can be determined in real time, which helps to adjust the value of the device parameter in real time. For example: when the moving distance is 50cm and the adjustment interval is [0,100], the unit adjustment amount corresponding to the unit moving distance is 50cm:100=1cm:2. That is, for every 1cm of movement, the corresponding unit adjustment amount is 2.
在步骤S23中,将单位调节量与单位移动距离进行映射,确定手势形状大小与调节区间之间的比例尺映射关系。In step S23, the unit adjustment amount is mapped to the unit movement distance to determine the scale mapping relationship between the gesture shape size and the adjustment interval.
在本公开实施例中,将单位调节量与单位移动距离进行映射,能够确定单位移动距离与单位调节量之间的对应关系,进而根据手势形状大小,便可以确定手势形状大小与调节区间之间的比例尺映射关系。例如:根据单位调节量与单位移动距离之间的映射关系,能够确定单位移动距离为1cm时,对应的单位调节量为a,进而手势形状大小为5cm时,则手势形状大小对应设备参数数值的调节量为5a。即,手势形状大小与调节区间之间的比例尺映射关系为,手势形状大小对应调节设备参数的数值为5a。In the disclosed embodiment, the unit adjustment amount is mapped to the unit moving distance, and the corresponding relationship between the unit moving distance and the unit adjustment amount can be determined, and then according to the gesture shape size, the scale mapping relationship between the gesture shape size and the adjustment interval can be determined. For example: According to the mapping relationship between the unit adjustment amount and the unit moving distance, it can be determined that when the unit moving distance is 1cm, the corresponding unit adjustment amount is a, and then when the gesture shape size is 5cm, the adjustment amount of the device parameter value corresponding to the gesture shape size is 5a. That is, the scale mapping relationship between the gesture shape size and the adjustment interval is that the gesture shape size corresponds to the value of the adjustment device parameter of 5a.
在一些实施场景中,通过采集到的手势,确定该手势具有调节设备参数的手势形状后,可以以手势当前所在的与电子设备的显示界面平行的竖直平面建立直角坐标系,进而能够得到手势形状的多个坐标。通过多个坐标,能够确定手势形状大小,进而手势形状在进度条调节区间内的映射数量,可以确定手势形状大小对应调节进度条调节区间的移动距离。例如:将手势形状以握拳为例。如图5所示,通过直角坐标系能够确定拳头的纵坐标分别对应的数值为5和15,进而能够确定拳头的高度为15cm-5cm=10cm,即拳头大小为10cm。其中,横轴单位和纵轴单位均为cm。图5是根据一示例性实施例示出的一种确定形状大小的示意图。若映射数量为5,进度条调节区间为[0,100],则用户调节进度条的进度从0调节至100时,需要移动的距离为10×5=50cm。In some implementation scenarios, after determining that the gesture has a gesture shape for adjusting device parameters through the collected gestures, a rectangular coordinate system can be established with the vertical plane parallel to the display interface of the electronic device where the gesture is currently located, so that multiple coordinates of the gesture shape can be obtained. Through multiple coordinates, the size of the gesture shape can be determined, and then the number of mappings of the gesture shape in the progress bar adjustment interval can be determined, and the moving distance of the gesture shape size corresponding to the adjustment progress bar adjustment interval can be determined. For example: take the gesture shape as an example of clenching a fist. As shown in Figure 5, the rectangular coordinate system can determine that the values corresponding to the ordinates of the fist are 5 and 15, respectively, and then the height of the fist can be determined to be 15cm-5cm=10cm, that is, the size of the fist is 10cm. Among them, the horizontal axis unit and the vertical axis unit are both cm. Figure 5 is a schematic diagram of determining the size of a shape according to an exemplary embodiment. If the number of mappings is 5 and the progress bar adjustment interval is [0,100], when the user adjusts the progress of the progress bar from 0 to 100, the distance to be moved is 10×5=50cm.
在一些示例中,可以根据手势当前所在的与电子设备的显示界面平行的竖直平面,建立包括手势的直角坐标系。为便于明确手势的移动距离,使手势在移动的过程中可以实时调节设备参数的数值,手势在水平及竖直方向上的总调节区间可以取决于电子设备的尺寸,直角坐标系的横轴的总调节区间可以与电子设备的长度相同,纵轴的总调节区间可以与电子设备的高度相同。直角坐标系的中心点可以为手势当前所在的位置,也可以基于设备参数的初始参数值以及调节区间的最大数值进行确定。在一些实施场景中,直角坐标系的中心点基于设备参数的初始参数值以及调节区间的最大数值进行确定时,根据调节区间的最大数值与设备参数的初始参数值之间的差值,能够确定设备参数数值的最大增加量。根据手势形状大小与调节控件的调节区间之间的比例尺映射关系以及最大增加量,能够确定手势沿正向移动的最大移动距离。根据沿正向移动的最大移动距离,确定直角坐标系的中心点。In some examples, a rectangular coordinate system including the gesture can be established according to the vertical plane parallel to the display interface of the electronic device where the gesture is currently located. In order to facilitate the clarification of the moving distance of the gesture, so that the gesture can adjust the value of the device parameter in real time during the movement, the total adjustment interval of the gesture in the horizontal and vertical directions can depend on the size of the electronic device, the total adjustment interval of the horizontal axis of the rectangular coordinate system can be the same as the length of the electronic device, and the total adjustment interval of the vertical axis can be the same as the height of the electronic device. The center point of the rectangular coordinate system can be the current location of the gesture, or it can be determined based on the initial parameter value of the device parameter and the maximum value of the adjustment interval. In some implementation scenarios, when the center point of the rectangular coordinate system is determined based on the initial parameter value of the device parameter and the maximum value of the adjustment interval, the maximum increase in the value of the device parameter can be determined according to the difference between the maximum value of the adjustment interval and the initial parameter value of the device parameter. According to the scale mapping relationship between the gesture shape and size and the adjustment interval of the adjustment control and the maximum increase, the maximum moving distance of the gesture in the positive direction can be determined. According to the maximum moving distance in the positive direction, the center point of the rectangular coordinate system is determined.
在一些实施例中,在手势发生移动的情况下,基于手势的移动变化量以及比例尺映射关系,调节设备参数的数值时,将手势移动的初始位置与设备参数的初始参数值相对应,以便在根据手势的移动变化量调节设备参数的数值时,能够基于显示的设备参数的初始参数值进行调节。根据手势移动的方向,能够确定手势在移动的过程中,在移动方向上相对初始位置的移动变化量,进而基于移动变化量以及比例尺映射关系,能够确定移动变化量对应设备参数的调节变化量。并且,手势移动的方向与初始参数值的调整方向具有对应关系,能够根据手势的移动方向,在调节设备参数的过程中,在初始参数值的基础上增加或者减少调节变化量,以便可以对设备参数进行有效调节。在一些示例中,手势移动的正方向与设备参数的正调节相对应,即,基于手势的初始位置,手势向上移动或者向右移动时,则在调节设备参数的数值的过程中对应增加手势移动变化量对应的调节变化量。手势向下移动或者向左移动时,则在调节设备参数的数值的过程中对应减少手势移动变化量对应的调节变化量。In some embodiments, when a gesture moves, based on the movement change of the gesture and the scale mapping relationship, when adjusting the value of the device parameter, the initial position of the gesture movement is made to correspond to the initial parameter value of the device parameter, so that when adjusting the value of the device parameter according to the movement change of the gesture, the adjustment can be made based on the initial parameter value of the displayed device parameter. According to the direction of the gesture movement, the movement change of the gesture relative to the initial position in the direction of movement can be determined during the movement process, and then based on the movement change and the scale mapping relationship, the adjustment change of the device parameter corresponding to the movement change can be determined. In addition, the direction of the gesture movement has a corresponding relationship with the adjustment direction of the initial parameter value, and the adjustment change can be increased or decreased on the basis of the initial parameter value in the process of adjusting the device parameter according to the movement direction of the gesture, so that the device parameter can be effectively adjusted. In some examples, the positive direction of the gesture movement corresponds to the positive adjustment of the device parameter, that is, based on the initial position of the gesture, when the gesture moves upward or moves to the right, the adjustment change corresponding to the gesture movement change is correspondingly increased in the process of adjusting the value of the device parameter. When the gesture moves downward or to the left, the adjustment change amount corresponding to the gesture movement change amount is correspondingly reduced in the process of adjusting the value of the device parameter.
在一些实施场景中,通过采集到的手势,确定该手势具有调节设备参数的数值的手势形状后,将手势的空间位置确定为手势移动的初始位置。为便于确定手势在发生移动的情况下的移动变化量,可以以手势当前所在的竖直平面建立直角坐标系,进而基于手势所在的初始位置,确定该手势的移动方向。若手势沿y轴正方向上移动,或者沿x轴正方向上移动,则对应增加与手势移动变化量相对应的调节变化量。若手势沿y轴负方向上移动,或者沿x轴负方向上移动,则对应减少与手势移动变化量相对应的调节变化量。例如:将手势形状以握拳为例。拳头的初始位置与设备参数的初始参数值1相对应。如图6a所示,若拳头沿y轴正方向移动,则设备参数的数值向上递增。图6a是根据一示例性实施例示出的一种设备调节方法的交互示意图。如图6b所示,若拳头沿y轴负方向移动,则设备参数的数值向下递减。图6b是根据一示例性实施例示出的另一种设备调节方法的交互示意图。In some implementation scenarios, after determining that the gesture has a gesture shape that adjusts the value of the device parameter through the collected gesture, the spatial position of the gesture is determined as the initial position of the gesture movement. In order to facilitate the determination of the movement change of the gesture when it moves, a rectangular coordinate system can be established with the vertical plane where the gesture is currently located, and then the movement direction of the gesture can be determined based on the initial position of the gesture. If the gesture moves along the positive direction of the y-axis, or moves along the positive direction of the x-axis, the adjustment change corresponding to the gesture movement change is increased accordingly. If the gesture moves along the negative direction of the y-axis, or moves along the negative direction of the x-axis, the adjustment change corresponding to the gesture movement change is reduced accordingly. For example: take the gesture shape as an example of clenching a fist. The initial position of the fist corresponds to the initial parameter value 1 of the device parameter. As shown in Figure 6a, if the fist moves along the positive direction of the y-axis, the value of the device parameter increases upward. Figure 6a is an interactive schematic diagram of a device adjustment method shown according to an exemplary embodiment. As shown in Figure 6b, if the fist moves along the negative direction of the y-axis, the value of the device parameter decreases downward. Figure 6b is an interactive schematic diagram of another device adjustment method shown according to an exemplary embodiment.
在另一些实施场景中,确定调节变化量的过程,可以如图7所示。图7是根据一示例性实施例示出的一种确定调节变化量的过程示意图。将手势形状以握拳为例,基于直角坐标系,可以确定拳头的初始位置对应的坐标分别为(x,5)和(x,15)。若手势沿y轴正方向上移动,确定当前位置对应的坐标分别为(x,30)和(x,40)时,则可以根据拳头上下移动的距离,确定拳头的移动变化量,进而基于比例尺映射关系,确定该移动变化量对应的调节变化量。例如:根据比例尺映射关系,可以确定一个拳头对应调节的设备参数的数值为20,则根据拳头的移动变化量确定的调节变化量=(40-15)/(15-5)×20=50。即,拳头从初始位置沿y轴正方向上移动至当前位置,所需要的调节的设备参数的数值为50。In other implementation scenarios, the process of determining the amount of adjustment change can be shown in Figure 7. Figure 7 is a schematic diagram of a process for determining the amount of adjustment change according to an exemplary embodiment. Taking the shape of a fist as an example, based on the rectangular coordinate system, it can be determined that the coordinates corresponding to the initial position of the fist are (x, 5) and (x, 15) respectively. If the gesture moves along the positive direction of the y-axis, and the coordinates corresponding to the current position are determined to be (x, 30) and (x, 40) respectively, the amount of movement of the fist can be determined based on the distance the fist moves up and down, and then based on the scale mapping relationship, the amount of adjustment corresponding to the amount of movement is determined. For example: According to the scale mapping relationship, it can be determined that the value of the device parameter corresponding to the adjustment of a fist is 20, then the amount of adjustment determined according to the amount of movement of the fist = (40-15)/(15-5)×20=50. That is, the fist moves from the initial position along the positive direction of the y-axis to the current position, and the value of the device parameter required to be adjusted is 50.
在另一些实施例中,手势形状大小与调节区间之间的比例尺映射关系可以根据用户的需求进行自定义设置,进而满足不同用户对于调节设备参数的数值的不同敏感度需求。即,可以预先自定义设置手势形状大小对应调节调节区间的百分比,进而在确定手势形状大小后,便可以根据手势形状大小以及手势形状大小对应调节调节区间的百分比,确定映射数量,以便确定移动距离。例如:预先设置一个手势形状大小对应调节调节区间的百分比为20%,进而可以确定映射数量为5。即,通过5个手势形状大小,可以将设备参数的数值从0调节至100。In other embodiments, the scale mapping relationship between the gesture shape size and the adjustment interval can be customized according to the needs of the user, so as to meet the different sensitivity requirements of different users for adjusting the numerical value of the device parameter. That is, the percentage of the gesture shape size corresponding to the adjustment interval can be customized in advance, and then after determining the gesture shape size, the mapping quantity can be determined according to the gesture shape size and the percentage of the gesture shape size corresponding to the adjustment interval, so as to determine the moving distance. For example: the percentage of a gesture shape size corresponding to the adjustment interval is pre-set to 20%, and then the mapping quantity can be determined to be 5. That is, through 5 gesture shape sizes, the numerical value of the device parameter can be adjusted from 0 to 100.
基于相同的构思,本公开实施例还提供另一种设备调节方法。通过限定手势移动的有效移动范围,有助于避免手势在进行移动的过程中,移动变化量突然骤增或者骤减时,导致进度条的进度条调节变化量也随之骤增或者骤减,影响用户当前的使用体验。Based on the same concept, the disclosed embodiment also provides another device adjustment method. By limiting the effective movement range of the gesture movement, it helps to avoid the situation where the movement change of the gesture suddenly increases or decreases during the movement, causing the progress bar adjustment change to also increase or decrease, thus affecting the user's current usage experience.
图8是根据一示例性实施例示出的另一种设备调节方法的流程图。如图8所示,设备调节方法包括以下步骤。Fig. 8 is a flow chart of another device adjustment method according to an exemplary embodiment. As shown in Fig. 8, the device adjustment method includes the following steps.
在步骤S31中,响应于采集到手势,且确定手势具有调节设备参数的手势形状,在电子设备上显示与手势形状对应的设备参数的调节控件;In step S31, in response to collecting a gesture and determining that the gesture has a gesture shape for adjusting a device parameter, an adjustment control for the device parameter corresponding to the gesture shape is displayed on the electronic device;
在步骤S32中,确定手势形状大小与调节控件的调节区间之间的比例尺映射关系;In step S32, a scale mapping relationship between the gesture shape size and the adjustment range of the adjustment control is determined;
在步骤S33中,在手势发生移动的情况下,确定手势在有效移动范围内移动。In step S33 , when the gesture moves, it is determined that the gesture moves within the effective movement range.
在本公开实施例中,为避免在调节设备参数数值的过程中,发生数值骤变的情况,在手势移动的过程中,基于手势的当前位置,确定手势的有效移动范围,以保证用户在调节进度时的用户体验。In the disclosed embodiment, in order to avoid sudden changes in the values of device parameters during adjustment, the effective movement range of the gesture is determined based on the current position of the gesture during the movement of the gesture to ensure the user experience when adjusting the progress.
图9是根据一示例性实施例示出的一种有效移动范围的示意图。如图9所示,当手势在进行移动时,若确定手势在有效移动范围内移动,则确定当前移动为有效移动,可以实时确定手势的移动变化量,以便实时确定调节变化量,及时调整设备参数的数值。Fig. 9 is a schematic diagram of an effective movement range according to an exemplary embodiment. As shown in Fig. 9, when a gesture is moving, if it is determined that the gesture moves within the effective movement range, the current movement is determined to be effective movement, and the movement change of the gesture can be determined in real time, so as to determine the adjustment change in real time and adjust the value of the device parameter in time.
在一些实施例中,有效移动范围可以为,基于上一时刻手势所在的位置为圆心,以指定长度为半径所形成的圆形区域。指定长度可以根据比例尺映射关系进行确定。在一些示例中,指定长度可以为指定数量的手势形状大小。例如:若手势形状大小为4cm,指定数量为2,则指定长度为2*4cm=8cm。In some embodiments, the effective movement range may be a circular area formed by taking the position of the gesture at the last moment as the center and the specified length as the radius. The specified length may be determined according to the scale mapping relationship. In some examples, the specified length may be the size of the gesture shape of a specified number. For example, if the gesture shape size is 4 cm and the specified number is 2, the specified length is 2*4 cm=8 cm.
在步骤S34中,基于手势的移动变化量以及比例尺映射关系,调节设备参数的数值。In step S34, the value of the device parameter is adjusted based on the movement change of the gesture and the scale mapping relationship.
在一些实施例中,若响应于手势在非有效移动范围内移动,暂停调节设备参数的数值。即,在手势移动的过程中,手势超出有效移动范围,在非有效移动范围内进行移动时,则认为当前移动为无效移动。若在非有效移动范围内移动的情况下,继续确定手势的移动变化量,则容易出现设备参数的数值发生骤变的情况,为避免影响用户的使用体验,则暂停调节设备参数的数值。In some embodiments, if the gesture moves within the ineffective movement range in response, the adjustment of the value of the device parameter is suspended. That is, during the movement of the gesture, if the gesture exceeds the effective movement range and moves within the ineffective movement range, the current movement is considered to be invalid. If the movement change of the gesture continues to be determined when moving within the ineffective movement range, it is easy for the value of the device parameter to change suddenly. In order to avoid affecting the user experience, the adjustment of the value of the device parameter is suspended.
在另一些实施例中,基于手势的移动变化量以及比例尺映射关系,在调节设备参数的数值之前,可以判断当前是否存在有效移动范围。若存在有效移动范围,且该手势在有效移动范围内移动,则实时确定手势的移动变化量,确定调节设备参数的数值。若存在有效移动范围,且该手势未在有效移动范围内移动或者该手势在移动的过程中从有效移动范围内移出,则暂停调节设备参数的数值。若不存在有效移动范围,则可以以手势移动的初始位置确定有效移动范围。在一些可能的实施方式中,若存在有效移动范围,且该手势未在有效移动范围内移动或者该手势在移动的过程中从有效移动范围内移出,电子设备可以输出提示信息以提示用户在该有效移动范围内调节设备参数的数值,输出提示信息的方式可以是在电子设备的显示界面上显示该有效移动范围,或者通过语音、文字的方式提示用户实时移动方向,以使用户移动至该有效移动范围内调节设备参数的数值。In other embodiments, based on the movement change of the gesture and the scale mapping relationship, before adjusting the value of the device parameter, it can be determined whether there is a valid movement range at present. If there is a valid movement range, and the gesture moves within the valid movement range, the movement change of the gesture is determined in real time, and the value of the device parameter is determined to be adjusted. If there is a valid movement range, and the gesture does not move within the valid movement range or the gesture moves out of the valid movement range during the movement, the value of the device parameter is suspended. If there is no valid movement range, the effective movement range can be determined by the initial position of the gesture movement. In some possible implementations, if there is a valid movement range, and the gesture does not move within the valid movement range or the gesture moves out of the valid movement range during the movement, the electronic device can output a prompt message to prompt the user to adjust the value of the device parameter within the valid movement range. The way of outputting the prompt message can be to display the valid movement range on the display interface of the electronic device, or to prompt the user to move in real time by voice or text, so that the user moves to the effective movement range to adjust the value of the device parameter.
在又一些实施例中,在暂停调节设备参数的数值后,若在有效时间范围内,监测到手势重新在有效移动范围内移动,则可以认为用户当前仍具有调节设备参数数值的需求,进而在当前设备参数的基础上,继续基于手势的移动变化量以及比例尺映射关系,调节设备参数的数值。In some other embodiments, after pausing to adjust the value of the device parameter, if within the valid time range, the gesture is monitored to move within the valid movement range again, it can be considered that the user still has the need to adjust the value of the device parameter, and then on the basis of the current device parameters, the value of the device parameter continues to be adjusted based on the movement change of the gesture and the scale mapping relationship.
在又一些实施例中,若手势一直在有效移动范围内进行移动,则可以基于比例尺映射关系,实时调节设备参数的数值。若手势在有效移动范围内进行移动的过程中出现静止的情况时,可以根据手势静止的时长,确定是否继续进行设备参数的调节。若静止的时长小于有效时间范围,则可以在当前设备参数的基础上,继续基于手势的移动变化量以及比例尺映射关系,调节设备参数的数值。若静止的时长大于或者有效时间范围,则表征用户当前没有继续调节设备参数的需求,进而可以终止调节设备参数的数值。In some other embodiments, if the gesture is moving within the effective moving range, the value of the device parameter can be adjusted in real time based on the scale mapping relationship. If the gesture is stationary during the movement within the effective moving range, it can be determined whether to continue adjusting the device parameter based on the duration of the gesture being stationary. If the duration of the stationary state is less than the effective time range, the value of the device parameter can be adjusted based on the current device parameter and the amount of movement change of the gesture and the scale mapping relationship. If the duration of the stationary state is greater than or equal to the effective time range, it indicates that the user currently has no need to continue adjusting the device parameter, and the adjustment of the value of the device parameter can be terminated.
在又一些实施例中,在智能终端中,通过预设模型预先存储具有调节进度条进度的手势形状。在图像采集装置采集到手势后,将该手势与预设模型中预存的手势形状进行匹配,若匹配成功,则确定采集的手势具有调节进度条进度的手势形状。优选的,预设模型可以为AI模型。In some other embodiments, in the smart terminal, a gesture shape having the function of adjusting the progress bar is pre-stored by a preset model. After the image acquisition device acquires the gesture, the gesture is matched with the gesture shape pre-stored in the preset model. If the match is successful, it is determined that the acquired gesture has the gesture shape having the function of adjusting the progress bar. Preferably, the preset model can be an AI model.
在又一些实施例中,调节控件可以包括:进度条。并且在电子设备上显示的进度条种类与具有调节设备参数的手势形状的手势的移动方向具有对应关系。不同的移动方向对应不同的进度条种类。当确定当前手势具有调节进度条进度的手势形状时,可以根据手势的移动方向,确定并显示对应种类的进度条。在一些可能的实施方式中,电子设备显示的进度条种类与电子设备使用的应用场景相关联。例如:以电子设备为电视为例,当电视设备处于播放多媒体文件的过程中,进度条的种类可以包括播放进度条和音量进度条。可以将沿水平方向移动的手势与播放进度条建立对应关系,进而当手势向水平方向移动时,调节播放进度条的进度。将沿竖直方向移动的手势与音量进度条建立对应关系,进而当手势向竖直方向移动时,音量播放进度条的进度。In some other embodiments, the adjustment control may include: a progress bar. And the type of progress bar displayed on the electronic device has a corresponding relationship with the moving direction of the gesture having the gesture shape of adjusting the device parameter. Different moving directions correspond to different types of progress bars. When it is determined that the current gesture has a gesture shape for adjusting the progress of the progress bar, the corresponding type of progress bar can be determined and displayed according to the moving direction of the gesture. In some possible implementations, the type of progress bar displayed by the electronic device is associated with the application scenario used by the electronic device. For example: Taking the electronic device as a TV as an example, when the TV device is in the process of playing a multimedia file, the type of progress bar may include a playback progress bar and a volume progress bar. A gesture moving in the horizontal direction may be established in a corresponding relationship with the playback progress bar, and then when the gesture moves in the horizontal direction, the progress of the playback progress bar is adjusted. A gesture moving in the vertical direction may be established in a corresponding relationship with the volume progress bar, and then when the gesture moves in the vertical direction, the progress of the volume playback progress bar.
在一些实施场景中,以具有调节进度条进度的手势形状为拳头,对应调节的进度条种类为音量进度条为例,进度条进度的调节过程可以如图10所示。图10是根据一示例性实施例示出的又一种设备调节方法的示意图。In some implementation scenarios, taking the gesture shape of adjusting the progress bar as a fist and the corresponding type of the progress bar as a volume progress bar as an example, the adjustment process of the progress bar can be shown in Figure 10. Figure 10 is a schematic diagram of another device adjustment method according to an exemplary embodiment.
通过电子设备的图像采集装置采集人体数据,并分析人体数据中是否采集到手势。在确定采集到手势后,通过AI模型判断采集到的手势是否为具有调节进度条进度的手势形状。即,确定采集到的手势是否包括拳头。若确定采集到拳头,则计算拳头的大小(高度和/或宽度)。在拳头发生移动的情况下,且确定拳头在有效移动范围内移动,则基于拳头移动的初始位置,确定拳头的移动变化量。基于拳头的大小与音量进度条调节区间之间的比例尺映射关系,确定移动变化量对应的进度调节变化量,进而调节音量进度条的进度。若在拳头发生移动的情况下,拳头在非有效移动范围内移动,则暂停调节音量进度条的进度,不进行处理。Human body data is collected by an image acquisition device of an electronic device, and whether a gesture is collected in the human body data is analyzed. After determining that a gesture is collected, the AI model is used to determine whether the collected gesture is a gesture shape with an adjustment progress bar progress. That is, determine whether the collected gesture includes a fist. If it is determined that a fist is collected, the size (height and/or width) of the fist is calculated. In the case where the fist moves, and it is determined that the fist moves within the effective movement range, the movement change of the fist is determined based on the initial position of the fist movement. Based on the scale mapping relationship between the size of the fist and the adjustment interval of the volume progress bar, the progress adjustment change corresponding to the movement change is determined, and then the progress of the volume progress bar is adjusted. If the fist moves within the ineffective movement range, the progress of the volume progress bar is suspended and no processing is performed.
基于相同的构思,本公开实施例还提供一种应用于电子设备的设备调节装置。在一些可能的实施方式中,电子设备可以包括图像采集装置。Based on the same concept, the embodiment of the present disclosure also provides a device adjustment device applied to an electronic device. In some possible implementations, the electronic device may include an image acquisition device.
可以理解的是,本公开实施例提供的设备调节装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本公开实施例中所公开的各示例的模块及算法步骤,本公开实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本公开实施例的技术方案的范围。It is understandable that the device adjustment device provided in the embodiment of the present disclosure includes hardware structures and/or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the modules and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
图11是根据一示例性实施例示出的一种设备调节装置框图。参照图11,该设备调节装置100包括数据采集模块101,数据分析模块102,数据处理模块103和指令执行模块104。Fig. 11 is a block diagram of a device adjustment apparatus according to an exemplary embodiment. Referring to Fig. 11 , the device adjustment apparatus 100 includes a data acquisition module 101 , a data analysis module 102 , a data processing module 103 and an instruction execution module 104 .
数据采集模块101,用于采集电子设备前的人体数据。在一些实施例中,数据采集模块101能够通过图像采集装置采集到的图像,确定并采集电子设备前的人体数据。The data acquisition module 101 is used to acquire the human body data in front of the electronic device. In some embodiments, the data acquisition module 101 can determine and acquire the human body data in front of the electronic device through the images acquired by the image acquisition device.
数据分析模块102,用于将采集到的人体数据与预设模型中存在的手势形状进行匹配,确定用户当前的手势为具有调节进度条进度的手势形状。预设模型可以为人工智能(Artificial Intelligence,简称:AI)模型。The data analysis module 102 is used to match the collected human body data with the gesture shape in the preset model to determine that the user's current gesture is a gesture shape with the progress of the progress bar. The preset model can be an artificial intelligence (AI) model.
数据处理模块103,用于将预设模型识别出的手势采用上述任意一种进度条控制方法,确定手势形状大小与进度条调节区间之间的比例尺映射关系,以及手势的移动变化量对应调节进度条的进度调节变化量。The data processing module 103 is used to use any of the above progress bar control methods to determine the proportional mapping relationship between the gesture shape and size and the progress bar adjustment interval, and the progress adjustment change amount of the progress bar corresponding to the gesture movement change amount.
指令执行模块104,用于调节进度条的进度。The instruction execution module 104 is used to adjust the progress of the progress bar.
图12是根据一示例性实施例示出的另一种设备调节装置框图。参照图12,该设备调节装置200包括显示模块201,确定模块202和调节模块203。Fig. 12 is a block diagram of another device adjustment apparatus according to an exemplary embodiment. Referring to Fig. 12 , the device adjustment apparatus 200 includes a display module 201 , a determination module 202 and an adjustment module 203 .
显示模块201,用于响应于采集到手势,且确定手势具有调节设备参数的手势形状,在电子设备上显示与手势形状对应的设备参数的调节控件。The display module 201 is used for displaying the adjustment control of the device parameter corresponding to the gesture shape on the electronic device in response to the collected gesture and determining that the gesture has a gesture shape for adjusting the device parameter.
确定模块202,用于确定手势形状大小与调节控件的调节区间之间的比例尺映射关系。The determination module 202 is used to determine the scale mapping relationship between the gesture shape size and the adjustment range of the adjustment control.
调节模块203,用于在手势发生移动的情况下,基于手势的移动变化量以及比例尺映射关系,调节设备参数的数值。The adjustment module 203 is used to adjust the value of the device parameter based on the movement change of the gesture and the scale mapping relationship when the gesture moves.
在一些实施例中,确定模块202采用下述方式确定手势形状大小与调节控件的调节区间之间的比例尺映射关系:基于手势形状大小以及手势形状大小在调节区间内的映射数量,确定手势形状大小对应的调节区间的移动距离。基于调节区间,以及移动距离,确定单位移动距离对应的单位调节量。将单位调节量与单位移动距离进行映射,确定手势形状大小与调节区间之间的比例尺映射关系。In some embodiments, the determination module 202 determines the scale mapping relationship between the gesture shape size and the adjustment interval of the adjustment control in the following manner: based on the gesture shape size and the number of mappings of the gesture shape size in the adjustment interval, determine the moving distance of the adjustment interval corresponding to the gesture shape size. Based on the adjustment interval and the moving distance, determine the unit adjustment amount corresponding to the unit moving distance. Map the unit adjustment amount to the unit moving distance to determine the scale mapping relationship between the gesture shape size and the adjustment interval.
在另一些实施例中,调节模块203采用下述方式基于手势的移动变化量以及比例尺映射关系,调节设备参数的数值:将手势移动的初始位置与设备参数的初始参数值相对应。确定手势移动的方向,并确定手势在方向上相对初始位置的移动变化量。基于移动变化量以及比例尺映射关系,确定移动变化量对应的调节变化量。基于手势移动方向与进度条调整方向的对应关系,在匹配手势移动的方向上,在初始参数值基础上调节调节变化量。In other embodiments, the adjustment module 203 adjusts the value of the device parameter based on the movement change of the gesture and the scale mapping relationship in the following manner: the initial position of the gesture movement is matched with the initial parameter value of the device parameter. The direction of the gesture movement is determined, and the movement change of the gesture relative to the initial position in the direction is determined. Based on the movement change and the scale mapping relationship, the adjustment change corresponding to the movement change is determined. Based on the correspondence between the gesture movement direction and the progress bar adjustment direction, the adjustment change is adjusted based on the initial parameter value in the direction matching the gesture movement.
在又一些实施例中,确定模块202,还用于:确定手势在有效移动范围内移动。In some other embodiments, the determination module 202 is further used to: determine whether the gesture moves within the effective movement range.
在又一些实施例中,调节模块203,还用于:响应于手势在非有效移动范围内移动,暂停调节设备参数的数值。In some other embodiments, the adjustment module 203 is further used to: in response to the gesture moving within the ineffective movement range, suspend adjusting the value of the device parameter.
在又一些实施例中,调节模块203,还用于:若在有效时间范围内,监测到手势在有效移动范围内移动,则在当前调节进度基础上,继续基于手势的移动变化量以及比例尺映射关系,调节设备参数的数值。In some other embodiments, the adjustment module 203 is also used to: if the gesture is monitored to move within the effective movement range within the effective time range, then based on the current adjustment progress, continue to adjust the value of the device parameter based on the movement change of the gesture and the scale mapping relationship.
在又一些实施例中,调节控件包括:进度条;显示模块201采用下述方式在电子设备上显示与手势形状对应的设备参数的调节控件:基于移动方向与进度条种类的映射关系,根据手势的移动方向,确定并在电子设备上显示与手势形状对应的设备参数的进度条,其中,不同的移动方向对应不同的进度条种类。In some other embodiments, the adjustment control includes: a progress bar; the display module 201 displays the adjustment control of the device parameter corresponding to the gesture shape on the electronic device in the following manner: based on the mapping relationship between the moving direction and the progress bar type, according to the moving direction of the gesture, the progress bar of the device parameter corresponding to the gesture shape is determined and displayed on the electronic device, wherein different moving directions correspond to different types of progress bars.
在又一些实施例中,电子设备至少包括图像采集装置,图像采集装置用于采集手势。In some further embodiments, the electronic device includes at least an image acquisition device, and the image acquisition device is used to acquire gestures.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
图13是根据一示例性实施例示出的一种电子设备的框图。例如,电子设备300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 13 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
参照图13,电子设备300可以包括以下一个或多个组件:处理组件302,存储器304,电力组件306,多媒体组件308,音频组件310,输入/输出(I/O)接口312,传感器组件314,以及通信组件316。13 , the electronic device 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input/output (I/O) interface 312 , a sensor component 314 , and a communication component 316 .
处理组件302通常控制电子设备300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件302可以包括一个或多个处理器320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件302可以包括一个或多个模块,便于处理组件302和其他组件之间的交互。例如,处理组件302可以包括多媒体模块,以方便多媒体组件308和处理组件302之间的交互。The processing component 302 generally controls the overall operation of the electronic device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.
存储器304被配置为存储各种类型的数据以支持在电子设备300的操作。这些数据的示例包括用于在电子设备300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 304 is configured to store various types of data to support operations on the electronic device 300. Examples of such data include instructions for any application or method operating on the electronic device 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
电力组件306为电子设备300的各种组件提供电力。电力组件306可以包括电源管理系统,一个或多个电源,及其他与为电子设备300生成、管理和分配电力相关联的组件。The power component 306 provides power to the various components of the electronic device 300. The power component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 300.
多媒体组件308包括在所述电子设备300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件308包括一个前置摄像头和/或后置摄像头。当电子设备300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 308 includes a screen that provides an output interface between the electronic device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front camera and/or a rear camera. When the electronic device 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
音频组件310被配置为输出和/或输入音频信号。例如,音频组件310包括一个麦克风(MIC),当电子设备300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器304或经由通信组件316发送。在一些实施例中,音频组件310还包括一个扬声器,用于输出音频信号。The audio component 310 is configured to output and/or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the electronic device 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.
I/O接口312为处理组件302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。I/O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
传感器组件314包括一个或多个传感器,用于为电子设备300提供各个方面的状态评估。例如,传感器组件314可以检测到电子设备300的打开/关闭状态,组件的相对定位,例如所述组件为电子设备300的显示器和小键盘,传感器组件314还可以检测电子设备300或电子设备300一个组件的位置改变,用户与电子设备300接触的存在或不存在,电子设备300方位或加速/减速和电子设备300的温度变化。传感器组件314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the electronic device 300. For example, the sensor assembly 314 can detect the open/closed state of the electronic device 300, the relative positioning of the components, such as the display and keypad of the electronic device 300, and the sensor assembly 314 can also detect the position change of the electronic device 300 or a component of the electronic device 300, the presence or absence of user contact with the electronic device 300, the orientation or acceleration/deceleration of the electronic device 300, and the temperature change of the electronic device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件316被配置为便于电子设备300和其他设备之间有线或无线方式的通信。电子设备300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 316 is configured to facilitate wired or wireless communication between the electronic device 300 and other devices. The electronic device 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,电子设备300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述任意一种设备调节方法。In an exemplary embodiment, the electronic device 300 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform any of the above-mentioned device adjustment methods.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器304,上述指令可由电子设备300的处理器320执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, and the instructions can be executed by a processor 320 of an electronic device 300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
进一步可以理解的是,本公开中“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It is further understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar thereto. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the", and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
进一步可以理解的是,术语“第一”、“第二”等用于描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开,并不表示特定的顺序或者重要程度。实际上,“第一”、“第二”等表述完全可以互换使用。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
进一步可以理解的是,除非有特殊说明,“连接”包括两者之间不存在其他构件的直接连接,也包括两者之间存在其他元件的间接连接。It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
进一步可以理解的是,本公开实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110335548.1A CN113138663B (en) | 2021-03-29 | 2021-03-29 | Equipment adjustment method, equipment adjustment device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110335548.1A CN113138663B (en) | 2021-03-29 | 2021-03-29 | Equipment adjustment method, equipment adjustment device, electronic equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113138663A CN113138663A (en) | 2021-07-20 |
| CN113138663B true CN113138663B (en) | 2024-09-13 |
Family
ID=76810098
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110335548.1A Active CN113138663B (en) | 2021-03-29 | 2021-03-29 | Equipment adjustment method, equipment adjustment device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113138663B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104937522A (en) * | 2013-01-22 | 2015-09-23 | 科智库公司 | Improved feedback for non-touch UI |
| CN105027032A (en) * | 2013-01-22 | 2015-11-04 | 科智库公司 | Scalable input from tracked objects |
| CN110275611A (en) * | 2019-05-27 | 2019-09-24 | 联想(上海)信息技术有限公司 | A kind of parameter adjusting method, device and electronic equipment |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20120119440A (en) * | 2011-04-21 | 2012-10-31 | 삼성전자주식회사 | Method for recognizing user's gesture in a electronic device |
| CN103793056A (en) * | 2014-01-26 | 2014-05-14 | 华南理工大学 | Mid-air gesture roaming control method based on distance vector |
| CN107797747A (en) * | 2016-08-31 | 2018-03-13 | 中兴通讯股份有限公司 | A kind of screen control method, device and terminal based on multi-screen |
| WO2019047205A1 (en) * | 2017-09-11 | 2019-03-14 | 深圳传音通讯有限公司 | Volume adjustment method and device |
| CN108052202B (en) * | 2017-12-11 | 2021-06-11 | 深圳市星野信息技术有限公司 | 3D interaction method and device, computer equipment and storage medium |
| KR102627014B1 (en) * | 2018-10-02 | 2024-01-19 | 삼성전자 주식회사 | electronic device and method for recognizing gestures |
| CN109885174A (en) * | 2019-02-28 | 2019-06-14 | 努比亚技术有限公司 | Gesture control method, device, mobile terminal and storage medium |
| CN117784927A (en) * | 2019-08-19 | 2024-03-29 | 华为技术有限公司 | Interaction method and electronic device for space gestures |
-
2021
- 2021-03-29 CN CN202110335548.1A patent/CN113138663B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104937522A (en) * | 2013-01-22 | 2015-09-23 | 科智库公司 | Improved feedback for non-touch UI |
| CN105027032A (en) * | 2013-01-22 | 2015-11-04 | 科智库公司 | Scalable input from tracked objects |
| CN110275611A (en) * | 2019-05-27 | 2019-09-24 | 联想(上海)信息技术有限公司 | A kind of parameter adjusting method, device and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113138663A (en) | 2021-07-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111182205B (en) | Shooting method, electronic device and medium | |
| WO2020108261A1 (en) | Photographing method and terminal | |
| CN108668083A (en) | A camera method and terminal | |
| CN107977083B (en) | Operation execution method and device based on VR system | |
| CN111695382B (en) | Fingerprint collection area determination method and fingerprint collection area determination device | |
| WO2019174628A1 (en) | Photographing method and mobile terminal | |
| CN106527682B (en) | Method and device for switching environment pictures | |
| CN112202962B (en) | Screen brightness adjusting method and device and storage medium | |
| CN107515669B (en) | Display method and device | |
| CN108038726A (en) | Article display method and device | |
| WO2019184947A1 (en) | Image viewing method and mobile terminal | |
| CN109413333B (en) | Display control method and terminal | |
| CN111488107A (en) | Multitask interactive control method, multitask interactive control device and storage medium | |
| CN113495617A (en) | Method and device for controlling equipment, terminal equipment and storage medium | |
| CN109144385A (en) | The moving method and device of suspension ball | |
| CN108257091A (en) | For the image processing method and Intelligent mirror of Intelligent mirror | |
| CN108319363A (en) | Product introduction method, apparatus based on VR and electronic equipment | |
| CN112905136A (en) | Screen projection control method and device and storage medium | |
| CN106406661A (en) | Displaying method and device for photographing interface, and terminal device | |
| WO2023169382A1 (en) | Knocking-based device control method and apparatus, and storage medium | |
| CN106843479A (en) | Method and device, the electronic equipment of control targe equipment switching state | |
| CN116954540A (en) | Application display method, device and terminal | |
| CN113192312B (en) | Device control method, device, electronic device and storage medium | |
| CN106681632A (en) | Projection control method, device and system, terminal device and display device | |
| CN113138663B (en) | Equipment adjustment method, equipment adjustment device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |