in python, false should be False

This commit is contained in:
lzx1413
2017-10-08 21:10:25 +08:00
committed by GitHub
parent 2c1b4f5711
commit 8a05c195f7
+1 -1
View File
@@ -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()