TWI654539B - Virtual reality interaction method, device and system - Google Patents

Virtual reality interaction method, device and system

Info

Publication number
TWI654539B
TWI654539B TW106136916A TW106136916A TWI654539B TW I654539 B TWI654539 B TW I654539B TW 106136916 A TW106136916 A TW 106136916A TW 106136916 A TW106136916 A TW 106136916A TW I654539 B TWI654539 B TW I654539B
Authority
TW
Taiwan
Prior art keywords
preset
page
identifier
virtual reality
interactive object
Prior art date
Application number
TW106136916A
Other languages
Chinese (zh)
Other versions
TW201816548A (en
Inventor
蔡致賢
鄭中陽
楊爽
董中倩
王勃
王亞坤
楊濤
智威 張
格雷林艾爾文
Original Assignee
宏達國際電子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏達國際電子股份有限公司 filed Critical 宏達國際電子股份有限公司
Publication of TW201816548A publication Critical patent/TW201816548A/en
Application granted granted Critical
Publication of TWI654539B publication Critical patent/TWI654539B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Landscapes

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

Abstract

本發明提供一種虛擬實境交互方法、裝置與系統。虛擬實境交互方法包括:持續獲取使用者面前的圖像資訊;通過識別所述圖像資訊中的預設標識來識別預設交互物體,所述預設交互物體的表面具有一個或多個所述預設標識;通過所述圖像資訊識別使用者的手部動作;根據所述手部動作與所述預設交互物體的位置,在虛擬實境環境中模擬用戶對所述預設交互物體的交互動作。本發明提供的虛擬實境交互方法可以準確地在虛擬實境環境中類比使用者對真實物體的交互動作,改善了虛擬實境的用戶體驗。The invention provides a virtual reality interaction method, device and system. The virtual reality interaction method includes: continuously acquiring image information in front of a user; identifying a preset interactive object by identifying a preset identifier in the image information, and a surface of the preset interactive object having one or more The preset identifier; identifying a user's hand movement through the image information; and simulating a user's action on the preset interactive object in a virtual reality environment based on the hand movement and the position of the preset interactive object Interaction. The virtual reality interaction method provided by the present invention can accurately simulate the user's interaction with real objects in the virtual reality environment, thereby improving the user experience of the virtual reality.

Description

虛擬實境交互方法、裝置與系統Virtual reality interaction method, device and system

本發明涉及虛擬實境技術領域,具體而言,涉及一種用於準確類比使用者與真實物體交互動作的虛擬實境交互方法、裝置與系統。The present invention relates to the field of virtual reality technology, and in particular, to a virtual reality interaction method, device, and system for accurately analogizing user interaction with real objects.

隨著科技發展,虛擬實境技術在生活中得到了越來越多的應用。With the development of science and technology, virtual reality technology has been increasingly used in life.

在現有技術中,當用戶希望在虛擬環境中得到逼真的與真實物體的交互體驗時,往往需要通過在手上佩戴定位器或者通過其他特殊的電子儀器或操縱器來實現。當使用者在虛擬實境環境中需要與真實物體互動,例如閱讀虛擬圖書時,現有技術無法提供方便的操作方式以在虛擬世界中閱讀虛擬圖書。In the prior art, when a user wishes to obtain a realistic interactive experience with a real object in a virtual environment, it often needs to be implemented by wearing a locator on his hand or by other special electronic instruments or manipulators. When a user needs to interact with a real object in a virtual reality environment, such as reading a virtual book, the existing technology cannot provide a convenient operation mode for reading a virtual book in a virtual world.

因此,需要一種能準確類比使用者與真實物體交互動作方法。Therefore, there is a need for an accurate analogy of a user's interaction with a real object.

需要說明的是,在上述背景技術部分公開的資訊僅用於加強對本發明的背景的理解,因此可以包括不構成對本領域普通技術人員已知的現有技術的資訊。It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art.

根據上述,在閱讀虛擬圖書時,現有技術無法很好地結合用戶手部動作與虛擬物體之間的位置分辨其操作關係,以達到方便地操作,例如翻動書頁。According to the above, when reading a virtual book, the prior art cannot well combine the position of the user's hand movements with the position of the virtual object to resolve its operational relationship, so as to achieve convenient operations, such as flipping book pages.

因此,本發明的目的在於提供一種用於準確類比使用者與真實物體交互動作的虛擬實境交互方法、裝置與系統,用於至少在一定程度上克服由於相關技術的限制和缺陷而導致的一個或多個問題。Therefore, the object of the present invention is to provide a virtual reality interaction method, device and system for accurately analogizing the interaction between a user and a real object, which is used to overcome at least to a certain extent caused by the limitations and defects of related technologies. Or multiple questions.

根據本發明實施例的第一方面,提供一種虛擬實境交互方法,包括:持續獲取使用者面前的圖像資訊;通過識別所述圖像資訊中的預設標識來識別預設交互物體,所述預設交互物體的表面具有一個或多個所述預設標識;通過所述圖像資訊識別使用者的手部動作;根據所述手部動作與所述預設交互物體的位置,在虛擬實境環境中模擬用戶對所述預設交互物體的交互動作。According to a first aspect of the embodiments of the present invention, a virtual reality interaction method is provided, including: continuously acquiring image information in front of a user; identifying a preset interactive object by identifying a preset identifier in the image information, so that The surface of the preset interactive object has one or more of the preset identifiers; the user's hand motion is identified through the image information; and the position of the preset interactive object is virtualized according to the hand motion and the position of the preset interactive object. An interactive action of a user on the preset interactive object is simulated in a real environment.

在本發明的一種示例性實施例中,所述識別預設交互物體包括識別所述預設交互物體的位置和/或表面狀態。In an exemplary embodiment of the present invention, the identifying a preset interactive object includes identifying a position and / or a surface state of the preset interactive object.

在本發明的一種示例性實施例中,所述識別用戶的手部動作包括識別手部姿態和/或手部位置。In an exemplary embodiment of the present invention, the identifying a user's hand motion includes identifying a hand posture and / or a hand position.

在本發明的一種示例性實施例中,所述預設標識包括虛擬內容資訊,識別所述圖像資訊中的預設標識還包括識別所述虛擬內容資訊。In an exemplary embodiment of the present invention, the preset identifier includes virtual content information, and identifying the preset identifier in the image information further includes identifying the virtual content information.

根據本發明實施例的第二方面,提供一種虛擬實境交互裝置,包括:According to a second aspect of the embodiments of the present invention, a virtual reality interaction device is provided, including:

圖像採集模組,用於持續獲取使用者面前的圖像資訊;Image acquisition module for continuously acquiring image information in front of users;

標識識別模組,用於通過識別所述圖像資訊中的預設標識來識別預設交互物體,所述預設交互物體的表面具有一個或多個所述預設標識;An identification recognition module, configured to identify a preset interactive object by identifying a preset identification in the image information, and a surface of the preset interactive object has one or more of the preset identifications;

手勢識別模組,用於通過所述圖像資訊識別使用者的手部動作;A gesture recognition module, configured to identify a user's hand motion through the image information;

圖像輸出模組,用於根據所述手部動作與所述預設交互物體的位置,在虛擬實境環境中模擬用戶對所述預設交互物體的交互動作。The image output module is configured to simulate a user's interaction with the preset interactive object in a virtual reality environment according to the position of the hand and the position of the preset interactive object.

在本發明的一種示例性實施例中,所述識別預設交互物體包括識別所述預設交互物體的位置和/或表面狀態。In an exemplary embodiment of the present invention, the identifying a preset interactive object includes identifying a position and / or a surface state of the preset interactive object.

在本發明的一種示例性實施例中,所述識別用戶的手部動作包括識別手部姿態和/或手部位置。In an exemplary embodiment of the present invention, the identifying a user's hand motion includes identifying a hand posture and / or a hand position.

在本發明的一種示例性實施例中,所述預設標識包括虛擬內容資訊,所述標識識別模組還用於識別所述虛擬內容資訊。In an exemplary embodiment of the present invention, the preset identification includes virtual content information, and the identification identification module is further configured to identify the virtual content information.

在本發明的一種示例性實施例中,還包括:資料庫模組,用於記錄所述預設標識與所述虛擬內容資訊的對應關係。In an exemplary embodiment of the present invention, the method further includes: a database module for recording a correspondence between the preset identifier and the virtual content information.

根據本發明實施例的協力廠商面,提供一種虛擬實境交互系統,包括:虛擬實境顯示裝置,用於對使用者顯示虛擬實境圖像;預設交互物體,用於輔助識別使用者的交互動作;以及,如上文所述的虛擬實境交互裝置。According to the third-party vendor embodiment of the present invention, a virtual reality interactive system is provided, including: a virtual reality display device for displaying a virtual reality image to a user; a preset interactive object for assisting identification of the user's Interactive actions; and, a virtual reality interactive device as described above.

根據本發明實施例的第四方面,提供一種電子設備,包括:一個或多個處理器;存儲裝置,用於存儲一個或多個程式,當所述一個或多個程式被所述一個或多個處理器執行時,使得所述一個或多個處理器實現上述的虛擬實境交互方法。According to a fourth aspect of the embodiments of the present invention, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs, and when the one or more programs are used by the one or more programs When the two processors execute, the one or more processors are caused to implement the foregoing virtual reality interaction method.

根據本發明實施例的第五方面,提供一種電腦可讀介質,其上存儲有電腦程式,所述程式被處理器執行時實現上述的虛擬實境交互方法。According to a fifth aspect of the embodiments of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the foregoing virtual reality interaction method is implemented.

根據本發明實施例的第六方面,提供一種虛擬實境交互方法,包括:獲取預設交互物體的圖像資訊,所述預設交互物體的表面具有預設標識;根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數;根據所述至少一種參數執行預設交交互操作。According to a sixth aspect of the embodiments of the present invention, a virtual reality interaction method is provided, including: acquiring image information of a preset interactive object, a surface of the preset interactive object having a preset identifier, and identifying according to the preset identifier. The image information acquires at least one parameter of the preset interactive object; and performs a preset cross-interaction operation according to the at least one parameter.

在本發明的一種示例性實施例中,所述至少一種參數包括所述預設交互物體的彎曲持續時間、彎曲方向、彎曲形狀中的一種或者多種。In an exemplary embodiment of the present invention, the at least one parameter includes one or more of a bending duration, a bending direction, and a bending shape of the preset interactive object.

在本發明的一種示例性實施例中,所述預設交交互操作包括向後翻頁、向前翻頁、連續向後翻頁、連續向前翻頁操作中的一種或者多種。In an exemplary embodiment of the present invention, the preset interaction operation includes one or more of page backward, page forward, continuous page backward, and page forward operations.

在本發明的一種示例性實施例中,所述預設交互物體為一柔性材料製成的書冊,其包括至少一頁面,所述至少一頁面的表面具有多個所述預設標識。In an exemplary embodiment of the present invention, the preset interactive object is a book made of a flexible material, which includes at least one page, and a surface of the at least one page has a plurality of the preset identifiers.

在本發明的一種示例性實施例中,根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數包括:選取所述至少一頁面上的多個所述預設標識中的第一標識和第二標識;根據所述第一標識和所述第二標識的位置座標分別獲取所述第一標識的第一法向量和所述第二標識的第二法向量;根據所述第一法向量和所述第二法向量確定所述第一標識和所述第二標識之間的夾角。In an exemplary embodiment of the present invention, recognizing the image information according to the preset identifier, and obtaining at least one parameter of the preset interactive object includes: selecting a plurality of the preset information on the at least one page. Set a first identifier and a second identifier in the identifier; and respectively obtain a first normal vector of the first identifier and a second normal vector of the second identifier according to the position coordinates of the first identifier and the second identifier ; Determining an angle between the first identifier and the second identifier according to the first normal vector and the second normal vector.

在本發明的一種示例性實施例中,根據所述至少一種參數執行預設交交互操作包括:判斷所述夾角隨著時間變化的曲線是否落入預定義區域內;當所述夾角隨著時間變化的曲線落入所述預定義區域內時,執行一向後翻頁操作。In an exemplary embodiment of the present invention, performing the preset cross-interaction operation according to the at least one parameter includes: determining whether a curve of the included angle changing with time falls within a predefined area; when the included angle changes with time When the changed curve falls within the predefined area, a page backward operation is performed.

在本發明的一種示例性實施例中,所述預定義區域由預定義的第一曲線和第二曲線以及所述第一曲線和所述第二曲線分別與時間軸的交點確定。In an exemplary embodiment of the present invention, the predefined area is determined by a predefined first curve and a second curve, and intersection points of the first curve and the second curve with a time axis, respectively.

在本發明的一種示例性實施例中,根據所述至少一種參數執行預設交交互操作包括:當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作。In an exemplary embodiment of the present invention, performing the preset cross-interaction operation according to the at least one parameter includes: when the included angle is greater than a first threshold and the duration exceeds a preset time, performing a continuous page-back operation.

在本發明的一種示例性實施例中,當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作包括:當所述夾角大於等於所述第一閾值且小於第二閾值時,按照第一翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第二閾值且小於第三閾值時,按照第二翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第三閾值且小於第四閾值時,按照第三翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角小於所述第一閾值時,停止所述連續向後翻頁操作。In an exemplary embodiment of the present invention, when the included angle is greater than a first threshold and the duration exceeds a preset time, performing a continuous page backward operation includes: when the included angle is greater than or equal to the first threshold and less than When the second threshold value, the continuous page turning operation is performed according to the first page turning animation speed; and / or when the included angle is greater than or equal to the second threshold value and less than the third threshold value, performing according to the second page turning animation speed The continuous page-back operation; and / or when the included angle is greater than or equal to the third threshold value and less than a fourth threshold value, the continuous page-back operation is performed at a third page-turning animation speed; and / or when When the included angle is less than the first threshold, the continuous page-back operation is stopped.

根據本發明實施例的第七方面,提供一種虛擬實境交互裝置,包括:圖像採集模組,用於獲取預設交互物體的圖像資訊,所述預設交互物體的表面具有預設標識;參數獲取模組,用於根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數;交互執行模組,用於根據所述至少一種參數執行預設交交互操作。According to a seventh aspect of the embodiments of the present invention, a virtual reality interaction device is provided, including: an image acquisition module for acquiring image information of a preset interactive object, and a surface of the preset interactive object has a preset identifier A parameter acquisition module configured to identify the image information according to the preset identifier and acquire at least one parameter of the preset interactive object; an interactive execution module configured to perform preset communication according to the at least one parameter Interaction.

根據本發明實施例的第八方面,提供一種電子設備,包括:一個或多個處理器;存儲裝置,用於存儲一個或多個程式,當所述一個或多個程式被所述一個或多個處理器執行時,使得所述一個或多個處理器實現上述的虛擬實境交互方法。According to an eighth aspect of the embodiments of the present invention, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs, and when the one or more programs are used by the one or more programs When the two processors execute, the one or more processors are caused to implement the foregoing virtual reality interaction method.

根據本發明實施例的第九方面,提供一種電腦可讀介質,其上存儲有電腦程式,所述程式被處理器執行時實現上述的虛擬實境交互方法。According to a ninth aspect of the embodiments of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the foregoing virtual reality interaction method is implemented.

本發明的虛擬實境交互方法通過辨識預設交互物體上的預設標識判斷預設交互物體的位置以及判斷使用者手部動作,準確地定位預設交互物體以及使用者手部與預設交互物體的相對位置關係,從而準確地在虛擬實境環境中類比使用者對真實物體的交互動作,改善了虛擬實境的用戶體驗。The virtual reality interaction method of the present invention judges the position of the preset interactive object and the user's hand motion by identifying the preset identification on the preset interactive object, and accurately locates the preset interactive object and the user's hand and preset interaction The relative positional relationship of objects, so as to accurately simulate the user's interaction with real objects in the virtual reality environment, which improves the user experience of the virtual reality.

應當理解的是,以上的一般描述和後文的細節描述僅是示例性和解釋性的,並不能限制本發明。It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and should not limit the present invention.

現在將參考附圖更全面地描述示例實施方式。然而,示例實施方式能夠以多種形式實施,且不應被理解為限於在此闡述的範例;相反,提供這些實施方式使得本發明將更加全面和完整,並將示例實施方式的構思全面地傳達給本領域的技術人員。所描述的特徵、結構或特性可以以任何合適的方式結合在一個或更多實施方式中。在下面的描述中,提供許多具體細節從而給出對本發明的實施方式的充分理解。然而,本領域技術人員將意識到,可以實踐本發明的技術方案而省略所述特定細節中的一個或更多,或者可以採用其它的方法、組元、裝置、步驟等。在其它情況下,不詳細示出或描述公知技術方案以避免喧賓奪主而使得本發明的各方面變得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein; rather, the embodiments are provided so that the present invention will be more comprehensive and complete, and the concept of the exemplary embodiments will be fully conveyed to Those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of the present invention. However, those skilled in the art will realize that the technical solutions of the present invention may be practiced without omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, well-known technical solutions are not shown or described in detail to avoid obscurity and obscure aspects of the present invention.

此外,附圖僅為本發明的示意性圖解,並非一定是按比例繪製。圖中相同的附圖標記表示相同或類似的部分,因而將省略對它們的重複描述。附圖中所示的一些方框圖是功能實體,不一定必須與物理或邏輯上獨立的實體相對應。可以採用軟體形式來實現這些功能實體,或在一個或多個硬體模組或積體電路中實現這些功能實體,或在不同網路和/或處理器裝置和/或微控制器裝置中實現這些功能實體。In addition, the drawings are merely schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and thus repeated descriptions thereof will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily have to correspond to physically or logically independent entities. These functional entities can be implemented in software, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices These functional entities.

下面結合附圖對本發明示例性實施方式進行詳細說明。Hereinafter, an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1圖是本發明一種虛擬實境交互方法的流程圖。參考第1圖,虛擬實境交互方法100可以包括:FIG. 1 is a flowchart of a virtual reality interaction method according to the present invention. Referring to FIG. 1, the virtual reality interaction method 100 may include:

步驟S102,持續獲取使用者面前的圖像資訊。In step S102, image information in front of the user is continuously acquired.

步驟S104,通過識別所述圖像資訊中的預設標識來識別預設交互物體,所述預設交互物體的表面具有一個或多個所述預設標識。Step S104: Identify a preset interactive object by identifying a preset identifier in the image information, and a surface of the preset interactive object has one or more of the preset identifiers.

步驟S106,通過所述圖像資訊識別使用者的手部動作。.In step S106, the user's hand movements are identified through the image information. .

步驟S108,根據所述手部動作與所述預設交互物體的位置,在虛擬實境環境中模擬用戶對所述預設交互物體的交互動作。Step S108: According to the hand motion and the position of the preset interactive object, simulate a user's interactive action on the preset interactive object in a virtual reality environment.

可以根據上述步驟計算出的預設交互物體的位置和朝向、預設標識所關聯的虛擬內容,以及使用者的手勢和其位置及手勢在系統中的互動結果,構造出一個高度沉浸的混合現實體驗。A highly immersive mixed reality can be constructed according to the positions and orientations of the preset interactive objects calculated according to the above steps, the virtual content associated with the preset identification, and the user's gestures and their positions and interaction results in the system. Experience.

本發明的虛擬實境交互方法100通過辨識預設交互物體上的預設標識判斷預設交互物體的位置以及判斷使用者手部動作,準確地定位預設交互物體以及使用者手部與預設交互物體的相對位置關係,從而準確地在虛擬實境環境中類比使用者對真實物體的交互動作,改善了虛擬實境的用戶體驗。The virtual reality interaction method 100 of the present invention judges the position of the preset interactive object and the user's hand motion by identifying the preset identifier on the preset interactive object, and accurately locates the preset interactive object and the user's hand and the preset. The relative position relationship of the interactive objects, so as to accurately simulate the user's interactive actions on the real objects in the virtual reality environment, and improve the user experience of the virtual reality.

下面結合具體實施例來對上述虛擬實境交互方法進行詳細說明。The above virtual reality interaction method is described in detail in combination with specific embodiments.

第2圖示意性示出本發明示例性實施例中一種虛擬實境頭盔(VR,Virtual Reality)的示意圖,例如可以為頭戴式顯示器(HMD,Head-Mounted Display)。頭盔200可以包括虛擬實境顯示裝置202和圖像獲取裝置(相機)204。FIG. 2 schematically illustrates a schematic diagram of a virtual reality helmet (VR, Virtual Reality) according to an exemplary embodiment of the present invention, and may be, for example, a head-mounted display (HMD). The helmet 200 may include a virtual reality display device 202 and an image acquisition device (camera) 204.

上述方法100可以通過佩戴虛擬實境頭戴式顯示器(HMD,Head-Mounted Display)來實現。本發明的虛擬實境頭戴式顯示器包括一個或多個圖像採集裝置,例如可以為相機,這些相機可以被以內置或外置的形式安裝在頭戴式顯示器上,用來捕獲在HMD前方的環境,以持續獲取使用者面前的圖像資訊。The above method 100 may be implemented by wearing a virtual reality head-mounted display (HMD). The virtual reality head-mounted display of the present invention includes one or more image acquisition devices, such as cameras, which can be mounted on the head-mounted display in a built-in or external form for capturing in front of the HMD. Environment to continuously obtain image information in front of users.

HMD一般帶有兩個顯示幕幕,分別在眼睛前方位置,用來顯示虛擬實境系統的圖像輸出結果。在這個系統中,還會有一個處理器及其他相關模組,用來即時執行每個模組的計算工作和顯示渲染結果到HMD的顯示幕幕上。其中處理器及其他相關模組可內建於HMD本身,或可為一外部裝置而以有線或無線的方式與HMD連接以傳輸資料。HMD generally has two display screens, which are located in front of the eyes, respectively, to display the image output results of the virtual reality system. In this system, there will also be a processor and other related modules, which are used to perform the calculation work of each module in real time and display the rendering results on the display screen of the HMD. The processor and other related modules may be built in the HMD itself, or may be wired or wirelessly connected to the HMD as an external device to transmit data.

在一般虛擬實境系統中,當使用者帶上HMD後,使用者的視線幾乎可被全部阻擋以隔絕外部的光源。此外,在本發明帶有相機的HMD的虛擬實境系統中,相機可以捕獲用戶所看見的外部環境。本實施例中提及的相機可以是基於RGB通道的相機、帶有深度的(RGB-D)相機或者雙眼相機等VR和AR系統中常見的相機。In a general virtual reality system, when the user brings the HMD, the user's vision can be almost completely blocked to isolate the external light source. In addition, in the virtual reality system of the present invention with a camera HMD, the camera can capture the external environment seen by the user. The cameras mentioned in this embodiment may be cameras commonly used in VR and AR systems such as RGB-based cameras, (RGB-D) cameras or binocular cameras.

要提供給用戶帶有混合現實的體驗,用戶在HMD前方所看到的或可以進行交互的物體都應該可以以虛擬物體的方式顯示在HMD中的顯示幕上。其中一個方法是:通過對從HMD的相機捕獲的圖像進行電腦視覺演算法計算,跟蹤預設交互物體的位置、朝向以及姿態。另一個方法是:在預設交互物體中附上感測器。在不依賴HMD及預設交互物體額外感測器的前提下,虛擬實境交互方法100可以通過第一種方法來提供混合現實體驗。To provide users with a mixed reality experience, objects that the user sees or can interact with in front of the HMD should be displayed on the display screen in the HMD as virtual objects. One method is to track the position, orientation, and attitude of a preset interactive object by computing computer vision algorithms on the images captured from the HMD's camera. Another method is to attach a sensor to a preset interactive object. Under the premise of not relying on the HMD and additional sensors for preset interactive objects, the virtual reality interaction method 100 can provide a mixed reality experience through the first method.

第3圖示意性示出本發明示例性實施例中一種預設標識的示意圖。參考第3圖,預設標識可以為包括二維碼、條碼或者其他二維圖案在內的二維標識,也可以是其他能被虛擬實境圖像獲取裝置識別到並且在之後可以由處理器分析的標識。其中,每一個預設標識皆具有獨立的辨識性(ID),以與其他的預設標識作區分。FIG. 3 is a schematic diagram illustrating a preset identifier in an exemplary embodiment of the present invention. Referring to FIG. 3, the preset identifier may be a two-dimensional identifier including a two-dimensional code, a barcode, or other two-dimensional patterns, or other identifiers that can be recognized by a virtual reality image acquisition device and can be subsequently processed by a processor. The identity of the analysis. Each of the preset identifiers has an independent identification (ID) to distinguish it from other preset identifiers.

為了提高系統跟蹤預設交互物體的位置、朝向以及不同姿態的魯棒性,預設標識可以被印在預設交互物體的表面上。預設標識與預設交互物體的結合可以是將圖像(如AprilTag)列印在或貼在預設交互物體上,或是以任何方式附著於預設交互物體的表面。In order to improve the robustness of the system in tracking the position, orientation, and different attitudes of the preset interactive object, the preset logo may be printed on the surface of the preset interactive object. The combination of the preset identifier and the preset interactive object may be printing or pasting an image (such as AprilTag) on the preset interactive object, or attaching the surface of the preset interactive object in any way.

預設交互物體例如可以為一個小冊子或書本,或是以硬或軟的材質所作成的類似小冊子或書本形狀的物體,可為一頁或多頁,也可做成可折迭的形式。而小冊子可以作為目標跟蹤物體,根據不同的設計和所需顯示資料。基於預設標識可能被其他物體(如手)遮蔽,並且為了增加跟蹤物體位置的精確度,可以在每一頁的小冊子上列印或貼上多個預設標識。在一實施例中,小冊子可為單頁,並印有一個或多個預設標識;在另一實施例中,小冊子可為可翻面的一頁正反面且兩面都印有一個或多個預設標識;在另一實施例中,小冊子可為可折迭的兩頁或多頁且每頁上都印有一個或多個預設標識。例如,第4圖示意性示出本示例性實施例中一種單頁小冊子的示意圖;第5圖示意性示出本示例性實施例中一種多頁小冊子的示意圖。The preset interactive object can be, for example, a booklet or a book, or an object similar to a booklet or a book made of hard or soft materials, which can be one or more pages, or can be made into a foldable form. . The booklet can be used as a target tracking object, according to different designs and required display materials. Based on the preset logo may be obscured by other objects (such as hands), and in order to increase the accuracy of tracking the position of the object, multiple preset logos can be printed or pasted on the booklet of each page. In one embodiment, the booklet may be a single page and printed with one or more preset logos; in another embodiment, the booklet may be a flipable front and back page with one or more printed on both sides Preset identification; in another embodiment, the booklet may be two or more pages that can be folded and each page is printed with one or more preset identifications. For example, FIG. 4 schematically shows a schematic diagram of a single-page booklet in this exemplary embodiment; FIG. 5 schematically shows a schematic diagram of a multi-page booklet in this exemplary embodiment.

可以根據所獲取的圖像資訊中一個或多個預設標識的影像,而判斷此一個或多個預設標識的位置和其朝向,並根據它們對於小冊子的相對位置,來計算出小冊子的位置和其朝向。這個相對位置的資料可以是預先定義,也可以是通過預設標識的唯一編碼查找在資料庫中的對應資訊。The position and orientation of the one or more preset marks can be determined based on the images of the one or more preset marks in the obtained image information, and the position of the booklet can be calculated according to their relative position to the booklet And its orientation. This relative position data can be predefined, or the corresponding information in the database can be found by the unique code of the preset identifier.

根據上述獲得的小冊子位置和其朝向,可以在HMD中根據這些資料顯示出一個虛擬小冊子。為了進一步提升沉浸感,除了位置和朝向外,小冊子的真實尺寸和其顯示在頭盔中的虛擬尺寸可以是按照1比1對應,也可以是根據一個固定的比例或其他能令用戶感覺到高度沉浸的非線性比例對應。Based on the position and orientation of the booklet obtained above, a virtual booklet can be displayed in the HMD based on these materials. In order to further enhance the immersion, in addition to the position and orientation, the real size of the booklet and its virtual size displayed in the helmet can correspond to 1: 1, or it can be based on a fixed ratio or other that can make the user feel highly immersed Corresponding to the nonlinear proportion.

如果這本小冊子中附有多頁,通過跟蹤預設標識,當使用者翻動小冊子至下一頁時,虛擬小冊子會對應地顯示此頁面內容。在此場景下,虛擬小冊子和實體的小冊子的頁數是需要一致的。不過,通過手勢識別,可以降低對實體小冊子的頁數要求。當用戶執行翻頁手勢,可以觸發虛擬小冊子翻頁並顯示翻頁的過程和結果。因此,本方法可以支持用戶通過操作最少一頁的實體小冊子來在虛擬環境模擬出流覽一本無限頁數的虛擬小冊子。If there are multiple pages in this booklet, by tracking the preset logo, when the user flips the booklet to the next page, the virtual booklet will display the contents of this page accordingly. In this scenario, the page numbers of the virtual booklet and the physical booklet need to be consistent. However, gesture recognition can reduce the number of pages required for physical booklets. When the user performs a page turning gesture, the page turning of the virtual booklet can be triggered and the process and result of page turning can be displayed. Therefore, this method can support users to simulate browsing an unlimited number of virtual brochures in a virtual environment by operating a physical brochure of at least one page.

除了顯示一般在實體小冊子裡的文字和圖片內容外,多媒體內容(如動畫,視頻,聲音),3D內容和360虛擬實境內容都可以顯示在虛擬小冊子中,例如顯示在虛擬小冊子中或顯示在虛擬空間中對應虛擬小冊子的位置。通過手勢或其他控制設備對小冊子或對系統中的其他物體的互動操作,來顯示該內容,或進行該交互。In addition to displaying the text and pictures generally in the physical brochure, multimedia content (such as animation, video, sound), 3D content and 360 virtual reality content can be displayed in the virtual brochure, such as in a virtual brochure or in a virtual brochure The position in the virtual space corresponding to the virtual booklet. Use gestures or other control devices to interact with brochures or other objects in the system to display the content or perform the interaction.

第6圖示意性示出本發明示例性實施例中手部擋住小冊子上標識的示意圖。可以通過相機所獲取到的相片,來讀取小冊子上預設標識的唯一編碼(ID),和計算出小冊子相對於相機的位置及其朝向。FIG. 6 is a schematic diagram showing a hand blocking an identification on a booklet in an exemplary embodiment of the present invention. The photos obtained by the camera can be used to read the unique code (ID) of the preset identification on the booklet, and calculate the position of the booklet relative to the camera and its orientation.

通過這個模組中的電腦視覺跟蹤演算法,系統能追蹤到出現在相機中的目標物件,例如:小冊子,或者其他類似的物體。跟蹤演算法提取這個物體的關鍵特徵,如顏色,邊緣,紋理等。這是一個已經被深入研究的題目。為了提供一個高品質的混合現實系統,這個模組的跟蹤演算法需要能達到高精確度(如毫米級),在不同類型的物體(形狀,顏色,表面)和不同的週邊環境(如燈光,背景)都有高魯棒性表現,和高即時地(如達到60幀/秒)計算出結果。Through the computer vision tracking algorithm in this module, the system can track the target objects appearing in the camera, such as brochures or other similar objects. The tracking algorithm extracts key features of this object, such as color, edges, texture, etc. This is a subject that has been thoroughly studied. In order to provide a high-quality mixed reality system, the tracking algorithm of this module needs to be able to achieve high accuracy (such as millimeter level), in different types of objects (shape, color, surface) and different surrounding environments (such as lights, The background) has a high robustness performance, and the results are calculated in high real-time (such as up to 60 frames / second).

為了避免上述的種種問題,我們把一個已知的圖案附上或列印在預設交互物體上。根據這個已知的圖案,其物理大小,和相機的參數(如焦距,和鏡頭類型),我們可以通過幾何圖形學,計算出這個圖案相對於相機的位置及其朝向,再通過圖案相對於預設交互物體的位置及其朝向,來計算出物體相對於相機的位置及其朝向。In order to avoid the above problems, we attach or print a known pattern on a preset interactive object. Based on this known pattern, its physical size, and camera parameters (such as focal length, and lens type), we can use geometric graphics to calculate the position and orientation of this pattern relative to the camera, and then use the pattern relative to the Set the position and orientation of the interactive object to calculate the position and orientation of the object relative to the camera.

其中一種圖案的例子為,April Tag。利用現代高速的中央處理器和通用圖形處理器的高計算性能,圖案解碼和其位置計算都可以即時進行(如,少於1/60秒)。為了避免用戶暈眩和提供高刷新率(如60Hz),這種即時計算,在VR和AR(Augmented Reality,增強現實)系統中都是必須的。An example of such a pattern is April Tag. Utilizing the high computing performance of modern high-speed central processors and general-purpose graphics processors, pattern decoding and its position calculations can be performed in real time (eg, less than 1 / 60th of a second). In order to avoid user dizziness and provide a high refresh rate (such as 60Hz), such real-time calculation is necessary in VR and AR (Augmented Reality, Augmented Reality) systems.

此外,還存在其他可以提高跟蹤品質的手段,例如可以為預測法,用於預測下一步跟蹤的結果,用來提高系統的反應速度。或者也可以為平滑和緩衝法:用於通過前一段物體的移動資料,通過過濾或平滑雜訊的演算法,來降低由於跟蹤錯誤,物體的快速移動或其他拍攝圖片不良品質情況下的所產生的誤差。In addition, there are other methods that can improve the quality of tracking. For example, it can be a prediction method, which is used to predict the results of the next tracking and to improve the response speed of the system. Or it can also be the smoothing and buffering method: it is used to pass the movement data of the previous object and filter or smooth the noise algorithm to reduce the occurrence of tracking errors, rapid movement of the object or other poor picture quality. The error.

可以通過相機獲取到的相片,用來識別手的姿態及其位置。The photos that can be obtained by the camera are used to identify the hand gesture and its position.

手,是用戶和外界交互最自然的方法。這個系統包含一個手部位置跟蹤和手勢識別模組。Hands are the most natural way for users to interact with the outside world. This system includes a hand position tracking and gesture recognition module.

RGB相機可以用來捕獲2D的場景,因為其價格合適,是市面上最為廣泛使用的相機類型。手部位置和所述的跟蹤和識別,一般都需要通過背景分割和對其定位。不過,單單通過對2D相片中的資訊很難保證能獲取到高可靠的手部位置和手勢,因為1)手是非剛性(non-rigid)物體,2)不同人種的膚色和不同人群的皮膚紋理,3)不同環境裡的燈光情況,4)不同環境下背景物體的干擾。RGB cameras can be used to capture 2D scenes because they are affordable and are the most widely used camera type on the market. The hand position and the tracking and recognition described generally require background segmentation and positioning. However, it is difficult to obtain highly reliable hand positions and gestures by simply using the information in the 2D photos, because 1) the hands are non-rigid objects, 2) the skin color of different races and the skin of different people Texture, 3) lighting conditions in different environments, 4) interference of background objects in different environments.

