View Single Post
  #1   Spotlight this post!  
Unread 18-01-2012, 16:34
neal's Avatar
neal neal is offline
Neal
FRC #1777 (Viking Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2009
Location: United States
Posts: 56
neal is an unknown quantity at this point
Target tracking in Java

This year's target tracking is really hard (not much documentation either) for us. I get how you can get the image and with the threshold, you can find the target. But we have no idea how to do all that in Java. So far this is what we have:
Code:
ColorImage image = AxisCamera.getInstance().getImage();
image.thresholdHSL(hueLow, hueHigh, saturationLow, saturationHigh, luminenceLow, luminenceHigh);
I have no idea what to do next. I'm assuming there's a lot more to do still. I did read a couple white papers from another thread but all that just went over my head. I'm not asking for someone to just post their code, but to explain how all this works. I'd really appreciate all your help.

Also, will FIRST release sample code for Java this year like they did in 2009?

Here is our Github repo if anyone is interested: https://github.com/Neal/Team1777
Reply With Quote