View Single Post
  #6   Spotlight this post!  
Unread 02-05-2012, 10:57 AM
pblankenbaker pblankenbaker is offline
Registered User
FRC #0868
 
Join Date: Feb 2012
Location: Carmel, IN, USA
Posts: 102
pblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of light
Re: Standalone image analysis.

It looks like the WPI guys are working on the memory leak in the WPIJavaCV.jar file (there were some commits yesterday - revision 213).

I was successful in downloading the latest source from the SmartDashboard project and rebuilding the WPIJavaCV.jar file. Things are running much better now. I've been able to process the same image over 250000 times using the WPI methods without running out of memory (which is a lot more than we'll ever hope to get through in a single match).

In case anyone else is hitting this issue and wants to try an updated build of the WPIJavaCV.jar file I've attached a zip file containing what I'm currently running with. To use:

1. Download the ZIP file
2. Extract the WPIJavaCV.jar file from the ZIP file
3. Rename your existing WPIJavaCV.jar file (in the SmartDashboard/extensions/lib directory).
4. Copy the new WPIJavaCV.jar file into your SmarDashboard/extensions/lib/ directory (folder).
Attached Files
File Type: zip WPIJavaCV-20120205.zip (12.8 KB, 200 views)
Reply With Quote