cv::gapi::use_only Struct ReferenceG-API framework » G-API Graph Compilation Arguments
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
cv::gapi::use_only Struct Reference
cv::gapi::use_only() is a special combinator which hints G-API to use only kernels specified in cv::GComputation::compile() (and not to extend kernels available by default with that package). More...
#include <opencv2/gapi/gkernel.hpp>
Collaboration diagram for cv::gapi::use_only: