tests.hand_normalization_test module
Classes:
|
Test cases for 3D Normalization of pose data. |
- class tests.hand_normalization_test.Test3DNormalization(methodName='runTest')[source]
Bases:
TestCaseTest cases for 3D Normalization of pose data.
Methods:
Test the normalization of hand pose data using the PoseNormalizer.
Test the normalization results of hand data taken from sign translate.
Test the calculation of the normal vector for given 3 points on a plane.
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)