WO2018103432A1 - 显示模式切换方法及装置 - Google Patents
显示模式切换方法及装置 Download PDFInfo
- Publication number
- WO2018103432A1 WO2018103432A1 PCT/CN2017/103802 CN2017103802W WO2018103432A1 WO 2018103432 A1 WO2018103432 A1 WO 2018103432A1 CN 2017103802 W CN2017103802 W CN 2017103802W WO 2018103432 A1 WO2018103432 A1 WO 2018103432A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- display mode
- picture
- gesture
- mode
- target
- 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
Links
Images
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/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
Definitions
- the present invention relates to the field of display technologies, and in particular, to an interface display mode switching method and apparatus.
- the operation interface of the try-on product is generally a product selection list.
- the product can be viewed and selected in the product list.
- the existing operation interface is generally on the left side of the display interface, the user tries on the product through the right hand, and selects and views the product by touching the operation interface with the left hand.
- the display mode of the operation interface is fixed and cannot be dynamically switched in real time. If the user who is used to wearing the jewelry in the left hand tries to wear the product on the left hand, the right hand should operate the product selection list on the left side of the interface, which will block the user's sight. And the operation is not convenient, and the user experience is poor.
- the present invention provides a display mode switching method, the display mode includes a left-hand mode of the touch area on the left side of the display interface and a right-hand mode of the touch area on the right side of the display interface, and the display mode switching method includes:
- the current display mode is The mode is switched to the same display mode as the target display mode.
- step of determining a target display mode corresponding to the picture by comparing the picture with the sample picture comprises:
- the gesture in the picture is consistent with the gesture in the sample picture, determining that the target display mode corresponding to the picture is the same display mode as the display mode type corresponding to the sample picture, otherwise The display mode of the display mode type that is different for the picture.
- the above display mode switching method wherein the comparing and determining whether the gesture in the picture is consistent with the gesture in the sample picture comprises:
- the display mode switching method further comprises the steps of:
- the current display mode is switched to the default display mode.
- the above display mode switching method wherein the step of switching the current display mode to the same display mode as the target display mode comprises:
- the embodiment of the invention further provides a display mode switching device, wherein the display mode of the display interface is switched between the left-hand mode and the right-hand mode, including:
- a picture acquisition module configured to obtain a picture of the current gesture
- a picture recognition module configured to determine, by comparing the picture with the sample picture, the picture Target display mode, the target display mode is the left hand mode or the right hand mode;
- a first detecting module configured to detect whether a current display mode is the same as the target display mode
- a switching module configured to switch the current display mode to the same display mode as the target display mode when the current display mode is different from the target display mode.
- the picture recognition module comprises:
- a comparison module configured to compare and determine whether a gesture in the picture is consistent with a gesture in the sample picture
- a determining module configured to: when the gesture in the picture is consistent with the gesture in the sample picture, determine that the target display mode corresponding to the picture is the same display mode as the display mode corresponding to the sample picture, otherwise A display mode that is different in display mode type corresponding to the sample picture.
- comparison module is specifically configured to:
- the display mode switching device further comprises:
- a setting module configured to set the right hand mode or the left hand mode to a default display mode
- a second detecting module configured to detect whether there is a gesture in a preset time
- the switching module is further configured to: determine, when the gesture is not in the preset time, whether the current display mode is the default display mode, if the current display mode is not the default display mode. And then switching the current display mode to the default display mode.
- switching module is specifically configured to:
- the invention captures the gesture picture of the trial wearer through the camera of the virtual trial area, determines which hand the user is currently trying to wear, and then displays the left and right mode switch to meet the left and right hand operation habits of the user, thereby improving the user experience. For example, when the user's left hand is trying on the ring, then the operation interface is more suitable for the user's operation on the right side. If the user changes to the right hand to try the ring, then the operation interface is on the left. The side is more suitable for user operations.
- FIG. 1 is a flowchart of a method for switching an interface display mode in a first embodiment of the present invention
- FIG. 2 is a flowchart of a method for switching an interface display mode in a second embodiment of the present invention
- FIG. 3 is a structural block diagram of an interface display mode switching device in a third embodiment of the present invention.
- FIG. 4 is a structural block diagram of the picture recognition module in FIG. 3;
- FIG. 5 is a structural block diagram of an interface display mode switching apparatus according to another embodiment of the present invention.
- the mentioned display modes include two types: a left hand mode and a right hand mode.
- the left-hand mode is that the operation area is on the left side of the interface, and the touch operation is performed by the left hand;
- the right-hand mode is that the operation area is on the right side of the interface, and the touch operation is performed by the right hand.
- FIG. 1 is a flowchart of a display mode switching method according to a first embodiment of the present invention, including steps S11-S14.
- step S11 a picture of the current gesture is obtained.
- Step S12 Comparing the gesture in the picture with the gesture in the sample picture, and determining a target display mode corresponding to the picture.
- the target display mode is a left hand mode or a right hand mode.
- a camera is set up to obtain a picture of the try-on gesture and to perform virtual I plan to wear it.
- the picture of the gesture acquired by the camera of the trial zone is compared with a preset sample picture, which is a picture of a left hand gesture or a picture of a right hand gesture.
- the picture of the left hand gesture corresponds to the left hand mode
- the picture of the right hand gesture corresponds to the right hand mode. For example, if the display mode corresponding to the preset sample picture is the left-hand mode, if the gesture in the current picture is consistent with the sample picture, the target display mode corresponding to the picture of the current gesture is the left-hand mode, and if not, the right-hand mode is used.
- Step S13 detecting whether the current display mode is the same as the target display mode.
- the display layers of the left-hand mode and the right-hand mode correspond to different coordinate values, it can be determined whether the current display mode is the left-hand mode or the right-hand mode by detecting the coordinate value corresponding to the current display mode. That is, it can be determined whether the current display mode is the same as the target display mode.
- Step S14 When the current display mode is different from the target display mode, the current display mode is switched to the same display mode as the target display mode.
- the step of switching the current display mode to the same display mode as the target display mode includes:
- the symmetric mapping is displayed to the opposite side screen display, that is, the sub-items on the left half of the screen are displayed on the right half of the screen, and the sub-items on the right half of the screen are displayed on the left half of the screen.
- the right-hand mode is switched to the left-hand mode.
- the coordinate conversion can be switched to the left-hand mode, so that the mobile terminal usage habits of each user can be satisfied.
- the camera of the virtual try-on area captures the gesture image of the try-on, and determines which hand the user is currently trying to wear, and then the interface performs left-right mode switching to meet the left-hand operation habits of the user, thereby improving the user experience. For example, when the user's left hand is trying on the ring, then the operation interface is more suitable for the user's operation on the right side. If the user changes to the right hand to try the ring, then the operation interface is more suitable for the user operation on the left side.
- FIG. 2 is a flowchart of a display mode switching method according to a second embodiment of the present invention.
- a sample picture corresponding to a left-hand mode is taken as an example to describe the implementation principle of the present invention in detail.
- the display mode switching method includes steps S21 to S30.
- Step S21 Acquire a picture of the current gesture.
- Step S22 comparing the picture with the sample picture, and determining whether the relative position of the thumb and the remaining four fingers in the picture is the same as the relative position of the thumb and the remaining four fingers of the gesture in the sample picture, if the same Step S23 is performed, otherwise step S24 is performed.
- the position of the thumb relative to the remaining four fingers can be determined, for example, on the left or right side of the remaining four fingers, thereby determining whether the display mode corresponding to the gesture in the picture is the left hand mode or the right hand mode.
- the display mode switching method further includes the following steps:
- the preset time is 5 minutes.
- the interface to be tried is switched to the default display mode, and the default display mode is the majority.
- the user interface mode that people are used to is right-hand mode.
- the left and right hand mode of the display interface can also be switched, and the principle is the same as the left hand mode.
- the current display mode is switched to the display mode corresponding to the current gesture of the user, which is convenient for the user to perform the operation.
- a third embodiment of the present invention further provides a display mode switching device, wherein a display mode of the display interface is switched between a left-hand mode and a right-hand mode, including a picture acquiring module 31 and a picture recognition module 32.
- the first detecting module 33 and the switching module 34 are included in a display mode switching device.
- the picture obtaining module 31 is configured to acquire a picture of the current gesture.
- the picture recognition module 32 is configured to determine a target display mode corresponding to the picture by comparing a gesture in the picture with a gesture in the sample picture, where a display mode corresponding to the sample picture is a left hand mode or a right hand mode.
- the picture recognition module 32 specifically includes:
- the comparing module 321 is configured to compare and determine whether the gesture in the picture is consistent with the gesture in the sample picture;
- the determining module 322 is configured to: when the gesture in the picture is consistent with the gesture in the sample picture, determine that the target display mode corresponding to the picture is a display mode of the same display mode type corresponding to the sample picture, Otherwise, it is a display mode in which the display mode type corresponding to the sample picture is different.
- comparison module 321 is specifically configured to:
- the first detecting module 33 is configured to detect whether the current display mode is the same as the target display mode.
- the switching module 34 is configured to switch the current display mode to the same display mode as the target display mode when the current display mode is different from the target display mode. Specifically, the switching module refreshes and displays the coordinate value corresponding to the target mode, so that the coordinate value corresponding to the current display mode is the same as the coordinate value corresponding to the target mode.
- the display mode switching apparatus further includes:
- a setting module 35 configured to set the right hand mode or the left hand mode to a default display mode
- the second detecting module 36 is configured to detect whether there is a gesture within a preset time.
- the switching module 34 is further configured to: when the gesture is absent within the preset time, determine the current Whether the display mode is the default display mode, and if the current display mode is not the default display mode, switching the current display mode to the default display mode.
- the camera of the virtual try-on area captures the gesture image of the try-on, and determines which hand the user is currently trying to wear, and then the interface performs left-right mode switching to meet the left-hand operation habits of the user, thereby improving the user experience. For example, when the user's left hand is trying on the ring, then the operation interface is more suitable for the user's operation on the right side. If the user changes to the right hand to try the ring, then the operation interface is more suitable for the user operation on the left side.
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为图3中图片识别模块的结构框图;
图5为本发明另一实施例中的界面显示模式切换装置的结构框图。
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。
参照下面的描述和附图,将清楚本发明的实施例的这些和其他方面。在这些描述和附图中,具体公开了本发明的实施例中的一些特定实施方式,来表示实施本发明的实施例的原理的一些方式,但是应当理解,本发明的实施例的范围不受此限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。
本发明实施例中的显示模式切换方法,所提到的显示模式包括两种类型:左手模式和右手模式。其中,所述左手模式为操作区在界面左侧,通过左手进行触控操作;右手模式为操作区域在界面右侧,通过右手进行触控操作。
请参阅图1,为本发明第一实施例中的显示模式切换方法的流程图,包括步骤S11~S14。
步骤S11,获取当前手势的图片。
步骤S12,比较所述图片中的手势与所述样本图片中的手势,并确定所述图片对应的目标显示模式。所述目标显示模式为左手模式或右手模式。
一般的首饰试戴区都会设置摄像头,用于获取试戴者手势的图片,进行虚
拟试戴。步骤S11中,通过试戴区的摄像头获取的手势的图片与预设的样本图片进行比较,所述预设的样本图片为左手手势的图片或右手手势的图片。其中左手手势的图片对应左手模式,右手手势的图片对应右手模式。例如,预设的样本图片对应的显示模式为左手模式时,若当前图片中的手势与样本图片中的一致,说明当前手势的图片对应的目标显示模式为左手模式,若不一致则为右手模式。
步骤S13,检测当前的显示模式与所述目标显示模式是否相同。
由于左手模式和右手模式的显示层对应不同的坐标值,通过检测当前的显示模式对应的坐标值即可判断当前的显示模式为左手模式还是右手模式。即,可判断当前的显示模式是否与目标显示模式相同。
步骤S14,当所述当前的显示模式与所述目标显示模式不相同时,将所述当前的显示模式切换为与所述目标显示模式相同的显示模式。
上述步骤中,所述将所述当前的显示模式切换为与所述目标显示模式相同的显示模式的步骤包括:
通过所述目标模式对应的坐标值刷新显示,使所述当前的显示模式对应的坐标值与所述目标模式对应的坐标值相同。
通过改变当前的UI显示层控件的坐标位置,对称映射到对边屏幕显示,即左半边屏幕上的子项对应显示在右半边屏幕,右半边屏幕上的子项显示在左半边屏幕,这样经过位置变换后,实现了右手模式向左手模式的切换,同理如果在右手模式下,亦可通过坐标变换切换到左手模式,这样就可以满足各个用户的移动终端使用习惯。
本发明实施例通过虚拟试戴区的摄像头捕获试戴者的手势图片,判断用户当前是哪只手在试戴,然后界面进行左右模式切换以满足用户的左右手操作习惯,提高用户体验。比如用户左手在进行戒指试戴时,那么此时操作界面在右边是比较适合用户操作的,如果用户又换成右手试戴戒指,那么此时操作界面在左边是比较适合用户操作的。
请参阅图2,为本发明第二实施例中的显示模式切换方法的流程图,本实施例中,以样本图片对应左手模式为例,详细说明本发明的实施原理。如图所示,
所述显示模式切换方法包括步骤S21~S30。
步骤S21,获取当前手势的图片。
步骤S22,比较所述图片与样本图片,并判断所述图片中的大拇指与其余四指的相对位置与所述样本图片中的手势的大拇指与其余四指的相对位置是否相同,若相同执行步骤S23,否则执行步骤S24。
由于大拇指的长度较其余四指的短,且与其余四指呈一定角度,尤其是相对于中指,几乎呈90度,辨识度较高。因此可以判断大拇指相对于其余四指的位置,例如在其余四指的左侧或右侧,从而确定图片中的手势对应的显示模式为左手模式还是右手模式。
S23,确定所述图片对应的目标显示模式为左手模式;
S24,确定所述图片对应的目标模式为右手模式。
S25,检测当前的显示模式与所述目标显示模式是否相同。
S26,当所述当前的显示模式与所述目标显示模式不同时,将所述当前的显示模式切换为与所述目标显示模式相同的显示模式。
进一步的,所述显示模式切换方法还包括步骤:
S27,设置右手模式或左手模式为默认显示模式;
S28,检测预设时间内是否有手势,
S29,若无所述手势时,判断所述当前的显示模式是否为所述默认显示模式;
S30,若所述当前的显示模式不为所述默认显示模式时,则将当前的显示模式切换为所述默认显示模式。
例如所述预设时间为5分钟,当5分钟内,没有检测到手势,即表示试戴区无人使用,则将试戴的界面切换为默认的显示模式,一般默认的显示模式为大多数人习惯的操作界面模式,即右手模式。
可以理解的,当样本图片对应右手模式时,也可以实现显示界面的左右手模式的切换,其原理与左手模式相同。
本实施例通过比较拍摄的图片与样本图片中手势的手指位置确定用户当前试戴的手为左手还是右手,继而将当前的显示模式切换为与用户当前手势对应的显示模式,方便用户进行操作。
请参阅图3,本发明第三实施例还提供了一种显示模式切换装置,用于显示界面的显示模式在左手模式和右手模式之间进行切换,包括图片获取模块31、图片识别模块32、第一检测模块33和切换模块34。
所述图片获取模块31用于获取当前手势的图片。
所述图片识别模块32用于通过比较所述图片中的手势与所述样本图片中的手势确定所述图片对应的目标显示模式,所述样本图片对应的显示模式为左手模式或右手模式。
进一步的,如图4所示,上述图片识别模块32具体包括:
比较模块321,用于比较并判断所述图片中的手势与所述样本图片中的手势是否一致;
确定模块322,用于当所述图片中的手势与所述样本图片中的手势是一致时,确定所述图片对应的目标显示模式为与所述样本图片对应的显示模式类型相同的显示模式,否则为与所述样本图片对应的显示模式类型相异的显示模式。
进一步的,上述比较模块321具体用于:
比较所述图片与样本图片,并判断所述图片中的大拇指与其余四指的相对位置与所述样本图片中的手势的大拇指与其余四指的相对位置是否相同,若相同,确定所述图片中的手势与所述样本图片中的手势一致,否则确定所述图片中的手势与所述样本图片中的手势不一致。
所述第一检测模块33用于检测当前的显示模式与所述目标显示模式是否相同。
所述切换模块34用于当所述当前的显示模式与所述目标显示模式不同时,将所述当前的显示模式切换为与所述目标显示模式相同的显示模式。具体的,所述切换模块通过所述目标模式对应的坐标值刷新显示,使所述当前的显示模式对应的坐标值与所述目标模式对应的坐标值相同。
进一步的,如图5所示,作为本发明第三实施例的一种改进,在本发明另一实施例中所述显示模式切换装置还包括:
设置模块35,用于设置右手模式或左手模式为默认显示模式;
第二检测模块36,用于检测预设时间内是否有手势。
所述切换模块34还用于:当所述预设时间内无所述手势时,判断所述当前
的显示模式是否为所述默认显示模式,若所述当前的显示模式不为所述默认显示模式时,则将所述当前的显示模式切换为所述默认显示模式。
本发明实施例通过虚拟试戴区的摄像头捕获试戴者的手势图片,判断用户当前是哪只手在试戴,然后界面进行左右模式切换以满足用户的左右手操作习惯,提高用户体验。比如用户左手在进行戒指试戴时,那么此时操作界面在右边是比较适合用户操作的,如果用户又换成右手试戴戒指,那么此时操作界面在左边是比较适合用户操作的。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。
Claims (10)
- 一种显示模式切换方法,其特征在于,所述显示模式包括触控区域在显示界面左侧的左手模式和触控区域在显示界面右侧的右手模式,所述显示模式切换方法包括:获取当前手势的图片,并通过比较所述图片与所述样本图片确定所述图片对应的目标显示模式,所述目标显示模式为所述左手模式或右手模式;检测当前的显示模式与所述目标显示模式是否相同;当所述当前的显示模式与所述目标显示模式不同时,将所述当前的显示模式切换为与所述目标显示模式相同的显示模式。
- 如权利要求1所述的显示模式切换方法,其特征在于,所述通过比较所述图片与所述样本图片确定所述图片对应的目标显示模式的步骤包括:比较并判断所述图片中的手势与所述样本图片中的手势是否一致;当所述图片中的手势与所述样本图片中的手势是一致时,确定所述图片对应的目标显示模式为与所述样本图片对应的显示模式类型相同的显示模式,否则为与所述样本图片对应的显示模式类型相异的显示模式。
- 如权利要求2所述的显示模式切换方法,其特征在于,所述比较并判断所述图片中的手势与所述样本图片中的手势是否一致的步骤包括:比较所述图片与样本图片,并判断所述图片中的大拇指与其余四指的相对位置与所述样本图片中的手势的大拇指与其余四指的相对位置是否相同,若相同,确定所述图片中的手势与所述样本图片中的手势一致,否则确定所述图片中的手势与所述样本图片中的手势不一致。
- 如权利要求1所述的显示模式切换方法,其特征在于,所述显示模式切换方法还包括步骤:设置所述右手模式或左手模式为默认显示模式;检测预设时间内是否有手势;当预设时间内无所述手势时,判断所述当前的显示模式是否为所述默认显示模式;当所述当前的显示模式不为所述默认显示模式时,则将所述当前的显示模式切换为所述默认显示模式。
- 如权利要求1所述的显示模式切换方法,其特征在于,所述将所述当前的显示模式切换为与所述目标显示模式相同的显示模式的步骤包括:通过所述目标模式对应的坐标值刷新显示,使所述当前的显示模式对应的坐标值与所述目标模式对应的坐标值相同。
- 一种显示模式切换装置,其特征在于,用于显示界面的显示模式在左手模式和右手模式之间进行切换,包括:图片获取模块,用于获取当前手势的图片;图片识别模块,用于通过比较所述图片与所述样本图片确定所述图片对应的目标显示模式,所述目标显示模式为所述左手模式或右手模式;第一检测模块,用于检测当前的显示模式与所述目标显示模式是否相同;切换模块,用于当所述当前的显示模式与所述目标显示模式不同时,将所述当前的显示模式切换为与所述目标显示模式相同的显示模式。
- 如权利要求6所述的显示模式切换装置,其特征在于,所述图片识别模块包括:比较模块,用于比较并判断所述图片中的手势与所述样本图片中的手势是否一致;确定模块,用于当所述图片中的手势与所述样本图片中的手势是一致时,确定所述图片对应的目标显示模式为与所述样本图片对应的显示模式类型相同的显示模式,否则为与所述样本图片对应的显示模式类型相异的显示模式。
- 如权利要求7所述的显示模式切换装置,其特征在于,所述比较模块具体用于:比较所述图片与样本图片,并判断所述图片中的大拇指与其余四指的相对位置与所述样本图片中的手势的大拇指与其余四指的相对位置是否相同,若相同,确定所述图片中的手势与所述样本图片中的手势一致,否则确定所述图片中的手势与所述样本图片中的手势不一致。
- 如权利要求6所述的显示模式切换装置,其特征在于,所述显示模式切换装置还包括:设置模块,用于设置所述右手模式或左手模式为默认显示模式;第二检测模块,用于检测预设时间内是否有手势;所述切换模块还用于,当所述预设时间内无所述手势时,判断所述当前的显示模式是否为所述默认显示模式,若所述当前的显示模式不为所述默认显示模式时,则将所述当前的显示模式切换为所述默认显示模式。
- 如权利要求6所述的显示模式切换装置,其特征在于,所述切换模块具体用于:通过所述目标模式对应的坐标值刷新显示,使所述当前的显示模式对应的坐标值与所述目标模式对应的坐标值相同。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611109305.1 | 2016-12-06 | ||
| CN201611109305.1A CN106681629A (zh) | 2016-12-06 | 2016-12-06 | 显示模式切换方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018103432A1 true WO2018103432A1 (zh) | 2018-06-14 |
Family
ID=58866384
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/103802 Ceased WO2018103432A1 (zh) | 2016-12-06 | 2017-09-27 | 显示模式切换方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106681629A (zh) |
| WO (1) | WO2018103432A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106681629A (zh) * | 2016-12-06 | 2017-05-17 | 广州视源电子科技股份有限公司 | 显示模式切换方法及装置 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103176724A (zh) * | 2011-12-21 | 2013-06-26 | 富泰华工业(深圳)有限公司 | 可切换左右手使用模式的操作界面的电子设备及方法 |
| US20140176438A1 (en) * | 2012-12-26 | 2014-06-26 | Hon Hai Precision Industry Co., Ltd. | Handheld device and display control method |
| CN104156147A (zh) * | 2013-05-15 | 2014-11-19 | 中兴通讯股份有限公司 | 终端界面显示模式的自适应调节方法及终端 |
| CN106681629A (zh) * | 2016-12-06 | 2017-05-17 | 广州视源电子科技股份有限公司 | 显示模式切换方法及装置 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103034415A (zh) * | 2012-12-13 | 2013-04-10 | 广东欧珀移动通信有限公司 | 一种移动终端支持左右手模式切换的实现方法及装置 |
-
2016
- 2016-12-06 CN CN201611109305.1A patent/CN106681629A/zh active Pending
-
2017
- 2017-09-27 WO PCT/CN2017/103802 patent/WO2018103432A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103176724A (zh) * | 2011-12-21 | 2013-06-26 | 富泰华工业(深圳)有限公司 | 可切换左右手使用模式的操作界面的电子设备及方法 |
| US20140176438A1 (en) * | 2012-12-26 | 2014-06-26 | Hon Hai Precision Industry Co., Ltd. | Handheld device and display control method |
| CN104156147A (zh) * | 2013-05-15 | 2014-11-19 | 中兴通讯股份有限公司 | 终端界面显示模式的自适应调节方法及终端 |
| CN106681629A (zh) * | 2016-12-06 | 2017-05-17 | 广州视源电子科技股份有限公司 | 显示模式切换方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106681629A (zh) | 2017-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI554951B (zh) | 實現虛擬試戴的方法和裝置 | |
| CN104331168B (zh) | 显示调整方法和电子设备 | |
| CN111886564B (zh) | 信息处理装置、信息处理方法和程序 | |
| US8988519B2 (en) | Automatic magnification of data on display screen based on eye characteristics of user | |
| KR101812227B1 (ko) | 동작 인식 기반의 스마트 글래스 장치 | |
| JP2019087279A (ja) | デジタルデバイスとの対話のための直接的なポインティング検出のためのシステムおよび方法 | |
| US9354780B2 (en) | Gesture-based selection and movement of objects | |
| TW201241690A (en) | Information processing device, method of processing information, and computer program storage device | |
| US20170038838A1 (en) | Information processing system and information processing method | |
| CN108595002B (zh) | 一种信息处理方法及电子设备 | |
| CN103576853A (zh) | 用于提供内容的方法和显示装置 | |
| US10445577B2 (en) | Information display method and information display terminal | |
| US10095384B2 (en) | Method of receiving user input by detecting movement of user and apparatus therefor | |
| KR102629149B1 (ko) | 외부 광에 따라 디스플레이의 특성을 변경하는 전자 장치 및 방법 | |
| WO2016078296A1 (zh) | 服装试穿方法及装置 | |
| CN108920234A (zh) | 动态显示ui元素的方法和终端 | |
| KR20170022078A (ko) | 디스플레이 장치 및 그의 제어방법 | |
| CN111415185A (zh) | 业务处理方法、装置、终端及存储介质 | |
| WO2018059552A1 (zh) | 屏幕显示控制方法、装置及移动终端和计算机存储介质 | |
| KR20200051937A (ko) | 가상현실 환경에서 사용자의 동작에 따른 gui 객체의 자동 표시방법 및 이를 이용한 vr 시스템 | |
| KR20160086132A (ko) | 디스플레이 장치 및 그 동작 방법 | |
| CN105824493B (zh) | 一种移动终端的控制方法及移动终端 | |
| WO2015062248A1 (zh) | 显示装置及其控制方法、和手势识别方法 | |
| CN108549485B (zh) | 一种信息处理的方法及穿戴式电子设备 | |
| WO2018103432A1 (zh) | 显示模式切换方法及装置 |
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: 17878906 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 171019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17878906 Country of ref document: EP Kind code of ref document: A1 |