tests.hand_normalization_test module

Classes:

Test3DNormalization([methodName])

Test cases for 3D Normalization of pose data.

class tests.hand_normalization_test.Test3DNormalization(methodName='runTest')[source]

Bases: TestCase

Test cases for 3D Normalization of pose data.

Methods:

test_hand_normalization()

Test the normalization of hand pose data using the PoseNormalizer.

test_hand_normalization_results()

Test the normalization results of hand data taken from sign translate.

test_normal()

Test the calculation of the normal vector for given 3 points on a plane.

test_rotate_vector_by_90_degrees()

Test the rotation of a vector by 90 degrees.

test_hand_normalization()[source]

Test the normalization of hand pose data using the PoseNormalizer.

test_hand_normalization_results()[source]

Test the normalization results of hand data taken from sign translate.

test_normal()[source]

Test the calculation of the normal vector for given 3 points on a plane.

Note

See the description and calculations on link.

Example (Plane Equation Example revisited) Given, P = (1, 1, 1), Q = (1, 2, 0), R = (-1, 2, 1). The normal vector A is the cross product (Q - P) x (R - P) = (1, 2, 2)

test_rotate_vector_by_90_degrees()[source]

Test the rotation of a vector by 90 degrees.