Go to Post CD would not be what it is without Brandon - Richard Wallace [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 16-01-2017, 12:44
Noam Noam is offline
Registered User
None #3034 (galileo)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Israel
Posts: 13
Noam is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2017, 06:21
acastagna acastagna is offline
Registered User
FRC #1493
 
Join Date: Jan 2012
Location: Albany High School
Posts: 38
acastagna is an unknown quantity at this point
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.
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 12:35.

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