in python, false should be False

pull/9796/head
lzx1413 8 years ago committed by GitHub
parent 2c1b4f5711
commit 8a05c195f7
  1. 2
      samples/dnn/mobilenet_ssd_python.py

@ -41,7 +41,7 @@ if __name__ == "__main__":
while True:
# Capture frame-by-frame
ret, frame = cap.read()
blob = cv.dnn.blobFromImage(frame, inScaleFactor, (inWidth, inHeight), meanVal, false)
blob = cv.dnn.blobFromImage(frame, inScaleFactor, (inWidth, inHeight), meanVal, False)
net.setInput(blob)
detections = net.forward()

Loading…
Cancel
Save