face = cv2resizeface 100 100 face = facetransposeastypenpfloat32 255 printfaceshape face = npexpand_dimsface axis=0cv2error OpenCV470 Daopencv-pythonopenc
This error occurs when the input image to the cv2.resize() function has an empty size. This can happen if the input image is not loaded or read properly. Check if the input image is correctly loaded and if the file path is correct. Also, make sure that the input image is not empty or corrupted.
原文地址: https://www.cveoy.top/t/topic/bFzC 著作权归作者所有。请勿转载和采集!