![]() |
Vision tracking and camera server rectangle draws in only one spot
I am trying to draw a rectangle on the output based on the detected contours.
What i am getting is it works on initialization and then when you move the target, the rectangles are still in the same place. I am not sure where I am going wrong. Code:
HttpCamera camera = CameraServer.getInstance().addAxisCamera("10.4.96.20"); |
Re: Vision tracking and camera server rectangle draws in only one spot
You have an infinite loop in the pipeline callback, so once the pipeline finds a contour, it will not run again.
|
Re: Vision tracking and camera server rectangle draws in only one spot
Where is it getting caught? I assumed that in the while(!thread.interupted) would continue to grab a new frame and process as long the thread was running.
|
| All times are GMT -5. The time now is 09:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi