defined c compatible interface
compile vision.cpp as shared library for use with ctypes in python