PayCardsRecognizer Issue

I am using PayCardsRecognizer framework in my app, I am getting bleow response on this(“func payCardsRecognizer(_ payCardsRecognizer: PayCardsRecognizer, didRecognize result: PayCardsRecognizerResult) {}”) method:

Number:(null), Rect:{{0, 0}, {0, 0}} Name:(null), Expiration:(null)/(null) Image:(null)

// here is my Setup for recognizer:
recognizer = PayCardsRecognizer(delegate: self, recognizerMode: .grabCardImage, resultMode: .async, container: self.view, frameColor: .red)

I want capture image on this response.
Please help me.