FirebaseMLVision Framework Reference

FIRVisionCloudLandmarkDetector


@interface FIRVisionCloudLandmarkDetector : NSObject

A landmark detector that detects landmark in an image.

  • Unavailable. Use Vision factory methods.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Detects landmark in a given image.

    Declaration

    Objective-C

    - (void)detectInImage:(nonnull FIRVisionImage *)image
               completion:
                   (nonnull FIRVisionCloudLandmarkDetectionCompletion)completion;

    Parameters

    image

    The image to use for detecting landmark.

    completion

    Handler to call back on the main queue with landmark detected or error.