Added iOS class property for hand thumb connections

This commit is contained in:
Prianka Liz Kariat 2023-09-14 14:29:06 +05:30
parent 50bd79a317
commit 9c0ea46022
2 changed files with 7 additions and 0 deletions

View File

@ -78,6 +78,9 @@ NS_SWIFT_NAME(HandLandmarker)
/** The array of connections between the landmarks in the palm. */
@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. */
@property(class, nonatomic, readonly) NSArray<MPPConnection *> *handIndexFingerConnections;

View File

@ -169,6 +169,10 @@ static NSString *const kTaskName = @"handLandmarker";
return MPPHandPalmConnections;
}
+ (NSArray<MPPConnection *> *)handThumbConnections {
return MPPHandThumbConnections;
}
+ (NSArray<MPPConnection *> *)handIndexFingerConnections {
return MPPHandIndexFingerConnections;
}