replaced OpenCV by the PIL library for easier installation