EDCC-Palmprint-Recognition icon indicating copy to clipboard operation
EDCC-Palmprint-Recognition copied to clipboard

How to save encode of palm recognition become a file

Open LuthfanHadi opened this issue 2 years ago • 1 comments

I had to save encode of palmprint become a file with pickle, but i had this error:

Traceback (most recent call last):
  File "/home/pi/Coba/PalmDetection/PalmRecognition.py", line 19, in <module>
    bytes = pickle.dumps(one_palmprint_code)
_pickle.PicklingError: Can't pickle <class 'ctypes.c_char_Array_849'>: attribute lookup c_char_Array_849 on ctypes failed

What should i do to save the encode? i need to save that because i will send this to database

thanks

LuthfanHadi avatar Jul 12 '21 06:07 LuthfanHadi

Did you solve this problem?

Evaalee avatar May 05 '22 11:05 Evaalee