Added iOS class property for hand thumb connections
This commit is contained in:
parent
50bd79a317
commit
9c0ea46022
|
@ -78,6 +78,9 @@ NS_SWIFT_NAME(HandLandmarker)
|
||||||
/** The array of connections between the landmarks in the palm. */
|
/** The array of connections between the landmarks in the palm. */
|
||||||
@property(class, nonatomic, readonly) NSArray<MPPConnection *> *handPalmConnections;
|
@property(class, nonatomic, readonly) NSArray<MPPConnection *> *handPalmConnections;
|
||||||
|
|
||||||
|
/** The array of connections between the landmarks in the thumb. */
|
||||||
|
@property(class, nonatomic, readonly) NSArray<MPPConnection *> *handThumbConnections;
|
||||||
|
|
||||||
/** The array of connections between the landmarks in the index finger. */
|
/** The array of connections between the landmarks in the index finger. */
|
||||||
@property(class, nonatomic, readonly) NSArray<MPPConnection *> *handIndexFingerConnections;
|
@property(class, nonatomic, readonly) NSArray<MPPConnection *> *handIndexFingerConnections;
|
||||||
|
|
||||||
|
|
|
@ -169,6 +169,10 @@ static NSString *const kTaskName = @"handLandmarker";
|
||||||
return MPPHandPalmConnections;
|
return MPPHandPalmConnections;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+ (NSArray<MPPConnection *> *)handThumbConnections {
|
||||||
|
return MPPHandThumbConnections;
|
||||||
|
}
|
||||||
|
|
||||||
+ (NSArray<MPPConnection *> *)handIndexFingerConnections {
|
+ (NSArray<MPPConnection *> *)handIndexFingerConnections {
|
||||||
return MPPHandIndexFingerConnections;
|
return MPPHandIndexFingerConnections;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user