Merge pull request #4567 from priankakariatyml:ios-running-mode-copy-fix
PiperOrigin-RevId: 542930036
This commit is contained in:
commit
0093f2040b
|
@ -28,6 +28,7 @@
|
|||
- (id)copyWithZone:(NSZone *)zone {
|
||||
MPPFaceDetectorOptions *faceDetectorOptions = [super copyWithZone:zone];
|
||||
|
||||
faceDetectorOptions.runningMode = self.runningMode;
|
||||
faceDetectorOptions.minDetectionConfidence = self.minDetectionConfidence;
|
||||
faceDetectorOptions.minSuppressionThreshold = self.minSuppressionThreshold;
|
||||
faceDetectorOptions.faceDetectorLiveStreamDelegate = self.faceDetectorLiveStreamDelegate;
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
- (id)copyWithZone:(NSZone *)zone {
|
||||
MPPFaceLandmarkerOptions *faceLandmarkerOptions = [super copyWithZone:zone];
|
||||
|
||||
faceLandmarkerOptions.runningMode = self.runningMode;
|
||||
faceLandmarkerOptions.numFaces = self.numFaces;
|
||||
faceLandmarkerOptions.minFaceDetectionConfidence = self.minFaceDetectionConfidence;
|
||||
faceLandmarkerOptions.minFacePresenceConfidence = self.minFacePresenceConfidence;
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
- (id)copyWithZone:(NSZone *)zone {
|
||||
MPPImageClassifierOptions *imageClassifierOptions = [super copyWithZone:zone];
|
||||
|
||||
imageClassifierOptions.runningMode = self.runningMode;
|
||||
imageClassifierOptions.scoreThreshold = self.scoreThreshold;
|
||||
imageClassifierOptions.maxResults = self.maxResults;
|
||||
imageClassifierOptions.categoryDenylist = self.categoryDenylist;
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
- (id)copyWithZone:(NSZone *)zone {
|
||||
MPPObjectDetectorOptions *objectDetectorOptions = [super copyWithZone:zone];
|
||||
|
||||
objectDetectorOptions.runningMode = self.runningMode;
|
||||
objectDetectorOptions.scoreThreshold = self.scoreThreshold;
|
||||
objectDetectorOptions.maxResults = self.maxResults;
|
||||
objectDetectorOptions.categoryDenylist = self.categoryDenylist;
|
||||
|
|
Loading…
Reference in New Issue
Block a user