make it compile against current opencv master
add python interface
ignore some files