不過,通過利用這個系統中的其他資訊,可以用來提高這方面的結果。當使用者和系統中的小冊子進行交互時,因為用戶的手是在小冊子上方操作,小冊子中的一個或一系列的預設標識會被移動中的手所阻擋,而使得預設標識的影像並非完整的影像。當系統中檢測出多個手部候選區域時,可以通過被阻擋的預設標識的影像和不同的候選手部位置是否有重疊來進行過濾。這比單單只有手部位置而沒有小冊子的預設標識阻擋資訊更能提供高可靠的跟蹤結果。However, other information in this system can be used to improve results in this regard. When the user interacts with the booklet in the system, because the user's hand is operated above the booklet, one or a series of preset logos in the booklet will be blocked by the moving hand, so that the image of the preset logo is not Full image. When multiple hand candidate regions are detected in the system, filtering can be performed based on whether the blocked preset image and different candidate hand positions overlap. This provides more reliable tracking results than the default logo blocking information with only the hand position and no booklet.

同時,在一實施例中,這個系統包括了一個能識別皮膚顏色的模型。不過,因為各人種的不同膚色特性,和不同的燈光環境,用戶可以選擇建立自己的皮膚色彩模型。以下描述這流程:Meanwhile, in one embodiment, the system includes a model capable of identifying skin color. However, because of the different skin color characteristics of different races and different lighting environments, users can choose to build their own skin color models. The following describes this process:

