Package org.hyperonline.hyperlib.vision
Interface TargetProcessor
-
- All Known Implementing Classes:
AbstractTargetProcessor
,ClosestPairTargetProcessor
,ClosestTargetProcessor
,SkewPairTargetProcessor
public interface TargetProcessor
Interface for taking a list of rectangles found, and doing something useful with that information, such as making it available as a PID source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(java.util.List<org.opencv.core.Rect> targets)
Extract the result type from a list of rectangles found.void
writeOutput(org.opencv.core.Mat mat)
Draw overlays on the image.
-
-
-
Method Detail
-
process
void process(java.util.List<org.opencv.core.Rect> targets)
Extract the result type from a list of rectangles found.- Parameters:
targets
- The list of targets found.
-
writeOutput
void writeOutput(org.opencv.core.Mat mat)
Draw overlays on the image. This should give the user some indication of what the result ofprocess(List)
was.- Parameters:
mat
- The image to draw on.
-
-