1 | initial version |
There is typo error square bracket and also some missing blobFromImage
:
r = model.forward("63_64"])
to
r = model.forward()
snippet:
model = cv2.dnn.readNetFromCaffe("model.prototxt", "model.caffemodel")
blob = cv2.dnn.blobFromImages(images, 1, (62, 63), (104, 117, 123))
model.setInput(blob)
r = model.forward()
Btw, I am using VideoCapture not image.
2 | No.2 Revision |
There is typo error square bracket and also some missing blobFromImage
:
r = model.forward("63_64"])
to
r = model.forward()
snippet:
model = cv2.dnn.readNetFromCaffe("model.prototxt", "model.caffemodel")
blob = cv2.dnn.blobFromImages(images, 1, (62, 63), (104, 117, 123))
model.setInput(blob)
r = model.forward()
Btw, I am using VideoCapture not image.image. The (62, 63), (x, x, x). X denoted of your choice.
3 | No.3 Revision |
There is typo error square bracket and also some missing blobFromImage
:
r = model.forward("63_64"])
to
r = model.forward()
Or:
r = model.forward("63_64")
snippet:
model = cv2.dnn.readNetFromCaffe("model.prototxt", "model.caffemodel")
blob = cv2.dnn.blobFromImages(images, 1, (62, 63), (104, 117, 123))
model.setInput(blob)
r = model.forward()
Btw, I am using VideoCapture not image. The (62, 63), (x, x, x). X denoted of your choice.