mirror of
https://gitee.com/open-visual/face-search.git
synced 2025-07-25 19:41:42 +08:00
commit
5299eada33
@ -49,7 +49,7 @@ public class FaceSearchExample {
|
|||||||
|
|
||||||
/**添加样本数据*/
|
/**添加样本数据*/
|
||||||
public static void index(){
|
public static void index(){
|
||||||
String indexPath = "face-search-test/src/main/resources/image/noface";
|
String indexPath = "face-search-test/src/main/resources/image/validate/noface";
|
||||||
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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user