Remove cruft

This commit is contained in:
Abdelrahman Mahmoud 2015-04-21 14:17:46 -04:00
parent 617c7375c9
commit 977f324c72

View file

@ -454,13 +454,11 @@ namespace AffdexMe
{ {
try try
{ {
DateTime functionEnter = DateTime.Now;
mCurrentTimeStamp = image.getTimestamp(); mCurrentTimeStamp = image.getTimestamp();
// Update the Image control from the UI thread // Update the Image control from the UI thread
//imgAffdexFaceDisplay.Source = rtb; //imgAffdexFaceDisplay.Source = rtb;
imgAffdexFaceDisplay.Source = ConstructImage(image.getBGRByteArray(), image.getWidth(), image.getHeight()); imgAffdexFaceDisplay.Source = ConstructImage(image.getBGRByteArray(), image.getWidth(), image.getHeight());
var elapseTime = (DateTime.Now - functionEnter).Milliseconds;
// Allow N successive OnCapture callbacks before the FacePoint drawing canvas gets cleared. // Allow N successive OnCapture callbacks before the FacePoint drawing canvas gets cleared.
if (++mFeaturePointsSkipCount > 4) if (++mFeaturePointsSkipCount > 4)