指導用戶帶上頭盔(HMD)和把小冊子放在頭盔相機的前方(如在前方的桌面上,或用手握住)。同時,系統通過編碼跟蹤模組來計算出小冊子的位置。Instruct the user to bring a helmet (HMD) and place the booklet in front of the helmet camera (such as on the front desk or hold it by hand). At the same time, the system calculates the position of the booklet through the coded tracking module.

頭盔裡顯示出在虛擬小冊子上方,會顯示出一塊區域,指導使用者把手覆蓋在其上方,並停留一段短的時間(如5秒)。The helmet is displayed above the virtual booklet, and an area is displayed to guide the user to cover his hand over it and stay for a short time (such as 5 seconds).

系統可以通過如覆蓋前後的顏色變動,或區域上的預設標識是否已經被蓋上等,來判斷手部是否已經在這塊區域上停留。The system can determine whether the hand has stayed on this area by, for example, the color change before and after the coverage, or whether the preset logo on the area has been covered.

在系統檢查到手部覆蓋在這塊區域後,通過顏色分割來獲取到手部的顏色範圍。利用這個資料,可以建立出一個根據顏色的準確手部分割模型。因為這模型是根據對使用者的膚色特性和所在環境而建立的。所以,能提高其後的手部分割的精確度。After the system detects that the hand is covered in this area, the color range of the hand is obtained through color segmentation. Using this information, an accurate hand segmentation model based on color can be established. Because this model is based on the user's skin color characteristics and environment. Therefore, the accuracy of subsequent hand segmentation can be improved.

第7圖~第11圖示意性示出本發明示例性實施例中手部校準過程的示意圖。參考第7圖~第11圖:7 to 11 are schematic diagrams schematically illustrating a hand calibration process in an exemplary embodiment of the present invention. Refer to Figures 7 to 11:

在第7圖中,引導用戶將手放置在小冊子上。In Figure 7, the user is guided to place his hand on the booklet.

在第8圖中,當用戶在小冊子上方移動手時,指示標記的顏色由紅色變為綠色。In FIG. 8, when the user moves his hand over the booklet, the color of the indication mark changes from red to green.

在第9圖中,要求用戶將手在小冊子上停留一會兒,計算過程在螢幕上顯示。In Figure 9, the user is asked to hold their hands on the brochure for a while, and the calculation process is displayed on the screen.

在第10圖中,手部定位過程將要完成,螢幕上顯示的手為白色。In Figure 10, the hand positioning process is about to be completed and the hand shown on the screen is white.

在第11圖中,手部定位完成,基於顏色的手部分割模型得到校準。In Figure 11, hand positioning is complete and the color-based hand segmentation model is calibrated.

另外,如果HMD帶有深度相機(RGB-Dcamera),手部分割和其三維位置結果可以通過RGB-D中,從帶有深度資訊的圖像直接獲取。In addition, if the HMD has a depth camera (RGB-Dcamera), the hand segmentation and its 3D position result can be directly obtained from the image with depth information through RGB-D.

在獲取手部分割的結果後,系統對手勢作出識別。手勢識別可以通過技術如等高線提取法或圖形分類器等實現。系統識別手勢後,會觸發相對命令,如翻頁或點開命令。After obtaining the results of the hand segmentation, the system recognizes the gesture. Gesture recognition can be achieved by techniques such as contour extraction or graphic classifiers. After the system recognizes a gesture, it will trigger a relative command, such as a page turning or clicking command.

為了區分開系統支援的手勢和使用者的一般手部活動,可以定義一啟動序列,規定使用者需根據設計的啟動序列來啟動手勢命令。在虛擬頭盔的螢幕上,使用者會獲得啟動過程中的回饋。In order to distinguish the gestures supported by the system from the general hand movements of the user, an activation sequence can be defined, requiring the user to activate gesture commands according to the designed activation sequence. On the screen of the virtual helmet, the user will get feedback during the startup process.

第12圖~第15圖示意性示出本發明示例性實施例中以手勢命令啟動或開啟物件的過程示意圖。12 to 15 schematically illustrate a process of starting or opening an object by using a gesture command in an exemplary embodiment of the present invention.

可以在虛擬小冊子中的頁面中心使使用者看到一個例如為拇指圖示或是其他形狀圖示的起指示作用的操作圖示。當虛擬小冊子對應實體小冊子的時候,為了啟動動作,用戶可以移動手指到小冊子中心,此時可以通過顯示一個綠色點來表示用戶手指的位置。The user can see a pointing operation icon such as a thumb icon or another shape icon in the center of the page in the virtual booklet. When the virtual booklet corresponds to the physical booklet, the user can move his finger to the center of the booklet to initiate the action. At this time, a green dot can be displayed to indicate the position of the user's finger.

作為啟動手勢命令的順序,首先可以要求使用者將手指在圖示位置停留一段預設時間。在螢幕上,可以在圖示位置顯示一個例如逐漸變完整的圓形或者環形,用以提示用戶還有多久可以移開手指以啟動或開啟物件。如果在此過程中使用者將手指移動至上述圖示位置的區域外,手勢命令將不會被啟動。As a sequence of starting a gesture command, the user may first be required to hold the finger at the position shown in the figure for a preset time. On the screen, a circle or a circle, for example, which gradually becomes complete can be displayed at the icon position to remind the user how long it is before he can remove his finger to activate or open the object. If the user moves his finger outside the area shown in the figure during this process, the gesture command will not be activated.

如果使用者遵守了啟動程式,動作將被啟動。此時,虛擬環境中可以顯示手指位置所對應的物件,例如圖片、照片、影片、聲音、3D立體物件等。If the user follows the startup procedure, the action will be initiated. At this time, objects corresponding to the position of the finger, such as pictures, photos, videos, sounds, 3D stereo objects, etc., can be displayed in the virtual environment.

