ViewFaceCoreDemo icon indicating copy to clipboard operation
ViewFaceCoreDemo copied to clipboard

Error

Open masgh21 opened this issue 2 years ago • 0 comments

Hello @View12138 I am new in ViewFaceCoreDemo when I want to test this code , I got this error , Error : System.OverflowException: 'Arithmetic operation resulted in an overflow.' this line: ViewFace.Extract(oldImg, oldPoints)

My Code :

Bitmap _oldImg = new Bitmap(@"images/Jay_4.jpg"); Bitmap oldImg = (Bitmap)ResizeBitmap(_oldImg, 1024, 768); var oldFaceInfos = ViewFace.FaceDetector(oldImg); var oldPoints = ViewFace.FaceMark(oldImg, oldFaceInfos[0]);
var oldEigenValues = ViewFace.Extract(oldImg, oldPoints);

masgh21 avatar Mar 16 '22 14:03 masgh21