Fixed typos in method names
This commit is contained in:
parent
4b0f3cacae
commit
8a5b443b86
|
@ -59,7 +59,7 @@ using ::mediapipe::tasks::ios::test::vision::utils::get_proto_from_pbtxt;
|
||||||
handednessProto:{landmarkDetectionResultProto.classifications()}
|
handednessProto:{landmarkDetectionResultProto.classifications()}
|
||||||
handLandmarksProto:{landmarkDetectionResultProto.landmarks()}
|
handLandmarksProto:{landmarkDetectionResultProto.landmarks()}
|
||||||
worldLandmarksProto:{landmarkDetectionResultProto.world_landmarks()}
|
worldLandmarksProto:{landmarkDetectionResultProto.world_landmarks()}
|
||||||
timestampInMilliSeconds:0];
|
timestampInMilliseconds:0];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -67,7 +67,7 @@ static const int kMicroSecondsPerMilliSecond = 1000;
|
||||||
handLandmarksProto
|
handLandmarksProto
|
||||||
worldLandmarksProto:
|
worldLandmarksProto:
|
||||||
(const std::vector<::mediapipe::LandmarkList> &)worldLandmarksProto
|
(const std::vector<::mediapipe::LandmarkList> &)worldLandmarksProto
|
||||||
timestampInMilliSeconds:(NSInteger)timestampInMilliseconds;
|
timestampInMilliseconds:(NSInteger)timestampInMilliseconds;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
|
|
@ -46,7 +46,7 @@ static const NSInteger kDefaultGestureIndex = -1;
|
||||||
handLandmarksProto
|
handLandmarksProto
|
||||||
worldLandmarksProto:
|
worldLandmarksProto:
|
||||||
(const std::vector<LandmarkListProto> &)worldLandmarksProto
|
(const std::vector<LandmarkListProto> &)worldLandmarksProto
|
||||||
timestampInMilliSeconds:(NSInteger)timestampInMilliseconds {
|
timestampInMilliseconds:(NSInteger)timestampInMilliseconds {
|
||||||
NSMutableArray<NSMutableArray<MPPCategory *> *> *multiHandGestures =
|
NSMutableArray<NSMutableArray<MPPCategory *> *> *multiHandGestures =
|
||||||
[NSMutableArray arrayWithCapacity:(NSUInteger)handGesturesProto.size()];
|
[NSMutableArray arrayWithCapacity:(NSUInteger)handGesturesProto.size()];
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ static const NSInteger kDefaultGestureIndex = -1;
|
||||||
std::vector<NormalizedLandmarkListProto>>()
|
std::vector<NormalizedLandmarkListProto>>()
|
||||||
worldLandmarksProto:worldLandmarksPacket
|
worldLandmarksProto:worldLandmarksPacket
|
||||||
.Get<std::vector<LandmarkListProto>>()
|
.Get<std::vector<LandmarkListProto>>()
|
||||||
timestampInMilliSeconds:timestampInMilliseconds];
|
timestampInMilliseconds:timestampInMilliseconds];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user