Go to Post Adult coaches are the "rock stars" of our program, and I know on Simbotics the kids really do look up to and aspire to be a great as these coaches. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 13-01-2015, 17:53
Lloydpro Lloydpro is offline
Registered User
AKA: Jacob Beeman
FRC #3495 (Mindcraft)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Fresno, CA
Posts: 10
Lloydpro is an unknown quantity at this point
Need Help with vision tracking in Java

So this is only my second year in robotics and I haven't had a lot of experience with the vision side. My team has decided that they want to stack all the totes during autonomous by ourselves, but in order to do that we will need to be able to process the image from the camera into values that we can analyze and act to accordingly. I unfortunately do not know what the vision methods do, and since there are so many of them, it is a little hard to understand what they all do and use them.
However I do have an idea as to what I want to do. I want to take the image that the camera gives me and turn it into a binary array, then scan the array for how many 1s are on each side, and then shift the robot to whichever side has less 1s. I just can't seem to turn this into actual code. I mainly just need a method from the NIVision class that will take the image and turn it into binary. Does anyone know what I might be able to use and can you explain how the method works and how to set up the parameters? Any advice is greatly appreciated. If you have questions, feel free to ask.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:08.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi