getbouncer / cardscan-ios

A library for scanning credit and debit cards
MIT License
203 stars 67 forks source link

Main loop state machine #197

Closed kingst closed 4 years ago

kingst commented 4 years ago

This is a simple state machine for OCR -- we'll build off of this for the more complex fraud flows in a later PR.

jaimejiyepark commented 4 years ago

so to my understanding, every time there is a prediction then it checks if the event warrants a transition and if so the state machine class is updated?