Ask Your Question

Revision history [back]

Ok let's try:

Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import numpy as np import cv2 as cv img = np.zeros((512,512,3),np.uint8) img.__array_interface__['data'] (2902581210560, False) x=cv.imread('g:/lib/opencv/samples/data/lena.jpg',img) img.__array_interface__['data'] (2902581210560, False)

It looks ok (in c++ it works)

now if you want to make a PR you can clone my code

Ok let's try:

Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

information. >>> import numpy as np >>> import cv2 as cv >>> img = np.zeros((512,512,3),np.uint8) >>> img.__array_interface__['data'] (2902581210560, False) >>> x=cv.imread('g:/lib/opencv/samples/data/lena.jpg',img) >>> img.__array_interface__['data'] (2902581210560, False)

False)

It looks ok (in c++ it works)

now if you want to make a PR you can clone my code