smaller framework with core and imgproc only