From 1621a97f2bf85b53d40ae98fbc15b99239e1535f Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期六, 26 一月 2019 16:11:59 +0800 Subject: [PATCH] 人脸对比优化 --- QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp b/QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp index 4dac82e..6e2ed40 100644 --- a/QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp +++ b/QiaoJiaSystem/LocalDBTool/SqliteToolkit.hpp @@ -65,6 +65,7 @@ std::string uuid; std::string faceurl; FaceFeature faceFeature; + std::string enable; }; typedef std::map<std::string, FaceFeatureWithUrl> FeatureDBWithUrlCache; @@ -86,7 +87,7 @@ // std::string getFacesFromTableSql(std::string tableName) { std::string sql = - "select uuid,feature,create_time,faceUrl,del_flag from '" + tableName + + "select uuid,feature,create_time,faceUrl,del_flag,enabled from '" + tableName + "_fea' where feature is not null "; return sql; } -- Gitblit v1.8.0