Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to store and fetch Finger print in Database

How to store and fetch Finger print in Database

Scheduled Pinned Locked Moved C / C++ / MFC
databasecomhelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    savitri
    wrote on last edited by
    #1

    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 :((

    E 1 Reply Last reply
    0
    • S savitri

      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 :((

      E Offline
      E Offline
      Eytukan
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups