i want store data in computer and use it in multiple sensors.
to download i used below code:
f.loadTemplate(0, 0x01)
characters = f.downloadCharacteristics(0x01)
w = open('/home/pi/id/id01', 'w')
w.write((str(characters)))
w.close()
to upload:
r = open('/home/pi/id/id01', 'r')
b = bytearray(r.read(), 'utf-8')
f.uploadCharacteristics(0x01, b)
f.storeTemplate(0, 0x01)
the upload and download goes fine but when i try to match finger with newly uploaded finger data it says no match found.
i found in a thread https://github.com/bastianraschke/pyfingerprint/issues/59 @ardawan @philippmeisberger @bastianraschke
i dont know how to convert data in this .please do help
i want store data in computer and use it in multiple sensors.
to download i used below code: f.loadTemplate(0, 0x01) characters = f.downloadCharacteristics(0x01) w = open('/home/pi/id/id01', 'w') w.write((str(characters))) w.close()
to upload: r = open('/home/pi/id/id01', 'r') b = bytearray(r.read(), 'utf-8') f.uploadCharacteristics(0x01, b) f.storeTemplate(0, 0x01)
the upload and download goes fine but when i try to match finger with newly uploaded finger data it says no match found. i found in a thread https://github.com/bastianraschke/pyfingerprint/issues/59 @ardawan @philippmeisberger @bastianraschke i dont know how to convert data in this .please do help