Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Face rect detection #2

Open
KimDarren opened this issue Jul 20, 2017 · 0 comments
Open

Face rect detection #2

KimDarren opened this issue Jul 20, 2017 · 0 comments
Assignees
Labels

Comments

@KimDarren
Copy link
Owner

To get the detected faces result.

let image = UIImage(named: "image_contains_faces")
image.face.detect { result in
  switch result {
  case .success(let rects):
    // rects: [CGRect]
  case .notFound:
    // no faces founded.
  case .failure(let error): 
    // any error occurred.
  }
}
@KimDarren KimDarren added the TODO label Jul 20, 2017
@KimDarren KimDarren self-assigned this Jul 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant