Closed GoogleCodeExporter closed 8 years ago
Thanks. I'll take a look asap. A quick look reveals that the 3rd argument of the
cvWrite() function must be a pointer while 'mat' is a CvMat structure. It
should work
if you replace 'mat' with 'byref(mat)', where 'byref' comes from the 'ctypes'
package. However, I'll investigate the cvWrite() function and see which way is
best
to wrap this 3rd argument.
Minh-Tri
Original comment by pmtri80@gmail.com
on 11 Aug 2009 at 6:20
I've fixed the cvWrite() function in the main trunk. The 3rd argument is now of
type
CvArr_r rather than type c_char_p. I agree it should be more appropriate that
way.
Your example should work now.
Minh-Tri
Original comment by pmtri80@gmail.com
on 12 Aug 2009 at 5:01
It works. Thanks.
Original comment by rozstroj...@gmail.com
on 12 Aug 2009 at 7:12
Original issue reported on code.google.com by
rozstroj...@gmail.com
on 11 Aug 2009 at 5:36