set processing faces on one thread with DirectoryScanner
This commit is contained in:
parent
2c7b2cb4c4
commit
d6c6621b28
@ -55,9 +55,11 @@ public class DirectoryScanner implements Runnable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
new Thread(
|
// new Thread(
|
||||||
new FaceDetector(photo)
|
// new FaceDetector(photo)
|
||||||
).start();
|
// ).start();
|
||||||
|
|
||||||
|
new FaceDetector(photo).run();
|
||||||
|
|
||||||
ImageView imageView = new ImageView(wr);
|
ImageView imageView = new ImageView(wr);
|
||||||
imageViews.add(imageView);
|
imageViews.add(imageView);
|
||||||
|
Loading…
Reference in New Issue
Block a user