package it.acxent.face.callable; import it.acxent.db.ResParm; import it.acxent.face.FaceRecognizer; import it.acxent.face.FotoFace; import java.util.concurrent.Callable; public class FotoFaceRecognizerByModelCallable implements Callable { private FotoFace row; private FaceRecognizer faceRecognizer; public FotoFaceRecognizerByModelCallable(FotoFace row, FaceRecognizer faceRecognizer) { this.row = row; this.faceRecognizer = faceRecognizer; } public ResParm call() throws Exception { return this.row.recognize(this.faceRecognizer, true); } }