Python code for my OpenCV projects