Hand recognition device - the use of Fingo in unity


foreword

Fingo official website link
Fingo official document
Fingo is a gesture recognition product developed by uSens Linggan Technology. Fingo recognizes 22 key points and 26 degrees of freedom of the hand to identify the gesture of the hand and realizes the recognition of all gestures. The recognition range is 5-70cm.


1. How to install and use?

1. Download Fingo SDK

  • Go to the developer module of Fingo official website to download Fingo SDK. The serial number is required when downloading. The serial number is displayed on the fingo device used.
  • After the downloaded Fingo SDK is decompressed, there are the following files.
    insert image description here

2. Fingo environment configuration:

Preparation

  • Find the setup.exe in the Windows file in the downloaded Fingo SDK, click the application to install fingoService, and run the application.
  • Use USB to connect the Fingo sensor device with the computer, and the indicator light of the sensor will light up.

Create a unity project

  • The unity version I use:
    Unity2017.4.2f2 (2018 or 2019 versions may have incompatible API issues)

Configuration of Fingo in unity

  • Change the project settings, set the API compatibility level to "MET 2.0"
    After creating a new project, click Edit—Project Settings—player—other settings—Api Compatibility Level—.NET 2.0 in unity

Remarks: The default API setting for versions after unity2018 is NET4.0, and there is no NET 2.0 option in the Api Compatibility Level.
Solution: The Scripting Runtime Version option in the other setting option is also changed from .NET 4.x Equivalent to .NET 3.5Equivalent (Deprecated. Then there will be a .NET 2.0 option in the Api Copatibility Level option.

(Wrong: Because the API of the unity version in 2018 and later is .NET 4.0, there is no .NET 2.0, so it cannot be used for environment configuration)

  • Import the unity resource package of fingoSDK
    Find the unity package in the downloaded UnitySDK folder, and import the resource package into the unity project.

  • Create a new scene to realize the interaction between the Fingo sensor and people in the scene.
    Bind fingo's hand model under the mainCarmen game object to bind and track gestures. After running the game, you can see the real hand action behavior already in the game scene. display, to achieve interaction. (This completes the configuration of the environment)
    Note: The sensor faces the hand so that the sensor can capture the player's hand gesture data.

2. Start your own fingo journey

Official example
Before starting self-creation, you can take a look at the demo of fingo in unity, experience the official example, and let yourself know Fingo better.
Self-creation
Check the API interface in the SDK to see what functions can be realized.
All in all, the biggest function of the Fingo sensor in unity is to transmit the data of the user's hand to unity in real time, so as to use the player's real hand movements to control the objects in the virtual game and realize the interaction between the player and the game.

Guess you like

Origin blog.csdn.net/Poggio742/article/details/122672262