- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a student working on a project which is using the realsense camera's facial recognition module as a login method for part of our website. Because it is running on a website we are unable to use the facial recognition module within the site itself. Our idea was to use javascript to capture the image information and then send it to our windows server which would then cast it to a PXCMFaceData and run the following (incomplete code) on it
PXCMFaceData user = //data from javascript; PXCMFaceData.Face face = user.QueryFaceByIndex(0); if (face != null) { recognitionData = face.QueryRecognition(); if (recognitionData.IsRegistered()) { //do stuff }
My first question is this, is what we are planning possible? is there a better way to go about it?
The other half of our implementation is getting our stored user information out of the database to use as a comparison. we are running a mysql server and plan to get the data from the database and cast it like so
try { SqlDataReader Reader = null; SqlCommand Command = new SqlCommand("select * from table", //add correct SQL command COMMAND NEEDS to ignore any user who does not have facial recognition setup myConnection); Reader = Command.ExecuteReader(); while(Reader.Read()) { user = (PXCMFaceData)Reader["faceRec"]); WWID.add(Reader["WWID"].ToString()); PXCMFaceData.Face face = user.QueryFaceByIndex(0); if(face != null) { recognitionData = face.QueryRecognition(); recognitionData.RegisterUser(); } } }
This would create the local database used in the isRegistered() function, again is this possible? is there a better way to go about it?
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page