Enabled stream mode on iOS pose landmarker
This commit is contained in:
parent
28d62d55ac
commit
1e04ec3cc2
|
@ -36,7 +36,8 @@ using PoseLandmarkerGraphOptionsProto =
|
||||||
optionsProto->MutableExtension(PoseLandmarkerGraphOptionsProto::ext);
|
optionsProto->MutableExtension(PoseLandmarkerGraphOptionsProto::ext);
|
||||||
poseLandmarkerGraphOptions->Clear();
|
poseLandmarkerGraphOptions->Clear();
|
||||||
|
|
||||||
[self.baseOptions copyToProto:poseLandmarkerGraphOptions->mutable_base_options()];
|
[self.baseOptions copyToProto:poseLandmarkerGraphOptions->mutable_base_options()
|
||||||
|
withUseStreamMode:self.runningMode != MPPRunningModeImage];
|
||||||
poseLandmarkerGraphOptions->set_min_tracking_confidence(self.minTrackingConfidence);
|
poseLandmarkerGraphOptions->set_min_tracking_confidence(self.minTrackingConfidence);
|
||||||
|
|
||||||
PoseLandmarksDetectorGraphOptionsProto *poseLandmarksDetectorGraphOptions =
|
PoseLandmarksDetectorGraphOptionsProto *poseLandmarksDetectorGraphOptions =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user