...
Call GiniCapture.cleanup()
after the user sees (and potentially corrects) the extractions and uses them to perform an action (e.g.for example, a payment transaction). Pass the same values to cleanup()
which the user sees and uses in your UI.
...