|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: how to use openCV?
Quote:
Paul, in your first post you say that to do off cRIO processing you would have to port openCV into vxWorks, but then in your most recent post you say you don't need to port it to do off cRIO processing. |
|
#2
|
|||
|
|||
|
Re: how to use openCV?
Another programmer from team 2523 here...
To clarify- we plan to do the following: 1. Get the image from the camera. 2. Process image on drivestation computer. To do this we use the javacv libraries included in SmartDashboard. We determine the offset of the target from the center of the camera image. 3. Using NetworkTables, send this data back to the robot 4. Move the robot. 5. Rinse, repeat ![]() AFAIK, The OpenCV has to be written manually. Am I right? An automation utility would be great... Thanks! violinuxer |
|
#3
|
|||
|
|||
|
Re: how to use openCV?
OpenCV is just a set of C++/Java/Python libraries. It doesn't generate any code for you....
|
|
#4
|
|||
|
|||
|
Re: how to use openCV?
Quote:
http://pastebin.com/cYtQiKpF Gotta love javadocs! violinuxer |
|
#5
|
|||
|
|||
|
Re: how to use openCV?
One more thing: where might we find the docs for WPI's JavaCV implementation?
Thanks! violinuxer |
|
#6
|
|||
|
|||
|
Re: how to use openCV?
Quote:
Code:
binaryImage = colorImage->ThresholdHSL(######); imaqImage = binaryImage->GetImaqImage(); IVA_ProcessImage(imaqImage); //In here we just convex hull and particle filter vector<ParticleAnalysisReport> *reports = binaryImage->GetOrderedParticleAnalysisReports(); |
|
#7
|
|||
|
|||
|
Re: how to use openCV?
Quote:
|
|
#8
|
||||
|
||||
|
Re: how to use openCV?
Quote:
I am going to use the JavaCV wrapper. But you could always send data using c++ you would just have to have code that talks to crio over the network. |
|
#9
|
|||
|
|||
|
Re: how to use openCV?
Ok we have been running into the issue of not having the wpijavacv libraries. Where can we get these or if we have them already where are they?
|
|
#10
|
|||
|
|||
|
Re: how to use openCV?
they are downloaded with the smartdashboard
|
|
#11
|
||||
|
||||
|
Re: how to use openCV?
Quote:
|
|
#12
|
|||
|
|||
|
Re: how to use openCV?
There is my code to use openCV 2.3 with delphi 7
http://www.developpez.net/forums/d13...i/#post7204310 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|