peteryu1975 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Documentation CvPoint2D32f.createArray(MAX_POINTS); on wiki out of sync #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/javacv/wiki/ConvertingOpenCV

states:

CvPoint2D32f.createArray(MAX_POINTS);

in several location - but the function no longer exists...

I assume its managed without the need of the function call so that

CvPoint2D32f[] array = new CvPoint2D32f[maxPointCount];

would be acceptable?

Original issue reported on code.google.com by supert...@gmail.com on 12 May 2011 at 7:25

GoogleCodeExporter commented 9 years ago
Actually, according to the README.txt file, that would be:

CvPoint2D32f array = new CvPoint2D32f(maxPointCount);

i.e.: C/C++ arrays and pointers are the same thing

As for updating the wiki page, I'm waiting for a volunteer :)

Original comment by samuel.a...@gmail.com on 13 May 2011 at 2:49

GoogleCodeExporter commented 9 years ago
Hoi Samuel !

Thanks as always for the great interface.  Things look very busy here, since I 
entered bug #7 so many months ago..

I've been using an older version of javacv & opencv 2.1 .. It looks like I'll 
have a lot of updating to do.  I see imports, cpp, jna, accessors, createArray, 
and byValue have all changed !   It will take me a little time to digest all 
this, but after fixing my code, I would gladly volunteer for wiki duty.

I think I have most of it fixed with the exception of some of the array 
parameters in a Lucas Kanade Optical tracking utility I have.  I'll scrounge 
through some of the source looking for examples.

Also, I'd be interested in using your updated Canvas - an accelerated Java GUI 
would be a great bonus to use.

Best Regards.
Greg.

Original comment by supert...@gmail.com on 13 May 2011 at 3:45

GoogleCodeExporter commented 9 years ago
The original issue has been cleared or fixed.  Was there a reason you are 
holding this ticket as open/accepted ?  I have samples of (almost) every OpenCV 
example in JavaCV form.  Would you like them published on the wiki?  
Regards,
Greg.

Original comment by supert...@gmail.com on 20 Aug 2011 at 1:54

GoogleCodeExporter commented 9 years ago
Yes, are you volunteering to update the wiki?

Original comment by samuel.a...@gmail.com on 20 Aug 2011 at 2:15

GoogleCodeExporter commented 9 years ago
Sure.

Original comment by supert...@gmail.com on 22 Aug 2011 at 4:19

GoogleCodeExporter commented 9 years ago
Did you want me to update the wiki?

The examples I have are filters which can be applied to a work flow.  If the 
examples are to be fully self-contained with no dependencies, they will need to 
be reworked.  If they are to be examples of quick-how to's they might be 
appropriate as is.

Original comment by supert...@gmail.com on 27 Aug 2011 at 2:09

GoogleCodeExporter commented 9 years ago
Right right, sorry for the delay. I added you as a contributor that can edit 
Wiki pages, so please update it at your leisure, thank you

About samples, I guess including them in the "samples" directory of the 
distribution would be best, but they should compile I suppose. In any case, let 
me know if you have anything you would like to contribute there, thanks

Original comment by samuel.a...@gmail.com on 27 Aug 2011 at 7:10

GoogleCodeExporter commented 9 years ago
Well, I finally updated that wiki page, at least to make it match with the 
current valid syntax, as it seems many people are referring to it...

Original comment by samuel.a...@gmail.com on 20 Oct 2011 at 7:08