View Single Post
  #20  
Old 03-10-2010, 10:38 AM
JimC JimC is offline
Member
 
Join Date: Jun 2009
Posts: 42
Yes, figuring out how to build complex C/C++ projects is a hideous nightmare, particularly on Windows with its plethora of compilers. That's why sane people prefer Python.

You might have a look at ctypes_opencv. It's not intended for Python 2.4, but as it's pure python code it might be made to work. Requires the ctypes module, and there are quite a few lines of the form:

Code:
min_val_p = c_double() if min_val is True else min_val
that need to be converted to e.g.:
Code:
if min_val is True:
  min_val_p = c_double()
else:
  min_val_p = min_val
Those are the difficulties that appear right off the bat, anyway...
Reply With Quote