started adding reading images from webcam
some fix for the images