Resource-Efficient Hardware Implementation of a Neural-based Node for Automatic Fingerprint Classification