Update webcamTools.py

tiny modifications in the halftoning function that need to be verified.