第16圖~第21圖示意性示出本發明示例性實施例中模擬用戶翻頁的過程示意圖。16 to 21 schematically illustrate a process of simulating a user to turn pages in an exemplary embodiment of the present invention.

參考第16圖和第17圖,當使用者處於靜止狀態時,手指在小冊子的區域外。第17圖示出了在第16圖的狀態下顯示在使用者眼前的圖像。Referring to FIGS. 16 and 17, when the user is at rest, the finger is outside the area of the booklet. FIG. 17 shows an image displayed in front of the user in the state of FIG. 16.

參考第18圖和第19圖,當用戶想要翻到另一頁時,可以將手指或手部移動到小冊子的右邊沿。在螢幕上,對應地顯示頁面邊緣輕微翻動。Referring to FIGS. 18 and 19, when the user wants to turn to another page, he can move his finger or hand to the right edge of the booklet. On the screen, a slight flip of the page edge is displayed accordingly.

參考第20圖和第21圖,示出了用戶通過在一預設時間段將手指或手部移動到右邊來執行完整的啟動動作。Referring to FIG. 20 and FIG. 21, it is shown that the user performs a complete starting action by moving a finger or a hand to the right for a preset period of time.

由上述的第18圖至第21圖所例示,藉由監測小冊子上預設標識的影像,例如檢測預設標識的影像是否完整,可判斷使用者的手指或手部在一開始的狀態下是遮住小冊子右邊沿的預設標識(第18圖),而在最終狀態下使用者的手指或手部是遮住小冊子中間的預設標識(第21圖)。而藉由被遮住的預設標識的位置順序,可判斷使用者的手指或手部是由右往左移動,因此在虛擬世界中所顯示的虛擬小冊子可以執行由右至左的翻頁動作。As shown in Figures 18 to 21 above, by monitoring the image of the preset logo on the booklet, such as detecting whether the image of the preset logo is complete, it can be determined whether the user's finger or hand is in the initial state. Cover the preset mark on the right edge of the booklet (Figure 18), and in the final state, the user's finger or hand is a preset mark that covers the middle of the booklet (Figure 21). And by obscuring the position order of the preset markers, it can be determined that the user's finger or hand is moving from right to left, so the virtual booklet displayed in the virtual world can perform a page turning action from right to left .

上文所述的小冊子除了可以代表虛擬世界中的小冊子外,也可以代表其他元素或物件,同時,通過改變小冊子的姿態和對其所述的操作,可以進一步擴大它的功能。不但,可以用作小冊子中一些附加媒體(如雜誌中的小遊戲,教科書中的互動實驗),也可以成為不依賴于小冊子作為載體的一個獨立單元。以下列舉一些例子:In addition to the booklet in the virtual world, the booklet described above can also represent other elements or objects. At the same time, by changing the posture of the booklet and the operations described on it, its functions can be further expanded. Not only can it be used as some additional media in the booklet (such as mini games in magazines, interactive experiments in textbooks), but also it can be an independent unit that does not rely on the booklet as a carrier. Here are some examples:

教科書中互動實驗的操作面板(小冊子可以顯示為一個操作平面,內有按鈕和其他交互的工具);Operation panel for interactive experiments in textbooks (the booklet can be displayed as an operation plane with buttons and other interactive tools);

