package com.basic.security.utils;
|
|
public class Constants {
|
|
public static boolean isHuaWeiPad = false;
|
public static boolean isMonkeyApk = false;
|
|
// rk3399
|
// public static int RGB_CAMERA = 0;
|
// public static int GRAY_CAMERA = 1;
|
// public static int rotation = 90;
|
// public static boolean useAef = false;
|
|
// 华为平板
|
// public static int RGB_CAMERA = isHuaWeiPad ? 1 : 0;
|
// public static int GRAY_CAMERA = isHuaWeiPad ? 0 : 1;
|
|
// 阿尔法
|
public static boolean useAef = true;
|
public static int RGB_CAMERA = isHuaWeiPad ? 0 : 1;
|
public static int GRAY_CAMERA = isHuaWeiPad ? 1 : 0;
|
public static int rotation = 270;
|
|
public static boolean needIdCardModule = false;
|
|
// 使用红外摄像头
|
public static boolean USE_GRAY_CAMERA = false;
|
|
public static boolean showCapturedImages = false;
|
|
|
//5.1.1的那个是旧的 白色pad的是新的
|
public static boolean isNewIDCardReader = true;
|
|
// 上部播放视频
|
public static boolean simulate_camera = false;
|
|
//删除标识:0-未删除 1-已删除
|
public static int delFlag = 0;
|
//存储当前设备的device_id
|
public static String deviceId = "liuxin";
|
|
public static String erlangLocalNode = "xuxiuxipad@192.168.1.103";
|
|
public static boolean syncToErlang = false;
|
public static boolean useCouchbase = false;
|
public static boolean printSql = false;
|
public static boolean showLog = false;
|
|
public static long compareFeatureTime ;
|
public static float score = 0.0f;
|
|
public static int minRecognizeScoe = 80;
|
|
public static String baseDatabasePath = "/sdcard/security_simplify_database/base_database.db";
|
public static String cacheDatabasePath = "/sdcard/security_simplify_database/cache_database.db";
|
public static String syncDatabasePath = "/sdcard/security_simplify_database/sync_database.db";
|
public static String attachmentPath = "/sdcard/security_simplify_attachment/";
|
|
|
public static String SUCCESS = "success";
|
public static String TRUE = "true";
|
public static String FALSE = "false";
|
|
public static int cameraServerPort = 8880;
|
public static int snapshotServerPort = 8881;
|
public static int relayServerPort = 8882;
|
public static int faceTimeServerPort = 8883;
|
public static int officeServerPort = 8884;
|
|
public static long reconnectInMilliSeconds = 3000;
|
|
public static boolean autoRestart = true;
|
// public static boolean needIdCardModule = false;
|
|
public static boolean useBgrArray = true;
|
public static boolean useNv21ToBgr = false;
|
}
|