Skip to main content

Scanning a European health insurance card from an image

Provided a still image, the EU health insurance card scanner can perform detection on the image and return the result. The recognize(onStillImage:) method of SBSDKHealthInsuranceCardRecognizer takes an input of a still image, and returns the result.

Example for detecting EU Health Insurance Card on the Image

import Foundation
import ScanbotSDK

func detectEhicOnImage() {

// Image containing EU Health Insurance Card.
guard let image = UIImage(named: "ehicImage") else { return }

// Creates an instance of `SBSDKHealthInsuranceCardRecognizer`.
let detector = SBSDKHealthInsuranceCardRecognizer()

// Returns the result after running detector on the image.
let result = detector.recognize(onStillImage: image)

Want to scan longer than one minute?

Generate your free "no-strings-attached" Trial License and properly test the Scanbot SDK.

Get your free Trial License

What do you think of this documentation?