ImageCropper icon indicating copy to clipboard operation
ImageCropper copied to clipboard

✂️ Detect and crop faces, barcodes, texts or rectangle in image with iOS 11 Vision (iOS 10 Core Image) api.(图片裁剪:支持人脸、二维码/条形码、文本、方框)

Results 3 ImageCropper issues
Sort by recently updated
recently updated
newest added

The image got detected but flipped around 90 degrees when set in image view.

When a face has been detected and is displayed on an imageView, it is flipped.

``` private func cropImage(object: VNDetectedObjectObservation, padding: UIEdgeInsets) -> (image: CGImage, frame: CGRect)? { let width = object.boundingBox.width * CGFloat(detectable.width) let height = object.boundingBox.height * CGFloat(detectable.height) let x = object.boundingBox.origin.x *...