Skip To Main Content
Support Knowledge Base

Encountered: “! ssize.empty() in Function ‘Cv::resize’” When Running Image Classification Async Python Sample

Content Type: Error Messages   |   Article ID: 000093371   |   Last Reviewed: 11/16/2023

Description

  1. Ran the Image Classification Async Python Sample with an image.
  2. Encountered the following error:

    cv2.error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imagproc\src\resize.cpp:4052: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

Resolution

Related Products

This article applies to 3 products.
Intel® Xeon Phi™ Processor Software OpenVINO™ toolkit Performance Libraries