First time here? Check out the FAQ!
answered 2019-03-14 11:02:07 -0600
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