How to store and fetch Finger print in Database
-
Hi All, I'm savitri here. I'm doing FingerPrint project. In this project i want to store fingerprint in database and retrieve that fingerprint for comparision.I created one table called "Images" with 2 fields called ID(AutoNumber)and Image(OLE Object). While inserting fingerprint i'm writing SQL statement like this. BYTE* buffer=new BYTE[1632]; buffer=m_RegTemplate.pbData;//m_RegTemplate is DATA_BLOB Type. "INSERT INTO Images(Image) VALUES('"+buffer+"')"; I'm not getting how to retrieve the fingerprint from the database table. i want to save that retrieved fingerprint into m_RegTemplate.pbData for comparision. Please tell me how to solve this problem and Give me some hints. Thanks in Advance Regards, Savitri P :((
-
Hi All, I'm savitri here. I'm doing FingerPrint project. In this project i want to store fingerprint in database and retrieve that fingerprint for comparision.I created one table called "Images" with 2 fields called ID(AutoNumber)and Image(OLE Object). While inserting fingerprint i'm writing SQL statement like this. BYTE* buffer=new BYTE[1632]; buffer=m_RegTemplate.pbData;//m_RegTemplate is DATA_BLOB Type. "INSERT INTO Images(Image) VALUES('"+buffer+"')"; I'm not getting how to retrieve the fingerprint from the database table. i want to save that retrieved fingerprint into m_RegTemplate.pbData for comparision. Please tell me how to solve this problem and Give me some hints. Thanks in Advance Regards, Savitri P :((
I don't have any idea in depth, but I've seem my mates working on similar assignments. People actually use "Hashing" on image files. They create hash values for images and store it along with the image files in DB. When you want to compare a new file, they don't read the images from DB and compare with the new file, the create create a hash value for the new file and compare against the hash values in the database.. Check here[^]
He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus