|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Python Vision Tracking
Here is a sample of what my team has done this season in terms of vision processing. All the code is available at https://github.com/Team3574/2013VisionCode
Any questions you have I will try to answer. |
|
#2
|
|||||
|
|||||
|
Re: Python Vision Tracking
Very nice! I love pythons readability and it seems like a great idea to implement vision targeting in python. I assume you didn't program your whole robot in Python (or did you?).
Also: method Point.getTurple() -- Shouldn't it be getTuple? |
|
#3
|
|||
|
|||
|
Re: Python Vision Tracking
Quote:
![]() |
|
#4
|
||||
|
||||
|
Re: Python Vision Tracking
Quote:
http://www.chiefdelphi.com/forums/sh...d.php?t=111530 It is the same concept of using python wrapper around opencv as you did. Last edited by PaulDavis1968 : 17-02-2013 at 01:43. |
|
#5
|
|||
|
|||
|
Re: Python Vision Tracking
I really appreciate an example in Python. A lot of people seem to think using multiple languages will be a problem, but the readability of your example might make them reconsider
![]() I like it! My only complaint is that your use of accessor methods is very un-pythonic. |
|
#6
|
||||
|
||||
|
Re: Python Vision Tracking
My team is doing something similar, and we ended up using a library called "py4j" to use the java network tables client provided by FIRST.
What are you using as a computer? And also, what is the frisbee tracking for? |
|
#7
|
||||
|
||||
|
Re: Python Vision Tracking
I'm another mentor for 3574, I posted our Python NT2 client here: http://www.chiefdelphi.com/forums/sh...d.php?t=113955
Unfortunately we can't use the SIP wrapped libraries as this is running on an ARM platform (Odroid U2). |
|
#8
|
|||
|
|||
|
Re: Python Vision Tracking
Quote:
As my mentor said we are using an ODROID-U2. |
|
#9
|
||||
|
||||
|
Re: Python Vision Tracking
Quote:
I got SIP to build. |
|
#10
|
|||
|
|||
|
Re: Python Vision Tracking
Nice, We also use python for image processing (Team 3211 from Israel).
Why are you not using UDP or TCP to transfer the data? It is very simple with python, and very simple to get the data in Java / LV.. |
|
#11
|
||||
|
||||
|
Re: Python Vision Tracking
But not in c++. (On the robot)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|