Import some preprocessing code to the application. Bugs present with dependencies for opencv while compiling.