DNN blobFromImage gives -1*-1 in Android. [closed]
I am using a model with extension .net which works perfectly fine in Python.
net = cv2.dnn.readNet('models/model.net')
blob = cv2.dnn.blobFromImage(image, 1 / 255.0, (1024, 512), 0,
swapRB=True, crop=False)
but when I tried to do the same on android I got blob size -1*-1 ideal it should not it should be in the passed dimension only.
I had used this link for the reference. https://docs.opencv.org/3.4/d0/d6c/tu...