A semiconductor fingerprint sensor, often capacitive, relies on electrical conductivity to create an image of fingerprint patterns. It offers high accuracy and durability. In contrast, an optical fingerprint sensor captures a fingerprint image using light. While optical sensors are cost-effective, they can be more affected by factors like dirt or moisture, potentially impacting accuracy compared to semiconductor sensors.