BACKUP-working on improving finger detector
backing up a working code
todo: continue improving && commenting fingerdetector