this fingprint module allows you to use the adafruit fingerprint library, which you can connect with a male cable as shown in the figure.
Github Download Address:
github.com/adafruit/Adafruit-Fingerprint-Sensor-Library
GREEN <---> 2
WHITE <---> 3
BLACK <---> GND
RED <---> 5V
BLUE <---> 3V3 (Very Importted)
YELLOW <---> NO CONNECT