Fingerprint sensor r305 not getting detected

I have bought finger print sensor r305.but arduino is not detecting it even after giving the connection properly.I have downloaded the code from adafruit library. Do i need to check anything to find the problem?

Where's the link to the product? And post a wiring diagram and a link to the adafruit library you're using. The library I found is for the ZFM-20 module which Adafruit sells. Is your sensor identical?