You can’t get fingerprint template or image from android Fingerprint API.
Fingerprint data are stored in a secure place by android system and are not accessible.
But you can ask the system to authenticate the user.
Here sample code
The doc, in section Fingerprint Authentication