You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance, i whitelist digits only, but still get some letters in string output.
Perhaps there was no confidence of any digit? [SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("3", 0.500555277), ("7", 0.0274531413)], boundingBox: (6.0, 6.0, 21.0, 29.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [], boundingBox: (29.0, 7.0, 10.0, 27.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("6", 0.083129324)], boundingBox: (44.0, 5.0, 23.0, 29.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("2", 0.25452441)], boundingBox: (81.0, 6.0, 20.0, 28.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("3", 0.500555277), ("7", 0.0274531413)], boundingBox: (105.0, 6.0, 21.0, 29.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("5", 0.0765574574), ("9", 0.066627048)], boundingBox: (129.0, 6.0, 20.0, 29.0))]
The sting returned was "3IE23" (actual 316235)
Actually looking at the output here, I guess the issue is the confidence is lower than .1, so it still chose the letters?
The text was updated successfully, but these errors were encountered:
For instance, i whitelist digits only, but still get some letters in string output.
Perhaps there was no confidence of any digit?
[SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("3", 0.500555277), ("7", 0.0274531413)], boundingBox: (6.0, 6.0, 21.0, 29.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [], boundingBox: (29.0, 7.0, 10.0, 27.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("6", 0.083129324)], boundingBox: (44.0, 5.0, 23.0, 29.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("2", 0.25452441)], boundingBox: (81.0, 6.0, 20.0, 28.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("3", 0.500555277), ("7", 0.0274531413)], boundingBox: (105.0, 6.0, 21.0, 29.0)), SwiftOCR.SwiftOCRRecognizedBlob(charactersWithConfidence: [("5", 0.0765574574), ("9", 0.066627048)], boundingBox: (129.0, 6.0, 20.0, 29.0))]
The sting returned was "3IE23" (actual 316235)
Actually looking at the output here, I guess the issue is the confidence is lower than .1, so it still chose the letters?
The text was updated successfully, but these errors were encountered: