OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 526176000 bytes in function 'cv::OutOfMemoryError'
[错误来源]
新建应用1 > 主流程 > 行1: 获取文件列表
二维码条形码 > identify_qr_barcode > 行105: args['decoded_strings'] = get_qrcode_result(args['path_to_image_file'])
二维码条形码 > identify_qr_barcode > 行93: image = resize_image_4x(image)
二维码条形码 > identify_qr_barcode > 行39: interpolation = cv2.INTER_AREA)
执行 interpolation = cv2.INTER_AREA) 时出错: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 526176000 bytes in function 'cv::OutOfMemoryError'