xuxiuxi
2017-07-11 76577620237faa3f229678bdf1c2d89b8f65ca68


git-svn-id: http://192.168.1.226/svn/proxy@700 454eff88-639b-444f-9e54-f578c98de674
1个文件已修改
20 ■■■■ 已修改文件
VisitFace/DemoForBsk/app/src/main/java/com/luxand/FSDK.java 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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,9 +6,6 @@
        System.loadLibrary("stlport_shared");
        System.loadLibrary("fsdk");
    }
    // Error codes
    
    public static final int FSDKE_OK = 0;
    public static final int FSDKE_FAILED = -1;
@@ -45,13 +37,8 @@
    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;
@@ -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[]);