Go to Post Your entire life is a choice - a choice to believe or denounce everything that is ever said to you. - Amanda Morrison [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 14-01-2012, 19:02
shuhao shuhao is offline
Registered User
FRC #4069 (Lo-Ellen Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sudbury
Posts: 138
shuhao is an unknown quantity at this point
OpenCV with Axis Camera

How is it possible to get the camera image to OpenCV running on a computer on the same network?

I was thinking of a separate socket connection to the robot and have cRIO transmit the AxisCamera data over the network to a server on the computer, and that computer does whatever to it.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2012, 19:04
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: OpenCV with Axis Camera

How about the WPI Smart Dashboard stuff? The docs don't look quite done but you can find the installer on the Smart Dashboard project on FIRSTForge and some info in the WPILib Cookbook on the WPILib project. The data then goes over the SmartDashboard connection to the robot.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2012, 19:28
~Cory~'s Avatar
~Cory~ ~Cory~ is offline
Student
AKA: Cory Rypkema
FRC #0706
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Worcester MA
Posts: 216
~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold
Re: OpenCV with Axis Camera

There is atleast 3 different topics started about that question. Do a search and youll find a ton of information.

Quote:
How is it possible to get the camera image to OpenCV running on a computer on the same network?
Obtain the MJPEG stream directly from the camera.

Quote:
I was thinking of a separate socket connection to the robot and have cRIO transmit the AxisCamera data over the network to a server on the computer, and that computer does whatever to it.
sockets. There are rules on the port numbers, however.


706 has a semi working system and are going to be posting a full length tutorial on how to do the obtainment of an MJPEG, filter bad colors, find a rectangle, take those points and fit them to a mathematical model (distance and angle, ray style), rectify that model, apply it in an algorithm, create a socket server and client, and send it back.
__________________
corin.rypkema.org
WPI Class of '17
'12 Dean's List Finalist, Mentor of 706 - Cyberhawks
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2012, 19:37
shuhao shuhao is offline
Registered User
FRC #4069 (Lo-Ellen Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sudbury
Posts: 138
shuhao is an unknown quantity at this point
Re: OpenCV with Axis Camera

Quote:
Originally Posted by ~Cory~ View Post
Obtain the MJPEG stream directly from the camera.
This is what I plan to do.. Not sure how.. though
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2012, 19:49
~Cory~'s Avatar
~Cory~ ~Cory~ is offline
Student
AKA: Cory Rypkema
FRC #0706
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Worcester MA
Posts: 216
~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold
Re: OpenCV with Axis Camera

go to the axis camera's (first set it up following the instructions... can't find a link...) webpage. For us its 10.7.6.19 (10.xx.yy.zz) where xx yy is the team number, excluding zeros, and zz is the ip you set the camera to. Then go to the setup page, login, and then go to the html/webpage tab. Enter in the parameters you want and it will give you the url for the specific mjpeg stream.
Our current one is: http://10.7.6.19/axis-cgi/mjpg/video...lution=640x480
__________________
corin.rypkema.org
WPI Class of '17
'12 Dean's List Finalist, Mentor of 706 - Cyberhawks

Last edited by ~Cory~ : 14-01-2012 at 19:50. Reason: derp grammmmarrr
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2012, 20:43
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,073
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: OpenCV with Axis Camera

Quote:
Originally Posted by ~Cory~ View Post
where xx yy is the team number, excluding zeros
You can leave the zeros in. The software is smart enough to ignore them. For us, 13.06 automatically resolves to 13.6.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

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 10:43.

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