How to match fingerprint templet(bio metric registration) in rails?

Is it possible biometric registration in ROR ?. I want to match two
fingerprint templates to authenticate the user in ruby on rails.