Go to Post For our next exercise, we should define Beauty and Truth. :) - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-12-2013, 19:53
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,058
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Slides: Image processing on the driver station using python+OpenCV

I presented a workshop this afternoon at workshops hosted by Team 1418 in Falls Church, VA. The topic was "Image processing on the driver station using python", and discussed some basic image processing techniques that my team successfully used last year. It was pretty well received, so I've posted the slides + sample code on my website. I hope you will find it useful!

http://www.virtualroadside.com/FRC/#Workshop-2013-12
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
  #2   Spotlight this post!  
Unread 07-12-2013, 21:40
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Talking Re: Slides: Image processing on the driver station using python+OpenCV

Dude, you've just helped get rid of some of my headache! Reps to you!

I have been wanting to do onboard vision tracking and my team wants to do DS tracking. However, it becomes a lot harder with the lag, so we would need much better programmers on our team than we have. However, I would need to do this in C. Anyways, Thanks!
  #3   Spotlight this post!  
Unread 08-12-2013, 00:41
gluxon's Avatar
gluxon gluxon is offline
\n
AKA: Brandon Cheng
FRC #0178 (The 2nd Law Enforcers)
Team Role: Leadership
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Connecticut
Posts: 65
gluxon has a spectacular aura aboutgluxon has a spectacular aura aboutgluxon has a spectacular aura about
Re: Slides: Image processing on the driver station using python+OpenCV

Thanks for uploading this. I definitely want to try it out at some point!
  #4   Spotlight this post!  
Unread 13-12-2013, 15:38
Patrick Shainin Patrick Shainin is offline
Registered User
FRC #3238
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2009
Location: Anacortes, Washington, USA
Posts: 5
Patrick Shainin is an unknown quantity at this point
Re: Slides: Image processing on the driver station using python+OpenCV

Is it true that opencv needs to be used with python2 rather than python3? (We have it working now for python2).

Our team is also learning a lot from using your fake-wpilib and had been using that with python3. So we are experimenting with having the robot code developed and tested on a laptop with python3, with pynetworktables configured for python3 to aid in testing communications.

Then we're experimenting with building a driver station vision processing python2 app, using opencv (and also standing on the shoulders of Team341.) So again we configured pynetworktables to work with python2 as well.

Thanks for blazing the trail.
  #5   Spotlight this post!  
Unread 13-12-2013, 16:55
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,058
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Slides: Image processing on the driver station using python+OpenCV

Quote:
Originally Posted by Patrick Shainin View Post
Is it true that opencv needs to be used with python2 rather than python3? (We have it working now for python2).
That is correct. I believe the next major version of OpenCV (version 3.0) will have Python 3 support, but it has not been released yet. According to their roadmap, it is expected to be released in February 2014.

Quote:
Thanks for blazing the trail.
Glad to hear someone else is finding it all useful!
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Closed Thread


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 03:11.

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