Log in

View Full Version : How to identify a section of the camera image.


Stonemotmot
12-01-2012, 21:18
Hello, My team has recently begun to start working on the camera tracking for this years competition and I was wondering if it was possible to create some sort of IF statement either in NIVision or in WindRiver that checks for a box in a specific section of the screen that is predefined.

Alan Anderson
13-01-2012, 22:35
What you are asking for is unclear. Can you describe your needs in a little more detail?

enrique
16-01-2012, 18:05
You can take the circular sample and make it a rectangle.
Here is the code http://www.techtigers.com/ResourceFiles/Programming/C++/Samples/2010ImageDemo.rar

enrique
16-01-2012, 18:06
I posted a link with some code, but it needs to be approved. Not sure how long that will take.

aman200
21-01-2012, 10:44
We cant get this to work. Did you by chance change anything in the WPI lib?