|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Listener from VisionThread? What do I put in this?
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);
}
}
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|