This is our first year of vision processing. I am trying to figure out what goes in for the "listener" portion for the VisionThread.
Code:
visionThread = new VisionThread(server, new GripPipeline(),?){
if (!gripPipeline.filterContoursOutput().isEmpty()) {
Rect r = Imgproc.boundingRect(gripPipeline.filterContoursOutput().get(0));
synchronized (imgLock){
centerX = r.x + (r.width / 2);
}
}
}
Please help!