İOS 11 Vision Api. Image Face Cropper 💇🏻♂️
- Simply use.
- Fast.
- Less code.
cropper = KFaceCropper(image: imgVV.image!)
cropper.crop()
cropper.getFaces { (faces, type) in
switch type {
case .success:
self.imgs = faces
case .failed(let fail): print(fail)
case .error(let error):
print(error)
}
}
cropper.count
Usage is provided under the MIT License. See LICENSE for the full details.