ChatGPT is sometimes forgetting to import the modules it is using in its code. it forgot to import numpy module in the first image and it forgot to import cv2 module in the second image. in the second it forgot to use in the line too.