/home/ci/opencv/doc/tutorials/gapi/interactive_face_detection/interactive_face_detection.markdown File Reference
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
/home/ci/opencv/doc/tutorials/gapi/interactive_face_detection/interactive_face_detection.markdown File Reference