contours works. adjusting still needed
small changes to treshold function
opencv setup change