Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Hashim_K_
Beginner
94 Views

Getting Access violation error

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