Go to Post I love our bot. I think I want to take it to prom...:D - prettycolors91 [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2012, 21:18
kevint kevint is offline
Kevin Tesei
AKA: Kevin Tesei
FRC #1323 (Mad Town Robotics)
Team Role: Programmer
 
Join Date: Nov 2010
Rookie Year: 2009
Location: Madera California
Posts: 14
kevint will become famous soon enough
image processing with javacv and smart dashboard

Hey this year our teams has decided to do the image processing on the driver station laptop (java). I have the smart dashboard installed and can use it to send values between the robot and the driverstation. I was wondering how to get the video feed from the axis camera to appear on the smart dashboard. Also I haven't been able to get the libraries for javacv to appear in my netbeans. I've read through the wpi cookbook and a few other places but have hit a dead end. Any help would be appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2012, 15:12
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: image processing with javacv and smart dashboard

when you say how, do you mean what do you plug in on the robot to get video feed? if so, then plug in an ethernet cable into the camera and into the CRio.
__________________
in FIRST, it's process over product, and team over robot.
http://www.roguerobotsof4h.com/
Team 3585 Rogue Robots of 4-H
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2012, 15:30
kevint kevint is offline
Kevin Tesei
AKA: Kevin Tesei
FRC #1323 (Mad Town Robotics)
Team Role: Programmer
 
Join Date: Nov 2010
Rookie Year: 2009
Location: Madera California
Posts: 14
kevint will become famous soon enough
Re: image processing with javacv and smart dashboard

No I know how to do that. I can get the camera feed on the old dashboard. I need to know what settings I need to use or something...
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2012, 17:54
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: image processing with javacv and smart dashboard

By default, the Axis camera will not show images to the Smart Dashboard.
You must change the settings on the camera to allow anonymous viewing. After that, if the IP of the camera is set (make sure View > Editable is checked then right click the camera and select Preferences) you should start seeing images.

The wiki page of the SmartDashboard has some useful information, including how to make your own extensions.
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Reply With Quote
  #5   Spotlight this post!  
Unread 23-01-2012, 19:47
kevint kevint is offline
Kevin Tesei
AKA: Kevin Tesei
FRC #1323 (Mad Town Robotics)
Team Role: Programmer
 
Join Date: Nov 2010
Rookie Year: 2009
Location: Madera California
Posts: 14
kevint will become famous soon enough
Re: image processing with javacv and smart dashboard

Thanks the anonomous request thing was the problem. That's perfect. On a similar note I found out were to get the jar file I needed. They were on the left >_< http://code.google.com/p/javacv/
Reply With Quote
  #6   Spotlight this post!  
Unread 04-04-2012, 18:58
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: image processing with javacv and smart dashboard

Quote:
Originally Posted by Patrickwhite View Post
By default, the Axis camera will not show images to the Smart Dashboard.
You must change the settings on the camera to allow anonymous viewing. After that, if the IP of the camera is set (make sure View > Editable is checked then right click the camera and select Preferences) you should start seeing images.

The wiki page of the SmartDashboard has some useful information, including how to make your own extensions.
How do you change the settings for anonymous viewing
__________________
in FIRST, it's process over product, and team over robot.
http://www.roguerobotsof4h.com/
Team 3585 Rogue Robots of 4-H
Reply With Quote
  #7   Spotlight this post!  
Unread 04-04-2012, 20:17
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,817
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: image processing with javacv and smart dashboard

Use a web browser to browse to he camera's IP address
Login is username: FRC Password: FRC
Go to Setup and there will be a check box for autonomous viewing
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 07-04-2012, 16:35
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,817
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: image processing with javacv and smart dashboard

The check box is found under
Setup->System Options->Security->Users
Enable anonymous viewer login
Here's a screen shot of the page on the Axis M1011. It's similar on the older Axis 206 camera.
Attached Thumbnails
Click image for larger version

Name:	AxisAnonymousViewing.jpg
Views:	116
Size:	102.7 KB
ID:	12559  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 11:41.

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