View Single Post
  #9   Spotlight this post!  
Unread 13-01-2012, 23:17
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Re: Tracking in JAVA?

I have no experience with it, but the Labview code lets you play with threshold values as you operate the camera. You should check the Labview subforum for this; there are some people from NI who know much much more about it than me.

I'm sorry, but the "detect rectangles" code is only in C++ and labview... I'm relatively sure that if sample code is posted like it is most years, it will contain rectangle detection code (that is, if sample code is posted). Once you find a nice threshold, you should look at the particle reports, since those are what you will be analyzing. You can get the bounding rectangle of a piece of the image, and know the expected area filled (since you know the width of the tape), and can compare that to the particle filled area...but i would concentrate on the thresholding for now

Everyone is a noob sometime, that's what these forums (and FIRST) are for
Reply With Quote