mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
in python, false should be False
This commit is contained in:
parent
2c1b4f5711
commit
8a05c195f7
@ -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…
Reference in New Issue
Block a user