雜誌上的廣告小遊戲:如一個車的廣告,可以把小冊子模擬成駕駛盤(通過左右移動小冊子來模擬駕駛盤的左右擺動,前後移動作為車加速或減速。Advertising mini-games in magazines: Like a car advertisement, you can simulate a booklet as a steering wheel (by moving the booklet left and right to simulate the left and right swing of the steering wheel, the forward and backward movements are used to accelerate or decelerate the car.

第22圖~第27圖示意性示出了本示例實施方式中使用者選擇圖書的過程示意圖。22 to 27 schematically illustrate a process of selecting a book by a user in this exemplary embodiment.

首先,使用者可以通過手中持有的預設交互物體(圖書)作為選擇工具進入圖書選擇介面。其中,使用者可藉由預設的特定的手勢操作,或是使用HMD或預設交互物體上的按鍵或觸控面板進入圖書選擇介面。First, the user can enter the book selection interface through a preset interactive object (book) held in his hand as a selection tool. Among them, the user can enter the book selection interface by a preset specific gesture operation, or by using the keys on the HMD or a preset interactive object or a touch panel.

用戶可以將手中的圖書移動至靶心圖表書的顯示位置。這一步驟可以通過計算使用者與圖書的3D相對位置來實現。The user can move the book in his hand to the display position of the bullseye chart book. This step can be achieved by calculating the 3D relative position of the user and the book.

用戶可以將手中圖書的姿態轉換到HMD中虛擬靶心圖表書的姿態,並通過保持這個動作一段時間來確認這項選擇意圖。標記介面使用靶心圖表書封面替換原始圖書封面。The user can convert the pose of the book in his hand to the pose of the virtual bull's eye chart book in HMD and confirm this selection intention by holding this action for a while. The tagging interface replaces the original book cover with a bullseye chart book cover.

對應於以上方法實施例,本發明示例實施方式還提供一種虛擬實境交互裝置,可以用於執行以上方法實施例。Corresponding to the above method embodiments, the exemplary embodiment of the present invention further provides a virtual reality interaction device, which can be used to execute the above method embodiments.

第28圖是本發明示例實施方式的虛擬實境交互裝置的方框圖。參考第10圖,虛擬實境交互裝置300可以包括圖像採集模組302、標識識別模組304、手勢識別模組306以及圖像輸出模組308。FIG. 28 is a block diagram of a virtual reality interactive device according to an exemplary embodiment of the present invention. Referring to FIG. 10, the virtual reality interactive device 300 may include an image acquisition module 302, a logo recognition module 304, a gesture recognition module 306, and an image output module 308.

圖像採集模組302可以用於持續獲取使用者面前的圖像資訊,例如相機。The image acquisition module 302 may be configured to continuously acquire image information in front of a user, such as a camera.

標識識別模組304可以用於通過識別所述圖像資訊中的預設標識來識別預設交互物體,所述預設交互物體的表面具有一個或多個所述預設標識。The identification recognition module 304 may be configured to identify a preset interactive object by identifying a preset identification in the image information, and a surface of the preset interactive object has one or more of the preset identifications.

手勢識別模組306可以用於通過所述圖像資訊識別使用者的手部動作。The gesture recognition module 306 can be used to identify a user's hand movements through the image information.

圖像輸出模組308可以用於根據所述手部動作與所述預設交互物體的位置,在虛擬實境環境中模擬用戶對所述預設交互物體的交互動作。The image output module 308 may be configured to simulate a user's interaction with the preset interactive object in a virtual reality environment according to the position of the hand and the preset interactive object.

在示例性實施例中,所述識別預設交互物體可以包括識別所述預設交互物體的位置和/或表面狀態。In an exemplary embodiment, the identifying a preset interactive object may include identifying a position and / or a surface state of the preset interactive object.

在示例性實施例中,所述識別用戶的手部動作可以包括識別手部姿態和/或手部位置。In an exemplary embodiment, the identifying a user's hand motion may include identifying a hand gesture and / or a hand position.

在示例性實施例中,所述預設標識可以包括虛擬內容資訊,所述標識識別模組還用於識別所述虛擬內容資訊。In an exemplary embodiment, the preset identification may include virtual content information, and the identification identification module is further configured to identify the virtual content information.

在示例性實施例中,還可以包括:資料庫模組,用於記錄所述預設標識與所述虛擬內容資訊的對應關係。用來關聯小冊子上的預設標識的ID所對應顯示在HMD上的虛擬內容。In an exemplary embodiment, it may further include a database module for recording a correspondence between the preset identifier and the virtual content information. The virtual content displayed on the HMD corresponding to the ID of the preset identification on the booklet.

由於虛擬實境裝置300的各模組功能在對應的方法實施例中已詳細描述,本發明於此不再贅述。Since the functions of each module of the virtual reality device 300 have been described in detail in the corresponding method embodiments, the present invention will not repeat them here.

基於以上實施例,本發明還提供一種虛擬實境交互系統,可以包括:虛擬實境顯示裝置,用於對使用者顯示虛擬實境圖像;預設交互物體,用於輔助識別使用者的交互動作;以及,如上述實施例中所述的虛擬實境交互裝置。Based on the above embodiments, the present invention further provides a virtual reality interactive system, which may include: a virtual reality display device for displaying a virtual reality image to a user; a preset interactive object for assisting identification of the user's interaction Actions; and, a virtual reality interactive device as described in the above embodiment.

本發明的虛擬實境交互方法、裝置與系統通過辨識預設交互物體上的預設標識判斷預設交互物體的位置以及判斷使用者手部動作,準確地定位預設交互物體以及使用者手部與預設交互物體的相對位置關係,從而準確地在虛擬實境環境中類比使用者對真實物體的交互動作,改善了虛擬實境的用戶體驗。The virtual reality interaction method, device and system of the present invention determine the position of the preset interactive object and the user's hand motion by identifying the preset identifier on the preset interactive object, and accurately locate the preset interactive object and the user's hand The relative positional relationship with the preset interactive objects accurately simulates the user's interaction with real objects in the virtual reality environment, which improves the user experience of the virtual reality.

第29圖示意性示出本發明示例性實施例中另一種虛擬實境交互方法的流程圖。如第29圖所示,該虛擬實境交互方法400可以包括以下步驟。FIG. 29 schematically illustrates a flowchart of another virtual reality interaction method in an exemplary embodiment of the present invention. As shown in FIG. 29, the virtual reality interaction method 400 may include the following steps.

在步驟S402中,獲取預設交互物體的圖像資訊,所述預設交互物體的表面具有預設標識。In step S402, image information of a preset interactive object is acquired, and a surface of the preset interactive object has a preset identifier.

在示例性實施例中,所述預設交互物體可以為一柔性材料製成的書冊(又可以稱為“小冊子”,booklet),其可以包括至少一頁面,所述至少一頁面的表面具有多個所述預設標識(例如定位標籤tag)。In an exemplary embodiment, the preset interactive object may be a booklet (also referred to as a “booklet”) made of a flexible material, which may include at least one page, and the surface of the at least one page has multiple Each of the preset identifiers (for example, a positioning tag tag).

下面的實施例中以小冊子作為操作VR書籍的實物載體,是主要的交互工具。本發明下述實施例描述了在小冊子上的一組交互。In the following embodiments, booklets are used as a physical carrier for operating VR books, and are the main interactive tools. The following embodiments of the invention describe a set of interactions on a booklet.

在步驟S404中,根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數。In step S404, the image information is identified according to the preset identifier, and at least one parameter of the preset interactive object is acquired.

在示例性實施例中,所述至少一種參數包括所述預設交互物體的彎曲持續時間、彎曲方向、彎曲形狀等中的一種或者多種。In an exemplary embodiment, the at least one parameter includes one or more of a bending duration, a bending direction, a bending shape, and the like of the preset interactive object.

在示例性實施例中,根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數可以包括:選取所述至少一頁面上的多個所述預設標識中的第一標識和第二標識;根據所述第一標識和所述第二標識的位置座標分別獲取所述第一標識的第一法向量和所述第二標識的第二法向量;根據所述第一法向量和所述第二法向量確定所述第一標識和所述第二標識之間的夾角。In an exemplary embodiment, identifying the image information according to the preset identifier, and obtaining at least one parameter of the preset interactive object may include: selecting a plurality of the preset identifiers on the at least one page. The first identifier and the second identifier of the first identifier; obtain the first normal vector of the first identifier and the second normal vector of the second identifier according to the position coordinates of the first identifier and the second identifier; The first normal vector and the second normal vector determine an angle between the first identifier and the second identifier.

在步驟S406中,根據所述至少一種參數執行預設交交互操作。In step S406, a preset cross interaction operation is performed according to the at least one parameter.

在示例性實施例中,所述預設交交互操作包括向後翻頁、向前翻頁、連續向後翻頁、連續向前翻頁操作等中的一種或者多種。In an exemplary embodiment, the preset interaction operation includes one or more of page backward, page forward, continuous page backward, page forward continuously, and the like.

需要說明的是,雖然本發明實施例中以所述預設交互操作為翻頁控制為例進行說明,但本發明並不限定於此,可以根據識別的所述至少一種參數預先定義任意一種或者多種預設交交互操作,例如執行打開網頁、跳轉到下一個視頻等等。It should be noted that, although the preset interaction operation is described as an example of page turning control in the embodiment of the present invention, the present invention is not limited thereto, and any one of them may be defined in advance according to the identified at least one parameter or Various preset interactive operations, such as executing a web page, jumping to the next video, and so on.

在示例性實施例中,根據所述至少一種參數執行預設交交互操作包括:判斷所述夾角隨著時間變化的曲線是否落入預定義區域內;當所述夾角隨著時間變化的曲線落入所述預定義區域內時,執行一向後翻頁操作。In an exemplary embodiment, performing the preset cross-interaction operation according to the at least one parameter includes: judging whether the curve of the included angle changing with time falls within a predefined area; when the curve of the included angle changing with time falls When entering the predefined area, a page-back operation is performed.

在示例性實施例中,所述預定義區域由預定義的第一曲線和第二曲線以及所述第一曲線和所述第二曲線分別與時間軸的交點確定。In an exemplary embodiment, the predefined area is determined by a predefined first curve and a second curve, and an intersection point of the first curve and the second curve with a time axis, respectively.

在示例性實施例中,根據所述至少一種參數執行預設交交互操作包括:當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作。In an exemplary embodiment, performing a preset cross-interaction operation according to the at least one parameter includes performing a continuous page-back operation when the included angle is greater than a first threshold and the duration exceeds a preset time.

在示例性實施例中,當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作包括:當所述夾角大於等於所述第一閾值且小於第二閾值時,按照第一翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第二閾值且小於第三閾值時,按照第二翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第三閾值且小於第四閾值時,按照第三翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角小於所述第一閾值時,停止所述連續向後翻頁操作。In an exemplary embodiment, when the included angle is greater than the first threshold and the duration exceeds a preset time, performing a continuous page backward operation includes: when the included angle is greater than or equal to the first threshold and less than a second threshold , Performing the continuous backward page turning operation according to a first page turning animation speed; and / or when the included angle is greater than or equal to the second threshold value and less than a third threshold value, performing the continuous backward page turning speed according to a second page turning animation speed Page turning operation; and / or when the included angle is greater than or equal to the third threshold value and less than the fourth threshold value, the continuous page turning operation is performed at a third page turning animation speed; and / or when the included angle is less than the When the first threshold is specified, the continuous backward page turning operation is stopped.

下面通過第30圖-42對上述發明實施例進行舉例說明。下面的實施例中均以通過彎曲小冊子的頁面進行翻頁控制為例進行示例性說明。The embodiment of the above invention will be described by way of example in FIGS. 30-42. In the following embodiments, the page turning control by bending the pages of the booklet is taken as an example for illustrative description.

本發明實施例中,以該小冊子包括左右兩個頁面為例進行說明,且該左右兩個頁面相對的內側表面均列印有多個定位標籤。小冊子本身由柔性材料製成,因此它是可以形變的。在通常情況下,小冊子兩側頁面沒有形變,如第30圖。In the embodiment of the present invention, the booklet includes two pages on the left and right as an example for description, and a plurality of positioning labels are printed on opposite inner surfaces of the two pages on the left and right. The booklet itself is made of flexible material, so it can be deformed. Under normal circumstances, the pages on both sides of the booklet are not deformed, as shown in Figure 30.

在第30圖所示的小冊子一般狀態下,使用者可以通過手彎曲頁面。例如,當使用者將該小冊子右頁面向內彎曲時,如第31圖所示;當使用者將該小冊子左頁面向內彎曲時,如第32圖所示。In the general state of the booklet shown in Figure 30, the user can bend the page with his hand. For example, when the user bends the right page of the booklet inward, as shown in FIG. 31; when the user bends the left page of the booklet inward, as shown in FIG. 32.

由於該小冊子兩側頁面材料彈性較好,在離開手的作用時可以恢復原狀至如第30圖所示。Due to the good elasticity of the material on both sides of the booklet, it can return to its original state when it is removed from the hand, as shown in Figure 30.

小冊子的頁面發生彎曲時,其彎曲程度和彎曲角度都可以通過用攝像頭或相機或其他硬體設備檢測到。這種彎曲持續的時間、彎曲方向以及形狀等都可以分別或組合定義一種交交互操作。When a page of a booklet is bent, its bending degree and bending angle can be detected by using a camera or a camera or other hardware equipment. The duration, direction, and shape of this bending can be defined separately or in combination as an interactive operation.

當小冊子發生彎曲形變時,一部分定位標籤(tag)被遮擋,這些定位標籤的位置和法向量不能由空間幾何關係直接計算得到。由於小冊子上定位標籤的位置是預先確定的,並且小冊子的彎曲形變具有較大的限制,即變形自由度很低,因此可以通過頁面上的可見定位標籤的空間位置和法向量推斷其他不可見定位標籤的位置和法向量。When the booklet is bent and deformed, a part of the positioning tags are blocked. The positions and normal vectors of these positioning tags cannot be directly calculated from the spatial geometric relationship. Because the position of the positioning label on the booklet is predetermined, and the bending deformation of the booklet has a large limit, that is, the degree of freedom of deformation is very low, you can infer other invisible positioning from the spatial position and normal vector of the visible positioning label on the page Label position and normal vector.

第33圖示意性示出本發明示例性實施例中另一種小冊子右頁面被向內彎曲的示意圖。FIG. 33 is a schematic diagram illustrating that a right page of another booklet is bent inward in an exemplary embodiment of the present invention.

例如,當小冊子發生如第33圖所示的彎曲形變的時候,右頁面內側三個定位標籤不能被攝像頭捕捉。但是可以通過左頁面可見定位標籤的位置和右頁面可見定位標籤的位置和法向量推測右頁面上的這些不可見標籤的空間位置和法向量。For example, when the booklet is bent and deformed as shown in FIG. 33, the three positioning labels on the inner side of the right page cannot be captured by the camera. However, the spatial positions and normal vectors of these invisible tags on the right page can be inferred from the positions of the visible positioning tags on the left page and the positions and normal vectors of the visible positioning tags on the right page.

第34圖示意性示出本發明示例性實施例中小冊子上的定位標籤的法向量的示意圖。FIG. 34 is a schematic diagram schematically illustrating a normal vector of a positioning label on a booklet in an exemplary embodiment of the present invention.

本發明實施例中,假設利用VR的前置攝像頭可以獲取用戶手持booklet的即時圖像(如第34圖所示)。利用空間幾何關係,可以計算出圖中每個定位標籤(tag)相對於攝像頭的空間位置P=和法向量方向N=,攝像頭的空間位置由VR系統提供。那麼,可以計算出第i個定位標籤在世界座標中的位置和法向量In the embodiment of the present invention, it is assumed that a real-time image of a booklet held by a user can be obtained by using a VR front camera (as shown in FIG. 34). Using the spatial geometric relationship, the spatial position of each positioning tag (tag) relative to the camera can be calculated. And normal vector direction N = The spatial position of the camera is provided by the VR system. Then, the position of the i-th positioning label in the world coordinates can be calculated And normal vector .

這裡假設定位標籤上,可見面朝外的方向定義為該定位標籤的法向量方向。如第34圖所示。It is assumed here that the orientation of the visible side of the positioning label is defined as the normal vector direction of the positioning label. As shown in Figure 34.

其中假設:Which assumes:

1.VR系統提供的HMD在世界座標的位置為,在世界座標中的旋轉姿態為1.The position of the HMD provided by the VR system in the world coordinates is , The rotation pose in world coordinates is .

2.攝像頭相對於HMD的位置和姿態分別為2.The position and attitude of the camera relative to the HMD are with .

3.第i個定位標籤相對於攝像頭的位置和姿態分別為(定位標籤相對於攝像頭空間的位置和姿態的計算在行業中有現有的演算法,在此不再贅述)。3.The position and attitude of the i-th positioning tag relative to the camera are with (The calculation of the position and attitude of the positioning tag relative to the camera space has existing algorithms in the industry, and is not repeated here.

那麼,第i個定位標籤在世界坐標系中的位置和姿態分別為: Then, the position and attitude of the i-th positioning label in the world coordinate system are:

在得到第i個定位標籤的姿態後,可以得到第i個定位標籤的法向量 After obtaining the pose of the i-th positioning label, the normal vector of the i-th positioning label can be obtained :

其中為定位標籤的位置和姿態分別為時的法向量。among them The position and posture of the positioning labels are with Time normal vector.

第35圖示意性示出本發明示例性實施例中第一標識的第一法向量和第二標識的第二法向量的示意圖。FIG. 35 schematically illustrates a first normal vector of a first identifier and a second normal vector of a second identifier in an exemplary embodiment of the present invention.

如第35圖所示,選取位置如第35圖所示的兩個定位標籤,其法向量分別為As shown in FIG. 35, two positioning labels whose positions are shown in FIG. 35 are selected, and their normal vectors are with .

第35圖的實施例中選擇了小冊子右頁面上最左一列三個定位標籤中的中間那個不可見定位標籤作為所述第一標識,同時選擇了小冊子右頁面上最右一列三個定位標籤中的中間那個可見定位標籤作為所述第二標識,這樣選擇的好處是,同一頁面上,當該頁面發生彎曲形變時,最左列和最右列的兩個定位標籤的法向量之間的夾角變化最明顯,有利於識別該夾角的變化程度。In the embodiment of FIG. 35, the middle invisible positioning tag among the three leftmost columns on the right page of the booklet is selected as the first identification, and among the three positioning tags on the rightmost column of the right page of the brochure, The visible positioning label in the middle is used as the second identifier. The advantage of this selection is that, on the same page, when the page is bent and deformed, the angle between the normal vectors of the two positioning labels in the leftmost column and the rightmost column. The most obvious change is helpful to identify the degree of change of the included angle.

但是,本發明並不限定於此,在其他實施例中,可以選擇發生彎曲形變的同一頁面上的任意兩個定位標籤作為所述第一標識和所述第二標識。However, the present invention is not limited to this. In other embodiments, any two positioning tags on the same page where bending deformation occurs may be selected as the first identifier and the second identifier.

第36圖示意性示出本發明示例性實施例中一種右頁面隨時間發生彎曲變形的示意圖。FIG. 36 is a schematic diagram illustrating that a right page is bent and deformed with time in an exemplary embodiment of the present invention.

在第36圖所示的實施例中,以上述第35圖所選擇的第一法向量和第二法向量之間的夾角來定義右頁面隨時間發生彎曲形變的程度和方向。In the embodiment shown in FIG. 36, an angle between the first normal vector and the second normal vector selected in the foregoing FIG. 35 is used to define a degree and a direction in which the right page is bent and deformed over time.

第37圖示意性示出基於第36圖的第一法向量和第二法向量之間的夾角隨時間變化的示意圖。FIG. 37 is a schematic diagram showing the change in the angle between the first normal vector and the second normal vector based on FIG. 36 over time.

假設上述第一法向量和第二法向量之間的夾角記為隨時間變化的函數記為。例如,當頁面隨時間發生如第36圖所示的變化時,的形態如第37圖所示。Assume the above first normal vector And the second normal vector The angle between them is recorded as . The function over time is written as . For example, when the page changes over time as shown in Figure 36, The shape is shown in Figure 37.

在一些實施例中,可以預先定義如第36圖的將右頁面向內彎曲為一個向後翻頁(go to next page)操作。但本發明並不限定於此。In some embodiments, the operation of bending the right page inward into a go to next page operation as shown in FIG. 36 may be predefined. However, the present invention is not limited to this.

第38圖示意性示出本發明實施例中第37圖所示的夾角曲線落入預定義區域內的一種示意圖。FIG. 38 is a schematic diagram showing that the included angle curve shown in FIG. 37 falls within a predefined area in the embodiment of the present invention.

第38圖的實施例中,當第37圖所示的的曲線如果落在和線段t1 t2 所包圍的預定義區域中時,可以定義一個向後翻頁操作。In the embodiment of FIG. 38, when the If the curve falls in , When in a predefined area surrounded by line segments t 1 t 2 , you can define a page backward operation.

其中的可取值範圍為[0,180]度。本發明實施例中假設=10。表示當頁面彎曲角度時開始檢查後續操作是否滿足一個翻頁動作。當時,不作判斷。這是為了避免一些細微的動作導致頁面發生輕微的角度變化引起誤操作。among them The value range of can be [0,180] degrees. It is assumed in the embodiments of the present invention = 10. When the page is bent To Begin to check whether subsequent operations meet a page turning action. when No judgment is made. This is to avoid some slight movements that cause the page to change slightly and cause misoperation.

其中t1 定義了作為翻頁操作的頁面彎曲持續的最短時間,可取值範圍是[0,60]秒,本發明實施例中取t1 =0.1s。Among them, t 1 defines the minimum duration of page bending as a page turning operation, and the range of values can be [0,60] seconds. In the embodiment of the present invention, t 1 = 0.1 s.

其中t2 定義了作為翻頁操作的頁面彎曲持續的最長時間,可取值範圍是[t1 ,60]秒,本發明實施例中取t2 =1s。Among them, t 2 defines the maximum time for page bending as a page turning operation, and the range of values can be [t 1 , 60] seconds. In the embodiment of the present invention, t 2 = 1 s.

本發明實施例中,可以如下公式所示:In the embodiment of the present invention, It can be represented by the following formula: ,

其中可取值範圍為[,180]度。本發明實施例中,=15度。among them Possible values are [ ,180 degree. In the embodiment of the present invention, = 15 degrees.

本發明實施例中,可以如下公式所示:In the embodiment of the present invention, It can be represented by the following formula: ,

其中可取值範圍為[,180]度。本發明實施例中,=45度。among them Possible values are [ ,180 degree. In the embodiment of the present invention, = 45 degrees.

第39圖示意性示出本發明實施例中夾角曲線落入預定義區域內的另一種示意圖。FIG. 39 schematically illustrates another schematic diagram of an included angle curve falling into a predefined area in the embodiment of the present invention.

如第39圖所示,其中還是為第一法向量和第二法向量之間的夾角。區域R(OE1 E2 O)為預先定義的區域。當翻頁過程頁面彎曲夾角曲線在區域R中並與直線相交時,則觸發一次向後翻頁操作。例如曲線As shown in Figure 39, where Still the first normal vector And the second normal vector Angle between. The area R (OE 1 E 2 O) is a predefined area. When the page turns, the page bends the included angle curve in the region R and When they intersect, a page backward operation is triggered. E.g. curve .

在一些實施例中,還可以預先定義將小冊子左頁面向內彎曲滿足一定條件時,觸發一次向前翻頁操作(go to previous page),其實現過程可以參考上述與向後翻頁操作,在此不再贅述。In some embodiments, when the left page of the booklet is bent inward to meet certain conditions, a go to previous page operation can be triggered. The implementation process can refer to the above and back page operations. No longer.

第40圖示意性示出本發明實施例中一種執行連續向後翻頁操作的示意圖。FIG. 40 schematically illustrates a schematic diagram of performing a continuous backward page turning operation in an embodiment of the present invention.

如第40圖所示,可以預先定義將小冊子的右頁面向內彎曲滿足一定條件時,觸發一次連續向後翻頁操作(也可以稱為快速向後翻頁,quick flip forward)。此外,還可以預先定義右頁面向內彎曲的角度滿足一定條件時,增加/保持/減少翻頁速度或者停止翻頁。As shown in Figure 40, when the right page of the booklet is bent inward to meet certain conditions, a continuous page turning operation can be triggered (also called quick flip forward). In addition, it is also possible to define in advance that the rightward bending angle of the right page satisfies a certain condition, and increases / maintains / decreases the page turning speed or stops page turning.

本發明實施例中,設定當且持續超過秒時,開始持續進行翻頁動畫,的取值範圍可以為[0.01,100]秒。本發明實施例中取=1s。In the embodiment of the present invention, when And continued to exceed At seconds, the page turning animation starts continuously, The value can be in the range of [0.01, 100] seconds. In the embodiment of the present invention, = 1s.

時,設定翻頁動畫速度S1 page/s。其中的取值範圍可以是[,180]度;的取值範圍可以是[0,180]度;的取值範圍可以是[,180]度。when , Set the page turning animation speed S 1 page / s. among them The value range can be [ ,180 degree; The value range can be [0,180] degrees; The value range can be [ ,180 degree.

時,設定翻頁動畫速度S2 page/s。其中的取值範圍可以是[,180]度。when , Set the page turning animation speed S 2 page / s. among them The value range can be [ ,180 degree.

本發明實施例中,=10度,=30度,=60度,=90度。但本發明並不限定於此。In the embodiment of the present invention, = 10 degrees, = 30 degrees, = 60 degrees, = 90 degrees. However, the present invention is not limited to this.

時,設定翻頁動畫速度S3 page/s。when , Set the page turning animation speed S 3 page / s.

時,設定為停止連續向後翻頁操作。when , Set to stop continuous page-back operation.

其中S1 的取值範圍可以是[1,100]。S2 的取值範圍可以是[S1 ,100]。S3 的取值範圍可以是[S2 ,100]。The value range of S 1 can be [1,100]. The value range of S 2 can be [S 1 , 100]. The value range of S 3 can be [S 2 , 100].

本發明實施例中,S1 =1,S2 =3,S3 =5。In the embodiment of the present invention, S 1 = 1, S 2 = 3, and S 3 = 5.

需要說明的是,上述角度、翻頁速度、翻頁時間的取值和取值範圍均可以根據具體應用場合的需要進行靈活調整和選擇,並不限於所例舉的數值。此外,連續向後翻頁操作的觸發、停止以及翻頁速度的增加、保持、減少均是可以根據具體需要進行設置的。It should be noted that the values and ranges of the angle, page turning speed, and page turning time can be flexibly adjusted and selected according to the needs of specific applications, and are not limited to the values exemplified. In addition, the triggering, stopping, and increasing, maintaining, and decreasing of page turning speed can be set according to specific needs.

第41圖示意性示出本發明實施例中一種執行連續向後翻頁操作時夾角曲線的示意圖。FIG. 41 is a schematic diagram illustrating an included angle curve when a continuous page-back operation is performed in an embodiment of the present invention.

基於第40圖所示的,假設選取的兩個定位標籤的法向量之間的夾角形態如第41圖所示。Based on Figure 40, the angle between the normal vectors of the two positioning labels is assumed. The form is shown in Figure 41.

當在t1 時刻,並且持續=1s後,在時刻ts =t1 +時啟動快速翻頁動畫;When at time t 1 And continue = 1s, at time t s = t 1 + Quick page turning animation when started;

在ts 到t2 時,,翻頁動畫速度為1 page /s;From t s to t 2 , , Page turning animation speed is 1 page / s;

在t2 到t3 時,,翻頁動畫速度 3 page /s;From t 2 to t 3 , , Page turning animation speed 3 page / s;

在t3 到t4 時,,翻頁動畫速度 5 page /s;From t 3 to t 4 , , Page turning animation speed 5 page / s;

在t4 到t5 時,,翻頁動畫速度 3 page /s;Between t 4 and t 5 , , Page turning animation speed 3 page / s;

在t5 到t6 時,,翻頁動畫速度 1 page /s;From t 5 to t 6 , , Page turning animation speed 1 page / s;

在t6 到t7 時,,翻頁動畫速度 3 page /s;From t 6 to t 7 , , Page turning animation speed 3 page / s;

在t7 到t8 時,,翻頁動畫速度 5 page /s;From t 7 to t 8 , , Page turning animation speed 5 page / s;

在t8 到t9 時,,翻頁動畫速度 3 page /s;From t 8 to t 9 , , Page turning animation speed 3 page / s;

在t9 到t10 時,,翻頁動畫速度 1 page /s;Between t 9 and t 10 , , Page turning animation speed 1 page / s;

在t> t10 時,,翻頁動畫停止。When t> t 10 , , The page turning animation stops.

第42圖示意性示出本發明實施例中另一種執行連續向後翻頁操作時夾角曲線的示意圖。FIG. 42 is a schematic diagram illustrating an included angle curve when performing a continuous backward page turning operation in another embodiment of the present invention.

如第42圖所示,當時,翻頁動畫速度可以為1 page/s;As shown in Figure 42, when , The page turning animation speed can be 1 page / s;

時,翻頁動畫速度可以為3page/s;when , The page turning animation speed can be 3page / s;

時,翻頁動畫速度可以為5page/s;when , Page turning animation speed can be 5page / s;

時,停止翻頁動畫。when , Stop page turning animation.

在另一些實施例中,還可以定義將小冊子的左頁面進行彎曲並滿足預設條件時,觸發一連續向前翻頁操作(快速向前翻頁,quick flip backward),具體的實現可以參考上述的連續向後翻頁操作,在此不再贅述。In other embodiments, it can also be defined that when the left page of the booklet is bent and meets the preset conditions, a continuous forward page turning operation (quick flip backward) can be triggered. For specific implementation, refer to the above. The continuous page-back operation is not repeated here.

第43圖示意性示出本發明示例性實施例中另一種虛擬實境交互裝置的方框圖。FIG. 43 schematically illustrates a block diagram of another virtual reality interactive device in an exemplary embodiment of the present invention.

如第43圖所示,該虛擬實境交互裝置500可以包括圖像採集模組502、參數獲取模組504以及交互執行模組506。As shown in FIG. 43, the virtual reality interactive device 500 may include an image acquisition module 502, a parameter acquisition module 504, and an interactive execution module 506.

圖像採集模組502可以用於獲取預設交互物體的圖像資訊,所述預設交互物體的表面具有預設標識。The image acquisition module 502 may be configured to obtain image information of a preset interactive object, and a surface of the preset interactive object has a preset identifier.

參數獲取模組504可以用於根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數。The parameter acquisition module 504 may be configured to identify the image information according to the preset identifier and acquire at least one parameter of the preset interactive object.

交互執行模組506可以用於根據所述至少一種參數執行預設交交互操作。The interaction execution module 506 may be configured to perform a preset interaction operation according to the at least one parameter.

由於虛擬顯示交互裝置500的各模組功能在對應的方法實施例中已詳細描述,本發明實施例於此不再贅述。Since the functions of each module of the virtual display interactive device 500 have been described in detail in the corresponding method embodiments, the embodiments of the present invention will not be repeated here.

應當注意,儘管在上文詳細描述中提及了用於動作執行的設備的若干模組或者單元,但是這種劃分並非強制性的。實際上,根據本發明的實施方式,上文描述的兩個或更多模組或者單元的特徵和功能可以在一個模組或者單元中具體化。反之,上文描述的一個模組或者單元的特徵和功能可以進一步劃分為由多個模組或者單元來具體化。It should be noted that although several modules or units of the device for performing actions are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiment of the present invention, the features and functions of the two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.

此外,儘管在附圖中以特定順序描述了本發明中方法的各個步驟,但是,這並非要求或者暗示必須按照該特定順序來執行這些步驟,或是必須執行全部所示的步驟才能實現期望的結果。附加的或備選的,可以省略某些步驟,將多個步驟合併為一個步驟執行,以及/或者將一個步驟分解為多個步驟執行等。Furthermore, although the various steps of the method of the present invention are described in a specific order in the drawings, this does not require or imply that the steps must be performed in that specific order or that all steps shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be split into multiple steps for execution, and so on.

第44圖示意性示出本發明示例性實施例中一種電子設備的結構示意圖。FIG. 44 schematically illustrates a structural diagram of an electronic device in an exemplary embodiment of the present invention.

下面參考第44圖,其示出了適於用來實現本申請實施例的電子設備600的結構示意圖。第44圖示出的電子設備僅僅是一個示例,不應對本申請實施例的功能和使用範圍帶來任何限制。Reference is made to FIG. 44, which illustrates a schematic structural diagram of an electronic device 600 suitable for implementing the embodiment of the present application. The electronic device shown in FIG. 44 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present application.

如第44圖所示,電子設備600包括中央處理單元(CPU)601,其可以根據存儲在唯讀記憶體(ROM)602中的程式或者從存儲部分608載入到隨機訪問記憶體(RAM)603中的程式而執行各種適當的動作和處理。在RAM 603中,還存儲有系統600操作所需的各種程式和資料。CPU 601、ROM 602以及RAM 603通過匯流排604彼此相連。輸入/輸出(I/O)介面605也連接至匯流排604。As shown in FIG. 44, the electronic device 600 includes a central processing unit (CPU) 601 that can be loaded into a random access memory (RAM) according to a program stored in a read-only memory (ROM) 602 or from a storage portion 608 The program in 603 performs various appropriate actions and processes. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

以下部件連接至I/O介面605:包括鍵盤、滑鼠等的輸入部分606;包括諸如陰極射線管(CRT)、液晶顯示器(LCD)等以及揚聲器等的輸出部分607;包括硬碟等的存儲部分608;以及包括諸如LAN卡、數據機等的網路介面卡的通信部分609。通信部分609經由諸如網際網路的網路執行通信處理。驅動器610也根據需要連接至I/O介面605。可拆卸介質611,諸如磁片、光碟、磁光碟、半導體記憶體等等,根據需要安裝在驅動器610上,以便於從其上讀出的電腦程式根據需要被安裝入存儲部分608。The following components are connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, etc .; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc .; and a speaker; and a storage including a hard disk, etc. Portion 608; and a communication portion 609 including a network interface card such as a LAN card, a modem, and the like. The communication section 609 performs communication processing via a network such as the Internet. The driver 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read from it is installed into the storage section 608 as needed.

特別地,根據本發明的實施例,上文參考流程圖描述的過程可以被實現為電腦軟體程式。例如,本發明的實施例包括一種電腦程式產品,其包括承載在電腦可讀介質上的電腦程式,該電腦程式包含用於執行流程圖所示的方法的程式碼。在這樣的實施例中,該電腦程式可以通過通信部分609從網路上被下載和安裝,和/或從可拆卸介質611被安裝。在該電腦程式被中央處理單元(CPU)601執行時,執行本申請的系統中限定的上述功能。In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart may be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product including a computer program borne on a computer-readable medium, the computer program including code for executing a method shown in a flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication section 609, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.

附圖中的流程圖和框圖,圖示了按照本申請各種實施例的系統、方法和電腦程式產品的可能實現的體系架構、功能和操作。在這點上,流程圖或框圖中的每個方框可以代表一個模組、程式段、或代碼的一部分,上述模組、程式段、或代碼的一部分包含一個或多個用於實現規定的邏輯功能的可執行指令。也應當注意,在有些作為替換的實現中,方框中所標注的功能也可以以不同於附圖中所標注的順序發生。例如,兩個接連地表示的方框實際上可以基本並行地執行,它們有時也可以按相反的循序執行,這依所涉及的功能而定。也要注意的是,框圖或流程圖中的每個方框、以及框圖或流程圖中的方框的組合,可以用執行規定的功能或操作的專用的基於硬體的系統來實現,或者可以用專用硬體與電腦指令的組合來實現。The flowchart and block diagrams in the accompanying drawings illustrate the system architecture, functions, and operations of a system, method, and computer program product according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more components for implementing a requirement Executable instructions for logic functions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than those marked in the drawings. For example, two successively represented boxes may actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs a specified function or operation, Or it can be implemented with a combination of dedicated hardware and computer instructions.

描述於本申請實施例中所涉及到的單元可以通過軟體的方式實現,也可以通過硬體的方式來實現。所描述的單元也可以設置在處理器中,例如,可以描述為:一種處理器包括發送單元、獲取單元、確定單元和第一處理單元。其中,這些單元的名稱在某種情況下並不構成對該單元本身的限定,例如,發送單元還可以被描述為“向所連接的服務端發送圖片獲取請求的單元”。The units described in the embodiments of the present application can be implemented by software, and can also be implemented by hardware. The described unit may also be provided in a processor, for example, it may be described as: a processor includes a sending unit, an obtaining unit, a determining unit, and a first processing unit. The name of these units does not constitute a limitation on the unit itself in some cases. For example, the sending unit can also be described as a "unit that sends a picture acquisition request to a connected server".

作為另一方面,本申請還提供了一種電腦可讀介質,該電腦可讀介質可以是上述實施例中描述的設備中所包含的;也可以是單獨存在,而未裝配入該設備中。上述電腦可讀介質承載有一個或者多個程式,當上述一個或者多個程式被一個該設備執行時,使得該設備包括:持續獲取使用者面前的圖像資訊;通過識別所述圖像資訊中的預設標識來識別預設交互物體,所述預設交互物體的表面具有一個或多個所述預設標識;通過所述圖像資訊識別使用者的手部動作;根據所述手部動作與所述預設交互物體的位置,在虛擬實境環境中模擬用戶對所述預設交互物體的交互動作。As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiments; or may exist alone without being assembled into the device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by one of the devices, the device includes: continuously acquiring image information in front of a user; by identifying the image information To identify a preset interactive object, and the surface of the preset interactive object has one or more of the preset identifiers; identify a user's hand motion through the image information; and according to the hand motion With the position of the preset interactive object, a user's interaction with the preset interactive object is simulated in a virtual reality environment.

作為另一方面,本申請還提供了另一種電腦可讀介質,該電腦可讀介質可以是上述實施例中描述的設備中所包含的;也可以是單獨存在,而未裝配入該設備中。上述電腦可讀介質承載有一個或者多個程式,當上述一個或者多個程式被一個該設備執行時,使得該設備包括:獲取預設交互物體的圖像資訊,所述預設交互物體的表面具有預設標識;根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數;根據所述至少一種參數執行預設交交互操作。As another aspect, the present application also provides another computer-readable medium, which may be included in the device described in the foregoing embodiments; or may exist alone without being assembled into the device. The computer-readable medium carries one or more programs. When the one or more programs are executed by one device, the device includes: obtaining image information of a preset interactive object, and a surface of the preset interactive object. Having a preset identifier; identifying the image information according to the preset identifier, obtaining at least one parameter of the preset interactive object; and performing a preset cross-interaction operation according to the at least one parameter.

本領域技術人員在考慮說明書及實踐這裡公開的發明後,將容易想到本發明的其它實施方案。本申請旨在涵蓋本發明的任何變型、用途或者適應性變化,這些變型、用途或者適應性變化遵循本發明的一般性原理並包括本發明未公開的本技術領域中的公知常識或慣用技術手段。說明書和實施例僅被視為示例性的,本發明的真正範圍和精神由所附的申請專利範圍指出。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。Those skilled in the art will readily think of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the present invention. These variations, uses, or adaptations follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed by the present invention. . It is intended that the specification and examples be considered as exemplary only, with the true scope and spirit of the invention being indicated by the appended claims. The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the scope of patent application of the present invention shall fall within the scope of the present invention.

100‧‧‧虛擬實境交互方法 100‧‧‧Virtual Reality Interaction Method

S102、S104、S106、S108‧‧‧步驟 S102, S104, S106, S108 ‧‧‧ steps

202‧‧‧虛擬實境顯示裝置 202‧‧‧Virtual Reality Display Device

204‧‧‧圖像獲取裝置 204‧‧‧Image acquisition device

300‧‧‧虛擬實境交互裝置 300‧‧‧Virtual Reality Interactive Device

302‧‧‧圖像採集模組 302‧‧‧Image Acquisition Module

304‧‧‧標識識別模組 304‧‧‧Sign Identification Module

306‧‧‧手勢識別模組 306‧‧‧Gesture Recognition Module

308‧‧‧圖像輸出模組 308‧‧‧Image Output Module

400‧‧‧虛擬實境交互方法 400‧‧‧Virtual Reality Interaction Method

S402、S404、S406‧‧‧步驟 S402, S404, S406‧‧‧ steps

500‧‧‧虛擬實境交互裝置 500‧‧‧Virtual Reality Interactive Device

502‧‧‧圖像採集模組 502‧‧‧Image Acquisition Module

504‧‧‧參數獲取模組 504‧‧‧Parameter acquisition module

506‧‧‧交互執行模組 506‧‧‧Interactive execution module

600‧‧‧電子設備 600‧‧‧Electronic equipment

601‧‧‧中央處理單元 601‧‧‧Central Processing Unit

602‧‧‧唯讀記憶體 602‧‧‧Read Only Memory

603‧‧‧隨機訪問記憶體 603‧‧‧ Random Access Memory

604‧‧‧匯流排 604‧‧‧Bus

605‧‧‧I/O介面 605‧‧‧I / O interface

606‧‧‧輸入部分 606‧‧‧ Input section

607‧‧‧輸出部分 607‧‧‧Output section

608‧‧‧存儲部分 608‧‧‧Storage section

609‧‧‧通信部分 609‧‧‧Communication section

610‧‧‧驅動器 610‧‧‧Driver

611‧‧‧可拆卸介質 611‧‧‧ removable media

第1圖示意性示出本發明示例性實施例中一種虛擬實境交互方法的流程圖。 第2圖示意性示出本發明示例性實施例中一種虛擬實境頭盔的示意圖。 第3圖示意性示出本發明示例性實施例中一種預設標識的示意圖。 第4圖示意性示出本發明示例性實施例中一種單頁小冊子的示意圖。 第5圖示意性示出本發明示例性實施例中一種多頁小冊子的示意圖。 第6圖示意性示出本發明示例性實施例中手部擋住小冊子上標識的示意圖。 第7圖~第11圖示意性示出本發明示例性實施例中手部校準過程的示意圖。 第12圖~第15圖示意性示出本發明示例性實施例中啟動手勢命令的過程示意圖。 第16圖~第21圖示意性示出本發明示例性實施例中模擬用戶翻頁的過程示意圖。 第22圖~第27圖示意性示出了本發明示例實施方式中使用者選擇圖書的過程示意圖。 第28圖示意性示出本發明示例性實施例中一種虛擬實境交互裝置的方框圖。 第29圖示意性示出本發明示例性實施例中另一種虛擬實境交互方法的流程圖。 第30圖示意性示出本發明示例性實施例中一種小冊子一般狀態的示意圖。 第31圖示意性示出本發明示例性實施例中一種小冊子右頁面被向內彎曲的示意圖。 第32圖示意性示出本發明示例性實施例中一種小冊子左頁面被向內彎曲的示意圖。 第33圖示意性示出本發明示例性實施例中另一種小冊子右頁面被向內彎曲的示意圖。 第34圖示意性示出本發明示例性實施例中小冊子上的定位標籤的法向量的示意圖。 第35圖示意性示出本發明示例性實施例中第一標識的第一法向量和第二標識的第二法向量的示意圖。 第36圖示意性示出本發明示例性實施例中一種右頁面隨時間發生彎曲變形的示意圖。 第37圖示意性示出基於第36圖的第一法向量和第二法向量之間的夾角隨時間變化的示意圖。 第38圖示意性示出本發明實施例中第37圖所示的夾角曲線落入預定義區域內的一種示意圖。 第39圖示意性示出本發明實施例中夾角曲線落入預定義區域內的另一種示意圖。 第40圖示意性示出本發明實施例中一種執行連續向後翻頁操作的示意圖。 第41圖示意性示出本發明實施例中一種執行連續向後翻頁操作時夾角曲線的示意圖。 第42圖示意性示出本發明實施例中另一種執行連續向後翻頁操作時夾角曲線的示意圖。 第43圖示意性示出本發明示例性實施例中另一種虛擬實境交互裝置的方框圖。 第44圖示意性示出本發明示例性實施例中一種電子設備的結構示意圖。FIG. 1 schematically illustrates a flowchart of a virtual reality interaction method in an exemplary embodiment of the present invention. FIG. 2 is a schematic diagram of a virtual reality helmet in an exemplary embodiment of the present invention. FIG. 3 is a schematic diagram illustrating a preset identifier in an exemplary embodiment of the present invention. FIG. 4 schematically illustrates a single-page booklet in an exemplary embodiment of the present invention. FIG. 5 schematically illustrates a multi-page booklet in an exemplary embodiment of the present invention. FIG. 6 is a schematic diagram showing a hand blocking an identification on a booklet in an exemplary embodiment of the present invention. 7 to 11 are schematic diagrams schematically illustrating a hand calibration process in an exemplary embodiment of the present invention. 12 to 15 schematically illustrate a process of starting a gesture command in an exemplary embodiment of the present invention. 16 to 21 schematically illustrate a process of simulating a user to turn pages in an exemplary embodiment of the present invention. 22 to 27 schematically illustrate a process of selecting a book by a user in an exemplary embodiment of the present invention. FIG. 28 schematically illustrates a block diagram of a virtual reality interactive device in an exemplary embodiment of the present invention. FIG. 29 schematically illustrates a flowchart of another virtual reality interaction method in an exemplary embodiment of the present invention. FIG. 30 is a diagram schematically showing a general state of a booklet in an exemplary embodiment of the present invention. FIG. 31 is a schematic diagram illustrating a right page of a booklet being bent inward in an exemplary embodiment of the present invention. FIG. 32 is a schematic diagram showing a left page of a booklet curved inward in an exemplary embodiment of the present invention. FIG. 33 is a schematic diagram illustrating that a right page of another booklet is bent inward in an exemplary embodiment of the present invention. FIG. 34 is a schematic diagram schematically illustrating a normal vector of a positioning label on a booklet in an exemplary embodiment of the present invention. FIG. 35 schematically illustrates a first normal vector of a first identifier and a second normal vector of a second identifier in an exemplary embodiment of the present invention. FIG. 36 is a schematic diagram illustrating that a right page is bent and deformed with time in an exemplary embodiment of the present invention. FIG. 37 is a schematic diagram showing the change in the angle between the first normal vector and the second normal vector based on FIG. 36 over time. FIG. 38 is a schematic diagram showing that the included angle curve shown in FIG. 37 falls within a predefined area in the embodiment of the present invention. FIG. 39 schematically illustrates another schematic diagram of an included angle curve falling into a predefined area in the embodiment of the present invention. FIG. 40 schematically illustrates a schematic diagram of performing a continuous backward page turning operation in an embodiment of the present invention. FIG. 41 is a schematic diagram illustrating an included angle curve when a continuous page-back operation is performed in an embodiment of the present invention. FIG. 42 is a schematic diagram illustrating an included angle curve when performing a continuous backward page turning operation in another embodiment of the present invention. FIG. 43 schematically illustrates a block diagram of another virtual reality interactive device in an exemplary embodiment of the present invention. FIG. 44 schematically illustrates a structural diagram of an electronic device in an exemplary embodiment of the present invention.

Claims (20)

一種虛擬實境交互方法,其特徵在於,包括:獲取預設交互物體的圖像資訊,所述預設交互物體的表面具有預設標識;根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數;根據所述至少一種參數執行預設交交互操作;所述預設交互物體為一柔性材料製成的書冊,其包括至少一頁面,所述至少一頁面的表面具有多個所述預設標識;根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數包括:選取所述至少一頁面上的多個所述預設標識中的第一標識和第二標識;根據所述第一標識和所述第二標識的位置座標分別獲取所述第一標識的第一法向量和所述第二標識的第二法向量;根據所述第一法向量和所述第二法向量確定所述第一標識和所述第二標識之間的夾角;根據所述至少一種參數執行預設交交互操作包括:判斷所述夾角隨著時間變化的曲線是否落入預定義區域內;當所述夾角隨著時間變化的曲線落入所述預定義區域內時,執行一向後翻頁操作。A virtual reality interaction method, comprising: obtaining image information of a preset interactive object, a surface of the preset interactive object having a preset identifier; identifying the image information according to the preset identifier, and obtaining At least one parameter of the preset interactive object; performing a preset cross interaction operation according to the at least one parameter; the preset interactive object is a book made of a flexible material including at least one page, the at least one page The surface has a plurality of the preset identifiers; identifying the image information according to the preset identifiers, and obtaining at least one parameter of the preset interactive object includes: selecting a plurality of the preset identifiers on the at least one page. Set a first identifier and a second identifier in the identifier; and respectively obtain a first normal vector of the first identifier and a second normal vector of the second identifier according to the position coordinates of the first identifier and the second identifier Determining an angle between the first identifier and the second identifier according to the first normal vector and the second normal vector; and performing a preset interaction operation package according to the at least one parameter : Analyzing the graph of changes in angle over time falls within a predefined area; when the angle formed by the curve with the fall time within the predefined area, the page turning operation has been performed. 如請求項1所述的虛擬實境交互方法,其特徵在於,所述至少一種參數包括所述預設交互物體的彎曲持續時間、彎曲方向、彎曲形狀中的一種或者多種。The virtual reality interaction method according to claim 1, wherein the at least one parameter includes one or more of a bending duration, a bending direction, and a bending shape of the preset interactive object. 如請求項1所述的虛擬實境交互方法,其特徵在於,所述預設交交互操作包括向後翻頁、向前翻頁、連續向後翻頁、連續向前翻頁操作中的一種或者多種。The virtual reality interaction method according to claim 1, wherein the preset interaction operation includes one or more of page backward, page forward, continuous page backward, and page forward operations. . 如請求項1所述的虛擬實境交互方法,其特徵在於,所述預定義區域由預定義的第一曲線和第二曲線以及所述第一曲線和所述第二曲線分別與時間軸的交點確定。The virtual reality interaction method according to claim 1, wherein the predefined area is defined by a predefined first curve and a second curve, and the first curve and the second curve are respectively related to a time axis. The intersection point is determined. 如請求項1所述的虛擬實境交互方法,其特徵在於,根據所述至少一種參數執行預設交交互操作包括:當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作。The virtual reality interaction method according to claim 1, wherein performing a preset interaction operation according to the at least one parameter includes: when the included angle is greater than a first threshold and the duration exceeds a preset time, executing a Continuous page-back operation. 如請求項1所述的虛擬實境交互方法,其特徵在於,當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作包括:當所述夾角大於等於所述第一閾值且小於第二閾值時,按照第一翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第二閾值且小於第三閾值時,按照第二翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第三閾值且小於第四閾值時,按照第三翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角小於所述第一閾值時,停止所述連續向後翻頁操作。The virtual reality interaction method according to claim 1, wherein when the included angle is greater than a first threshold and the duration exceeds a preset time, performing a continuous page backward operation includes: when the included angle is greater than or equal to When the first threshold value is less than the second threshold value, the continuous page turning operation is performed according to the first page turning animation speed; and / or when the included angle is greater than or equal to the second threshold value and less than the third threshold value, according to the first Perform the continuous page-back operation at the second page-turning animation speed; and / or perform the continuous page-back operation at the third page-turning animation speed when the included angle is greater than or equal to the third threshold and less than the fourth threshold ; And / or when the included angle is less than the first threshold, stopping the continuous page-back operation. 一種虛擬實境交互方法,其特徵在於,包括:獲取預設交互物體的圖像資訊,所述預設交互物體的表面具有預設標識;根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數;根據所述至少一種參數執行預設交交互操作;所述預設交互物體為一柔性材料製成的書冊,其包括至少一頁面,所述至少一頁面的表面具有多個所述預設標識;根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數包括:選取所述至少一頁面上的多個所述預設標識中的第一標識和第二標識;根據所述第一標識和所述第二標識的位置座標分別獲取所述第一標識的第一法向量和所述第二標識的第二法向量;根據所述第一法向量和所述第二法向量確定所述第一標識和所述第二標識之間的夾角;根據所述至少一種參數執行預設交交互操作包括:當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作。A virtual reality interaction method, comprising: obtaining image information of a preset interactive object, a surface of the preset interactive object having a preset identifier; identifying the image information according to the preset identifier, and obtaining At least one parameter of the preset interactive object; performing a preset cross interaction operation according to the at least one parameter; the preset interactive object is a book made of a flexible material including at least one page, the at least one page The surface has a plurality of the preset identifiers; identifying the image information according to the preset identifiers, and obtaining at least one parameter of the preset interactive object includes: selecting a plurality of the preset identifiers on the at least one page. Set a first identifier and a second identifier in the identifier; and respectively obtain a first normal vector of the first identifier and a second normal vector of the second identifier according to the position coordinates of the first identifier and the second identifier Determining an angle between the first identifier and the second identifier according to the first normal vector and the second normal vector; and performing a preset interaction operation package according to the at least one parameter : When the angle is greater than a first threshold value for more than the preset time, performing a continuous turning operation rearward. 如請求項7所述的虛擬實境交互方法,其特徵在於,所述至少一種參數包括所述預設交互物體的彎曲持續時間、彎曲方向、彎曲形狀中的一種或者多種。The virtual reality interaction method according to claim 7, wherein the at least one parameter includes one or more of a bending duration, a bending direction, and a bending shape of the preset interactive object. 如請求項7所述的虛擬實境交互方法,其特徵在於,所述預設交交互操作包括向後翻頁、向前翻頁、連續向後翻頁、連續向前翻頁操作中的一種或者多種。The virtual reality interaction method according to claim 7, wherein the preset interaction operation includes one or more of page backward, page forward, continuous page backward, and page forward operations. . 如請求項7所述的虛擬實境交互方法,其特徵在於,根據所述至少一種參數執行預設交交互操作包括:判斷所述夾角隨著時間變化的曲線是否落入預定義區域內;當所述夾角隨著時間變化的曲線落入所述預定義區域內時,執行一向後翻頁操作。The virtual reality interaction method according to claim 7, wherein performing the preset interaction operation according to the at least one parameter includes: judging whether the curve of the included angle changing with time falls within a predefined area; when When the curve of the included angle over time falls within the predefined area, a page-back operation is performed. 如請求項10所述的虛擬實境交互方法,其特徵在於,所述預定義區域由預定義的第一曲線和第二曲線以及所述第一曲線和所述第二曲線分別與時間軸的交點確定。The virtual reality interaction method according to claim 10, wherein the predefined area is defined by a predefined first curve and a second curve, and the first curve and the second curve are respectively related to a time axis. The intersection point is determined. 如請求項7所述的虛擬實境交互方法,其特徵在於,當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作包括:當所述夾角大於等於所述第一閾值且小於第二閾值時,按照第一翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第二閾值且小於第三閾值時,按照第二翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第三閾值且小於第四閾值時,按照第三翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角小於所述第一閾值時,停止所述連續向後翻頁操作。The virtual reality interaction method according to claim 7, wherein when the included angle is greater than a first threshold and the duration exceeds a preset time, performing a continuous page backward operation includes: when the included angle is greater than or equal to When the first threshold value is less than the second threshold value, the continuous page turning operation is performed according to the first page turning animation speed; and / or when the included angle is greater than or equal to the second threshold value and less than the third threshold value, according to the first Perform the continuous page-back operation at the second page-turning animation speed; and / or perform the continuous page-back operation at the third page-turning animation speed when the included angle is greater than or equal to the third threshold and less than the fourth threshold ; And / or when the included angle is less than the first threshold, stopping the continuous page-back operation. 一種虛擬實境交互方法,其特徵在於,包括:獲取預設交互物體的圖像資訊,所述預設交互物體的表面具有預設標識;根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數;根據所述至少一種參數執行預設交交互操作;所述預設交互物體為一柔性材料製成的書冊,其包括至少一頁面,所述至少一頁面的表面具有多個所述預設標識;根據所述預設標識識別所述圖像資訊,獲取所述預設交互物體的至少一種參數包括:選取所述至少一頁面上的多個所述預設標識中的第一標識和第二標識;根據所述第一標識和所述第二標識的位置座標分別獲取所述第一標識的第一法向量和所述第二標識的第二法向量;根據所述第一法向量和所述第二法向量確定所述第一標識和所述第二標識之間的夾角;當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作包括:當所述夾角大於等於所述第一閾值且小於第二閾值時,按照第一翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第二閾值且小於第三閾值時,按照第二翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角大於等於所述第三閾值且小於第四閾值時,按照第三翻頁動畫速度執行所述連續向後翻頁操作;和/或當所述夾角小於所述第一閾值時,停止所述連續向後翻頁操作。A virtual reality interaction method, comprising: obtaining image information of a preset interactive object, a surface of the preset interactive object having a preset identifier; identifying the image information according to the preset identifier, and obtaining At least one parameter of the preset interactive object; performing a preset cross interaction operation according to the at least one parameter; the preset interactive object is a book made of a flexible material including at least one page, the at least one page The surface has a plurality of the preset identifiers; identifying the image information according to the preset identifiers, and obtaining at least one parameter of the preset interactive object includes: selecting a plurality of the preset identifiers on the at least one page. Set a first identifier and a second identifier in the identifier; and respectively obtain a first normal vector of the first identifier and a second normal vector of the second identifier according to the position coordinates of the first identifier and the second identifier Determining an angle between the first identifier and the second identifier according to the first normal vector and the second normal vector; when the angle is greater than a first threshold and the duration exceeds a preset At a time, performing a continuous page-back operation includes: when the included angle is greater than or equal to the first threshold and less than a second threshold, performing the continuous page-back operation according to a first page-turning animation speed; and / or when When the included angle is greater than or equal to the second threshold value and less than the third threshold value, the continuous page turning operation is performed at a second page turning animation speed; and / or when the included angle is greater than or equal to the third threshold value and less than the third threshold value When the threshold value is four, the continuous page-back operation is performed according to the third page-turning animation speed; and / or when the included angle is less than the first threshold value, the continuous page-back operation is stopped. 如請求項13所述的虛擬實境交互方法,其特徵在於,所述至少一種參數包括所述預設交互物體的彎曲持續時間、彎曲方向、彎曲形狀中的一種或者多種。The virtual reality interaction method according to claim 13, wherein the at least one parameter includes one or more of a bending duration, a bending direction, and a bending shape of the preset interactive object. 如請求項13所述的虛擬實境交互方法,其特徵在於,所述預設交交互操作包括向後翻頁、向前翻頁、連續向後翻頁、連續向前翻頁操作中的一種或者多種。The virtual reality interaction method according to claim 13, wherein the preset interactive interaction operation includes one or more of page backward, page forward, continuous page backward, and page forward operations. . 如請求項13所述的虛擬實境交互方法,其特徵在於,根據所述至少一種參數執行預設交交互操作包括:判斷所述夾角隨著時間變化的曲線是否落入預定義區域內;當所述夾角隨著時間變化的曲線落入所述預定義區域內時,執行一向後翻頁操作。The virtual reality interaction method according to claim 13, wherein performing the preset intersection interaction operation according to the at least one parameter includes: determining whether a curve of the included angle changing with time falls within a predefined area; When the curve of the included angle over time falls within the predefined area, a page-back operation is performed. 如請求項16所述的虛擬實境交互方法,其特徵在於,所述預定義區域由預定義的第一曲線和第二曲線以及所述第一曲線和所述第二曲線分別與時間軸的交點確定。The virtual reality interaction method according to claim 16, wherein the predefined area is defined by a predefined first curve and a second curve, and the first curve and the second curve are respectively related to a time axis. The intersection point is determined. 如請求項13所述的虛擬實境交互方法,其特徵在於,根據所述至少一種參數執行預設交交互操作包括:當所述夾角大於第一閾值且持續時間超過預設時間時,執行一連續向後翻頁操作。The virtual reality interaction method according to claim 13, wherein performing the preset interaction operation according to the at least one parameter includes: when the included angle is greater than a first threshold and the duration exceeds a preset time, executing a Continuous page-back operation. 一種電子設備,其特徵在於,包括:一個或多個處理器;存儲裝置,用於存儲一個或多個程式,當所述一個或多個程式被所述一個或多個處理器執行時,使得所述一個或多個處理器實現如請求項1-18中任一項所述的虛擬實境交互方法。An electronic device, comprising: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, causing The one or more processors implement the virtual reality interaction method according to any one of claims 1-18. 一種電腦可讀介質,其上存儲有電腦程式,其特徵在於,所述程式被處理器執行時實現如請求項1-18中任一項所述的虛擬實境交互方法。A computer-readable medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the virtual reality interaction method according to any one of claims 1-18 is implemented.
TW106136916A 2016-10-26 2017-10-26 Virtual reality interaction method, device and system TWI654539B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
??201610946978.6 2016-10-26
CN201610946978 2016-10-26
??201710339131.6 2017-05-15
CN201710339131.6A CN107992188B (en) 2016-10-26 2017-05-15 Virtual reality interaction method, device and system

Publications (2)

Publication Number Publication Date
TW201816548A TW201816548A (en) 2018-05-01
TWI654539B true TWI654539B (en) 2019-03-21

Family

ID=62029647

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106136916A TWI654539B (en) 2016-10-26 2017-10-26 Virtual reality interaction method, device and system

Country Status (2)

Country Link
CN (1) CN107992188B (en)
TW (1) TWI654539B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109603089B (en) * 2018-11-20 2020-08-11 北京农业信息技术研究中心 Method and device for acquiring riding data of virtual riding system
EP3677997B1 (en) * 2019-01-03 2021-10-13 HTC Corporation Electronic system and controller
US11039118B2 (en) 2019-04-17 2021-06-15 XRSpace CO., LTD. Interactive image processing system using infrared cameras
US10885671B2 (en) 2019-04-17 2021-01-05 XRSpace CO., LTD. Method, apparatus, and non-transitory computer-readable medium for interactive image processing using depth engine and digital signal processor
US11107293B2 (en) 2019-04-23 2021-08-31 XRSpace CO., LTD. Head mounted display system capable of assigning at least one predetermined interactive characteristic to a virtual object in a virtual environment created according to a real object in a real environment, a related method and a related non-transitory computer readable storage medium
TWI696149B (en) * 2019-04-26 2020-06-11 未來市股份有限公司 Method, apparatus, medium for interactive image processing using depth engine
TWI696980B (en) * 2019-04-26 2020-06-21 未來市股份有限公司 Method, apparatus, medium for interactive image processing using depth engine and digital signal processor
TWI696981B (en) * 2019-04-26 2020-06-21 未來市股份有限公司 Interactive image processing system using infrared cameras
TWI727421B (en) * 2019-09-16 2021-05-11 藏識科技有限公司 Mixed reality system
TWI740361B (en) * 2020-01-22 2021-09-21 國眾電腦股份有限公司 Artificial intelligence operation assistive system and method thereof
CN111880659A (en) * 2020-07-31 2020-11-03 北京市商汤科技开发有限公司 Virtual character control method and device, equipment and computer readable storage medium
WO2022036475A1 (en) * 2020-08-17 2022-02-24 南京翱翔智能制造科技有限公司 Augmented reality-based indoor positioning system for multi-source data fusion
US11467403B2 (en) * 2020-08-20 2022-10-11 Htc Corporation Operating method and electronic system
CN112515661B (en) * 2020-11-30 2021-09-14 魔珐(上海)信息科技有限公司 Posture capturing method and device, electronic equipment and storage medium
CN112416133B (en) * 2020-11-30 2021-10-15 魔珐(上海)信息科技有限公司 Hand motion capture method and device, electronic equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7437297B2 (en) * 2005-01-27 2008-10-14 International Business Machines Corporation Systems and methods for predicting consequences of misinterpretation of user commands in automated systems
WO2013028908A1 (en) * 2011-08-24 2013-02-28 Microsoft Corporation Touch and social cues as inputs into a computer
CN102831401B (en) * 2012-08-03 2016-01-13 樊晓东 To following the tracks of without specific markers target object, three-dimensional overlay and mutual method and system
US10509533B2 (en) * 2013-05-14 2019-12-17 Qualcomm Incorporated Systems and methods of generating augmented reality (AR) objects
CN103700128B (en) * 2013-12-30 2017-02-15 无锡触角科技有限公司 Mobile equipment and enhanced display method thereof
CN105723306B (en) * 2014-01-30 2019-01-04 施政 Change the system and method for the state of user interface element of the label on object
CN104463296B (en) * 2014-11-10 2018-04-10 吴涛军 A kind of generation, acquisition and the processing method and system of two-dimension code structure information
CN104436634B (en) * 2014-11-19 2017-09-19 重庆邮电大学 The true man's shooting game system and implementation method of a kind of use immersive VR technology
US9696795B2 (en) * 2015-02-13 2017-07-04 Leap Motion, Inc. Systems and methods of creating a realistic grab experience in virtual reality/augmented reality environments
CN104699247B (en) * 2015-03-18 2017-12-12 北京七鑫易维信息技术有限公司 A kind of virtual reality interactive system and method based on machine vision

Also Published As

Publication number Publication date
CN107992188A (en) 2018-05-04
TW201816548A (en) 2018-05-01
CN107992188B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
TWI654539B (en) Virtual reality interaction method, device and system
EP3316080B1 (en) Virtual reality interaction method, apparatus and system
Memo et al. Head-mounted gesture controlled interface for human-computer interaction
US11270515B2 (en) Virtual keyboard
CN108062776B (en) Camera Attitude Tracking method and apparatus
US10853651B2 (en) Virtual reality interaction method, apparatus and system
JP6323040B2 (en) Image processing apparatus, image processing method, and program
JP6007497B2 (en) Image projection apparatus, image projection control apparatus, and program
US9619104B2 (en) Interactive input system having a 3D input space
US20090278915A1 (en) Gesture-Based Control System For Vehicle Interfaces
Pucihar et al. Exploring the evolution of mobile augmented reality for future entertainment systems
JP2010040037A (en) Method and device for real-time detection of interaction between user and augmented-reality scene
US11573627B2 (en) Method of controlling device and electronic device
KR20150105479A (en) Realization method and device for two-dimensional code augmented reality
Beyeler OpenCV with Python blueprints
TWI653546B (en) Virtual reality system with outside-in tracking and inside-out tracking and controlling method thereof
TW202311815A (en) Display of digital media content on physical surface
Ali et al. Augmented reality based online application for e-shopping
Okamoto et al. Assembly assisted by augmented reality (A 3 R)
KR101211178B1 (en) System and method for playing contents of augmented reality
KR20140078083A (en) Method of manufacturing cartoon contents for augemented reality and apparatus performing the same
CN113434046A (en) Three-dimensional interaction system, method, computer device and readable storage medium
Piechaczek et al. Popular strategies and methods for using augmented reality
CN117576288A (en) Method, device, equipment and readable storage medium for processing data in multiple scenes
CN114063778A (en) Method and device for simulating image by utilizing AR glasses, AR glasses and medium