|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
image processing with python
Hello, this year my team decided we want to use a camera for image processing (with opencv 3)
We are program the robot with Java, but we want to do the image processing with Python. (because it easier) I have a code in Python that detect faces, and detect the side and the size (regardless of the robot), and I want to use it for the robot. (of course face detection is useless for the robot, but just for the training) How can I combine the Python code with the Java code ? (or it may be better to program the entire robot in python ? (I noticed just today that it's possible to program the robot with Python, so I don't know much about it)) Thanks in advance |
|
#2
|
|||
|
|||
|
Re: image processing with python
My students are doing a similar thing. It's their first year trying vision and they are dong the vision code in python using opencv, while the robot is programmed in java. The vision code runs on a raspberry pi and sends data to the driver station and robot using network tables.
We playing around at first with using opencv in Java. Our choice for python was based on the fact that python was easier to implement on the pi, opencv was easier to work with in python and students have option of working entirely in python next year. Of course this decision was made before we learned opencv was to be bundled with the wpi libraries . Either way I think we made the right decision. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|