From d343b71cd89f59a87e85c46ce7a04d47c357462d Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期二, 25 七月 2017 15:46:45 +0800
Subject: [PATCH] 

---
 VisitFace/DemoForBsk/app/src/main/java/com/luxand/FSDK.java |   26 +++++---------------------
 1 files changed, 5 insertions(+), 21 deletions(-)

diff --git a/VisitFace/DemoForBsk/app/src/main/java/com/luxand/FSDK.java b/VisitFace/DemoForBsk/app/src/main/java/com/luxand/FSDK.java
index 30b3556..0cee9be 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/com/luxand/FSDK.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/com/luxand/FSDK.java
@@ -1,8 +1,3 @@
-/*
- * FaceSDK Library Interface
- * Copyright (C) 2015 Luxand, Inc.
- */
-
 package com.luxand;
 
 public class FSDK
@@ -11,10 +6,7 @@
 		System.loadLibrary("stlport_shared");
 		System.loadLibrary("fsdk");
 	}
-	
-	
-	// Error codes
-	
+
 	public static final int FSDKE_OK = 0;
 	public static final int FSDKE_FAILED = -1;
 	public static final int FSDKE_NOT_ACTIVATED = -2;
@@ -44,15 +36,10 @@
 	public static final int FSDKE_UNSUPPORTED_TEMPLATE_VERSION = -26;
 	public static final int FSDKE_CAMERA_INDEX_DOES_NOT_EXIST = -27;
 
-	
-	
-	// Facial feature count
-	
+
 	public static final int FSDK_FACIAL_FEATURE_COUNT = 66;
 	
-	
-	// Types
-	
+
     public static class FSDK_VIDEOCOMPRESSIONTYPE {
         public static final int FSDK_MJPEG = 0;
         public int type;
@@ -65,11 +52,11 @@
 		public int mode;
 	}
 	
-	public static class HImage {  //to pass himage "by reference"
+	public static class HImage {
 		protected int himage;
 	}
 	
-	public static class HCamera {  //to pass hcamera "by reference"
+	public static class HCamera {
 		protected int hcamera;
 	}
 	
@@ -108,8 +95,6 @@
 		public byte template[] = new byte[13324];
 	}
 
-	
-	// Facial features
 
 	public static final int FSDKP_LEFT_EYE = 0;
 	public static final int FSDKP_RIGHT_EYE	= 1;
@@ -181,7 +166,6 @@
 
 	
 	public static native int ActivateLibrary(String LicenseKey);
-	//public static native int GetHardware_ID(String HardwareID[]); //not implemented
 	public static native int GetLicenseInfo(String LicenseInfo[]);
 	public static native int SetNumThreads(int Num);
 	public static native int GetNumThreads(int Num[]);   

--
Gitblit v1.8.0