mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +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:
|
while True:
|
||||||
# Capture frame-by-frame
|
# Capture frame-by-frame
|
||||||
ret, frame = cap.read()
|
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)
|
net.setInput(blob)
|
||||||
detections = net.forward()
|
detections = net.forward()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user