I can't preform a landmark query points, an exception is thrown. "a heap has been corrupted" and it references this: ntdll.dll
I can find and draw face rectangle, find the pose, but when I try to get landmark points and exception is thrown.
Code:
LandmarkPoint lp = new LandmarkPoint();
LandmarksData ld = face.QueryLandmarks();
if (ld != null){
int j = ld.QueryNumPoints(); ---> just this works
int i = ld.QueryPoints(lp); ---> with this exception is thrown
System.out.println("Number of Points"+ i);
}
public int QueryPoints(PXCFaceData.LandmarkPoint outPoints) {
... }
That's the lib-gdx QueryPoints. It's supposed that this receives an array of points, not only one. Where can I change this?
I can't preform a landmark query points, an exception is thrown. "a heap has been corrupted" and it references this: ntdll.dll
I can find and draw face rectangle, find the pose, but when I try to get landmark points and exception is thrown.
Code: LandmarkPoint lp = new LandmarkPoint(); LandmarksData ld = face.QueryLandmarks(); if (ld != null){ int j = ld.QueryNumPoints(); ---> just this works int i = ld.QueryPoints(lp); ---> with this exception is thrown System.out.println("Number of Points"+ i); }
Prints: http://prntscr.com/76aw31 http://prntscr.com/76aweo http://prntscr.com/76awmg
Any guess? Can you help @badlogic ? Thanks in advance