Go to Post It's a process of elimination led by inspiration. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-01-2012, 17:38
ntm739182 ntm739182 is offline
Registered User
FRC #1829
 
Join Date: May 2011
Location: Virginia
Posts: 2
ntm739182 is an unknown quantity at this point
Question Testing Vision Tracking w/ Webcam?

Hey guys, as I'm sure many of you have been doing, I've been looking around for information about vision tracking for our robot. I've found some pretty decent stuff, but I'm having a pretty major problem. I can only test live video from the robot's axis camera, which I don't have access to most of the time. Due to this, I can't test my programs until I'm actually at a team meeting, which is seriously delaying my progress. Does anybody know how to utilize the webcam (either built-in or USB) in LabVIEW? If I could capture a live stream coming from my webcam, then I could test and revise my programs from home, and not worry about spending all of my time at meetings on this one thing. If there are plugins I need, or if it's simply impossible, I'd like to know either way, so please feel free to be blunt.
Any solutions to this matter would be GREATLY appreciated! =D
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2012, 17:46
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: Testing Vision Tracking w/ Webcam?

I am testing at home using the camera with no cRIO/robot. I just connected the webcam directly to my pc with a xover cable. Then I was able to run the example rectangle detecting example in labview.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2012, 18:39
ntm739182 ntm739182 is offline
Registered User
FRC #1829
 
Join Date: May 2011
Location: Virginia
Posts: 2
ntm739182 is an unknown quantity at this point
Re: Testing Vision Tracking w/ Webcam?

I understand that you could use the axis camera without the robot, my problem is that I don't have an axis camera at home... Our axis camera is team property and I wouldn't feel comfortable taking that home because I live about a half an hour away from where our team meets. In addition to that, I think it'd be nice to have a function so that in future projects, I wouldn't have to rely on having access to some camera that isn't mine.
Please, if ANYONE knows a way to capture live webcam feed that can be wired into other functions, please let me know! =D
Reply With Quote
  #4   Spotlight this post!  
Unread 15-01-2012, 19:16
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Testing Vision Tracking w/ Webcam?

What I'd suggest is setting up a bit of field and saving a few dozen images into a folder. Keep pretty good notes of how they were taken and where the camera was (height, distance, etc.) You may also find it useful to have a tape measure in the images.

Then your image processing can be carried out on the folder of images. Vision Assistant makes it easy to do this. It is also easy to build a program that calls your image processing VI, passing in the one from the camera or file, depending on the circumstance.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 26-01-2012, 22:59
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,873
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: Testing Vision Tracking w/ Webcam?

greetings,

Finally got the camera working after the update. I can see a live feed of the camera but I can't seem to save any of these images to start testing the tracking feature. Where does the assistant save the images by default?
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
  #6   Spotlight this post!  
Unread 27-01-2012, 07:42
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Testing Vision Tracking w/ Webcam?

When I hit the save button in vision assistant, it starts at the computer drive list. So, it doesn't have much of a default and depended on the user to pick a directory.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 27-01-2012, 09:03
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,873
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: Testing Vision Tracking w/ Webcam?

that's what I thought, but when I save it to the desktop the files aren't there. Also I have tried to "save to browser" with no success. I must be doing something wrong...
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
Reply


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 08:14.

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