You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
771 B
31 lines
771 B
//
|
|
// SCCaptureFaceDetector.h
|
|
// Snapchat
|
|
//
|
|
// Created by Jiyang Zhu on 3/27/18.
|
|
// Copyright © 2018 Snapchat, Inc. All rights reserved.
|
|
//
|
|
// This protocol declares properties and methods that are used for face detectors.
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class SCCaptureResource;
|
|
@class SCQueuePerformer;
|
|
@class SCCaptureFaceDetectorTrigger;
|
|
@class SCCaptureFaceDetectionParser;
|
|
|
|
@protocol SCCaptureFaceDetector <NSObject>
|
|
|
|
@property (nonatomic, strong, readonly) SCCaptureFaceDetectorTrigger *trigger;
|
|
|
|
@property (nonatomic, strong, readonly) SCCaptureFaceDetectionParser *parser;
|
|
|
|
- (instancetype)initWithCaptureResource:(SCCaptureResource *)captureResource;
|
|
|
|
- (SCQueuePerformer *)detectionPerformer;
|
|
|
|
- (void)startDetection;
|
|
|
|
- (void)stopDetection;
|
|
|
|
@end
|