We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2defe4 commit a3f6cd5Copy full SHA for a3f6cd5
src/imgcodecs.cpp
@@ -65,6 +65,7 @@ mp_obj_t cv2_imgcodecs_imread(size_t n_args, const mp_obj_t *pos_args, mp_map_t
65
66
// Decode the image from the buffer
67
Mat img;
68
+ img.allocator = &GetNumpyAllocator();
69
try {
70
img = imdecode(buf, flags);
71
} catch(Exception& e) {
0 commit comments