mirror of
https://gitee.com/open-visual/face-search.git
synced 2025-07-25 19:41:42 +08:00
update:1.2.0
This commit is contained in:
parent
2d3f532235
commit
1d144fc3c6
@ -22,6 +22,9 @@ public class FaceCompareExample {
|
|||||||
public static String serverHost = "http://127.0.0.1:8080";
|
public static String serverHost = "http://127.0.0.1:8080";
|
||||||
//docker部署模式
|
//docker部署模式
|
||||||
//public static String serverHost = "http://127.0.0.1:56789";
|
//public static String serverHost = "http://127.0.0.1:56789";
|
||||||
|
//远程测试服务
|
||||||
|
//public static String serverHost = "http://face-search.diven.nat300.top";
|
||||||
|
|
||||||
public static FaceCompare faceSearch = FaceCompare.build(serverHost);
|
public static FaceCompare faceSearch = FaceCompare.build(serverHost);
|
||||||
|
|
||||||
/**搜索*/
|
/**搜索*/
|
||||||
|
@ -20,6 +20,8 @@ public class FaceSearchExample {
|
|||||||
public static String serverHost = "http://127.0.0.1:8080";
|
public static String serverHost = "http://127.0.0.1:8080";
|
||||||
//docker部署模式
|
//docker部署模式
|
||||||
//public static String serverHost = "http://127.0.0.1:56789";
|
//public static String serverHost = "http://127.0.0.1:56789";
|
||||||
|
//远程测试服务
|
||||||
|
//public static String serverHost = "http://face-search.diven.nat300.top";
|
||||||
public static String namespace = "namespace_1";
|
public static String namespace = "namespace_1";
|
||||||
public static String collectionName = "collect_20211201_v05";
|
public static String collectionName = "collect_20211201_v05";
|
||||||
public static FaceSearch faceSearch = FaceSearch.build(serverHost, namespace, collectionName);
|
public static FaceSearch faceSearch = FaceSearch.build(serverHost, namespace, collectionName);
|
||||||
@ -113,8 +115,8 @@ public class FaceSearchExample {
|
|||||||
|
|
||||||
/**main**/
|
/**main**/
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
collect();
|
// collect();
|
||||||
index();
|
// index();
|
||||||
search();
|
search();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user