update:修改测试用例

This commit is contained in:
divenswu 2023-04-13 14:50:55 +08:00
parent 1d94f4a7d9
commit c86be0aa47

View File

@ -49,7 +49,7 @@ public class FaceSearchExample {
/**添加样本数据*/ /**添加样本数据*/
public static void index(){ public static void index(){
String indexPath = "face-search-test/src/main/resources/image/validate/noface"; String indexPath = "face-search-test/src/main/resources/image/validate/index";
for(String name : Objects.requireNonNull(new File(indexPath).list())){ for(String name : Objects.requireNonNull(new File(indexPath).list())){
System.out.println(name); System.out.println(name);
File files[] = Paths.get(indexPath, name).toFile().listFiles(); File files[] = Paths.get(indexPath, name).toFile().listFiles();
@ -122,8 +122,8 @@ public class FaceSearchExample {
/**main**/ /**main**/
public static void main(String[] args) { public static void main(String[] args) {
// collect(); collect();
// index(); index();
search(); search();
} }