2014 snapchat source code
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

  1. //
  2. // SCCaptureFaceDetector.h
  3. // Snapchat
  4. //
  5. // Created by Jiyang Zhu on 3/27/18.
  6. // Copyright © 2018 Snapchat, Inc. All rights reserved.
  7. //
  8. // This protocol declares properties and methods that are used for face detectors.
  9. #import <Foundation/Foundation.h>
  10. @class SCCaptureResource;
  11. @class SCQueuePerformer;
  12. @class SCCaptureFaceDetectorTrigger;
  13. @class SCCaptureFaceDetectionParser;
  14. @protocol SCCaptureFaceDetector <NSObject>
  15. @property (nonatomic, strong, readonly) SCCaptureFaceDetectorTrigger *trigger;
  16. @property (nonatomic, strong, readonly) SCCaptureFaceDetectionParser *parser;
  17. - (instancetype)initWithCaptureResource:(SCCaptureResource *)captureResource;
  18. - (SCQueuePerformer *)detectionPerformer;
  19. - (void)startDetection;
  20. - (void)stopDetection;
  21. @end