Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Change this:

cvNet.setInput(cv.dnn.blobFromImage(img, size=(300, 300), crop=False))

to

cvNet.setInput(cv.dnn.blobFromImage(img, size=(300, 300), swapRB=True))

This work for raspberry pi