S
Size: a a a
S
D
D
A
D
D
D
D
DV
detectText(_ image: URL, result: FlutterResult) {
_ = Amplify.Predictions.identify(type: .detectText(.form), image: image, options: PredictionsIdentifyRequest.Options(), listener: { (event) in
switch event {
case .completed(let result):
let data = result as! IdentifyDocumentTextResult
print(data)
result(data)
case .failed(let error):
print(error)
default:
print("")
}
})
} который должен делать вызов к AWS Textract, но ругается в Xcode - AppDelegate.swift:39:22: error: cannot infer contextual base in reference to member 'completed'D
VR
Ш
D
D
D
S
D
D
S
D