Added cv2 import check in ar module.