// A = tag type
sinterface IIIRecognizer {
// Newer version! (Override this)
public default void run(
IProbabilisticScheduler scheduler,
URecognizer.Cell cell,
IVF1 valueToAction) { unimplemented(); }
// Clients can use. Don't override
public default void run(
IProbabilisticScheduler scheduler,
IIntegralImage img,
IVF1 valueToAction) {
run(scheduler, uCell(img), valueToAction);
}
public default IProbabilisticScheduler run(
IIntegralImage img,
IVF1 valueToAction) {
new ProbabilisticScheduler ps;
run(ps, uCell(img), valueToAction);
ret ps;
}
public default IProbabilisticScheduler run(
BufferedImage img,
IVF1 valueToAction) {
new ProbabilisticScheduler ps;
run(ps, IntegralImage(img), valueToAction);
ret ps;
}
}