Fixed typos

This commit is contained in:
Prianka Liz Kariat 2023-06-05 13:47:11 +05:30
parent 1496b7c2d4
commit f213e0a6f3
2 changed files with 18 additions and 18 deletions

View File

@ -58,13 +58,13 @@ static const int kMicroSecondsPerMilliSecond = 1000;
+ (MPPGestureRecognizerResult *)
gestureRecognizerResultWithHandGesturesProto:
(const std::vector<mediapipe::ClassificationList> &)handGesturesProto
handednessroto:
handednessProto:
(const std::vector<mediapipe::ClassificationList> &)
handednessProto
handLandmarksPacket:
handLandmarksProto:
(const std::vector<mediapipe::NormalizedLandmarkList> &)
handLandmarksProto
worldLandmarksPacket:
worldLandmarksProto:
(const std::vector<mediapipe::LandmarkList> &)worldLandmarksProto
timestampInMilliSeconds:(NSInteger)timestampInMilliseconds;
@end

View File

@ -40,11 +40,11 @@ static const NSInteger kDefaultGestureIndex = -1;
+ (MPPGestureRecognizerResult *)
gestureRecognizerResultWithHandGesturesProto:
(const std::vector<ClassificationListProto> &)handGesturesProto
handednessroto:
handednessProto:
(const std::vector<ClassificationListProto> &)handednessProto
handLandmarksPacket:(const std::vector<NormalizedLandmarkListProto> &)
handLandmarksroto:(const std::vector<NormalizedLandmarkListProto> &)
handLandmarksProto
worldLandmarksPacket:
worldLandmarksProto:
(const std::vector<LandmarkListProto> &)worldLandmarksProto
timestampInMilliSeconds:(NSInteger)timestampInMilliseconds {
NSMutableArray<NSMutableArray<MPPCategory *> *> *multiHandGestures =
@ -135,11 +135,11 @@ static const NSInteger kDefaultGestureIndex = -1;
return [MPPGestureRecognizerResult
gestureRecognizerResultWithHandGesturesProto:handGesturesPacket
.Get<std::vector<ClassificationListProto>>()
handednessroto:handednessPacket
handednessProto:handednessPacket
.Get<std::vector<ClassificationListProto>>()
handLandmarksPacket:handLandmarksPacket
.Get<std::vector<NormalizedLandmarkListProto>>()
worldLandmarksPacket:worldLandmarksPacket
handLandmarksProto:handLandmarksPacket.Get<
std::vector<NormalizedLandmarkListProto>>()
worldLandmarksProto:worldLandmarksPacket
.Get<std::vector<LandmarkListProto>>()
timestampInMilliSeconds:timestampInMilliseconds];
}