Software Archive
Read-only legacy content
17061 Discussions

Getting Access violation error

Hashim_K_
Beginner
308 Views

Hello,

I am getting the FaceData from a SQL table where the face data is stored for recognition using below snippet. 

                    DataRow dr = recTable.Rows;                    // recTable will obtain the complete FaceData table data.
                    Byte[] buffer = dr.Field<Byte[]>("FaceData");
                    recognitionConfig.SetDatabaseBuffer(buffer);

Here while executing  this recognitionConfig.SetDatabaseBuffer(buffer); at the 0th index, I am getting "AccessViolationException" : Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Can anyone please help me resolving this?

 

0 Kudos
0 Replies
Reply