Hi can anyone help me. Currently im using Luxand and c#.
I want to save my 2nd image using different name. But How can anyone help me?
Heres my codes:
public partial class Form1 : Form
{
string Filelocation = @"D:\Facial Based Tracker Device\Images\Viewer.jpg";
.
.
.
.
FSDK.CreateEmptyImage(ref fr.FaceImageHandle);
FSDK.DetectFacialFeaturesInRegion(fr.ImageHandle, ref fr.FacePosition, fr.FacialFeatures);
FSDK.GetFaceTemplateUsingFeatures(fr.ImageHandle, fr.FacialFeatures, fr.Template);
FSDK.CopyRect(fr.ImageHandle, (int)(fr.FacePosition.xc - Math.Round(fr.FacePosition.w * 0.5)), (int)(fr.FacePosition.yc - Math.Round(fr.FacePosition.w * 0.5)), (int)(fr.FacePosition.xc + Math.Round(fr.FacePosition.w * 0.5)), (int)(fr.FacePosition.yc + Math.Round(fr.FacePosition.w * 0.5)), fr.FaceImageHandle);
FSDK.SaveImageToHBitmap(fr.FaceImageHandle, ref fr.FaceImageBmp);
FSDK.SaveImageToFile(fr.FaceImageHandle, Filelocation);
}