Drawing geometric shapes with OpenCV and NumPy