We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcb87eb commit 60cc906Copy full SHA for 60cc906
1 file changed
mediapipe/examples/ios/facemeshioslib/FaceMeshIOSLib.mm
@@ -141,6 +141,9 @@ - (void)mediapipeGraph:(MPPGraph*)graph
141
if (streamName == kLandmarksOutputStream) {
142
if (packet.IsEmpty()) {
143
NSLog(@"[TS:%lld] No face landmarks", packet.Timestamp().Value());
144
+ if([self.delegate respondsToSelector:@selector(didReceiveFaces:)]) {
145
+ [self.delegate didReceiveFaces:@[]];
146
+ }
147
return;
148
}
149
const auto& multi_face_landmarks = packet.Get<std::vector<::mediapipe::NormalizedLandmarkList>>();
0 commit comments