LeapMotion Controller Java language Development note-(introduction to LeapMotion Controller)

Source: Internet
Author: User

(1) the LeapMotion system identifies and tracks hand, finger, and Finger-like tools, which operate in a very small range with a high precision, high tracking frequency that can record discrete points, gestures, and Movements.

(2) the LeapMotion controller uses an optical sensor and infra-red, and when the controller is in its standard operating position, the optical sensor is directly upward along the y-axis with a field of approximately 150 degrees. On the controller (2 ft to 1 In) the leapmotion controller has a valid range from 25 to 600 mm.                       The controller has the best detection and tracking performance when the controller has a clear, high-contrast view object Profile. The LeapMotion control software combines sensor data with an internal manual model to help handle challenging tracking Situations.

(3) leapmotion coordinate system (as Shown) the LeapMotion system has a right-handed Cartesian coordinate system. Physical unit of controller, distance: mm time: microseconds (typically, unless stated) speed: mm/sec angle: radians

(4) motion Tracking Data: when leapmotion is tracking hands, fingers and tools within its range, it provides an updated set of data or a Frame. Each frame object represents a frame that contains a set of entities, such as a hand, a finger, a tool, a gesture that is recognized, and a set of bodies that describe the overall motion Scene. The frame object is essentially the root data model of Leapmotion.

(5) Hands: The hand model provides information about the detected hand, the arm of the hand, and the character, position, and other characteristics of the finger set that are related to the Hand.

Hands is represented by the hand class. The vector values returned by the Palmnormal () and direction () of the hand class define the direction of the Hand.

The LeapMotion software uses an internal model to provide predictive tracking, even if some of the hands are Invisible. The hand model always provides a position of five fingers, and the tracking is optimal when the contour of one hand and all its fingers are clearly visible. The LeapMotion software uses the visible part of the hand, the internal model of the software, and the currently invisible part of the most probable position of the past observations Calculation. It is important to note that the mask

A finger that is hidden inside the hand or a leapmotion sensor that is shielded from the finger is usually undetectable. The value returned by the confidence () method of the hand class represents the observed data and the compliance of the Software's internal model.

If more than one Person's hand or other model with a similar hand appears in the Controller's view, more than two hands can appear in the Frame's hand Collection. however, in order to ensure a good follow-up effect, the official recommendation is only two hands in the Controller's sensing Area.

(6) Arms: an Arm class object is a Bone-like object that provides the direction, length, width, and end of the Arm. When the elbow is not within the sensing range of the controller, the LeapMotion controller guesses the position of its (arm) based on past observations and the typical body proportions.

(7) the Fingers:leapmotion controller provides information about each finger above the hand, and if the finger is completely (partially) invisible, the finger characteristics can be inferred from the hand of the most recent observation and dissection model. These fingers were named thumb, forefinger, Middle finger, ring finger, and Pinky.

The finger is derived from the finger class, and the finger class inherits the Pointable Interface.

The Finger class | Finger_tipposition|_ and | The finger_direction|_ Vector property value provides a point between the position of the finger and Between.

A finger object provides a bone object that describes the position and posture of each anatomical finger bone. All fingers contain four bones from the bottom to the Tip. Concrete structures such as The.

Thumb is not suitable for this bone system, thumb only three bones, for programming convenience, We also here to define the thumb has four bones, just think metacarpls bone length is 0.

(8) tools: A tool class object is like a Pencil. Pencil objects are instantiated by the tool class, and the tool class implements the Pointable Interface.

A tool object is longer, thinner, and straighter than a finger, and only a thin, rounded object is considered to be the tool Object. In the second version of the document, tools is independent of HANDS.

(9) The Gestures:leapmotion software recognizes the determined motion model as gestures, which can indicate the User's intentions and Control. The gesture object is defined and instantiated with the gesture class or its subclasses.

Note: when you apply gestures to your app, you must identify the gestures you want to use. The Controller class has a enablegesture () method to identify the type of gesture you are using.

(10)

LeapMotion Controller Java language Development note-(introduction to LeapMotion Controller)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.