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 FaceDetector(photo)
|
||||
).start();
|
||||
// new Thread(
|
||||
// new FaceDetector(photo)
|
||||
// ).start();
|
||||
|
||||
new FaceDetector(photo).run();
|
||||
|
||||
ImageView imageView = new ImageView(wr);
|
||||
imageViews.add(imageView);
|
||||
|
Loading…
Reference in New Issue
Block a user