VerSDK is a Framework helped with recognition text in documents and suitable take verification selfie. The SDK calls the user interface for photography and returns the result of text recognition or face detection.
Please, use GitHub Issues for reporting a bug or requesting a new feature.
VerSDK can be installed with Swift Package Manager.
https://github.com/GrigoryShushakov/versdk.git
) and click Next.Adding Package Dependencies to Your App
textRecognition
sdk method in your application.
Method returns array of recognized strings or Error with localized description.VerSDK.shared.textRecognition { result in
switch result {
case .success(let prediction):
// Text recognition result - [String]
case .failure(let error):
showError(error)
}
}
faceDetection
sdk method in your application.
Method returns UIImage or Error with localized description.VerSDK.shared.faceDetection() { result in
switch result {
case .success(let image):
// Face detection image - UIImage
case .failure(let error):
showError(error)
}
}
VerSDK requires camera permissions for capturing photos. Your application is responsible to describe the reason why camera is used. You must add NSCameraUsageDescription
value to info.plist of your application with the explanation of the usage.
Grigory Shushakov
VerSDK is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 1 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics