Fix include paths
Pass image to process as a parameter
Fix compilation for feature extraction