projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c1b4f5
)
in python, false should be False
author
lzx1413
<lzx1413@live.cn>
Sun, 8 Oct 2017 13:10:25 +0000
(21:10 +0800)
committer
GitHub
<noreply@github.com>
Sun, 8 Oct 2017 13:10:25 +0000
(21:10 +0800)
samples/dnn/mobilenet_ssd_python.py
patch
|
blob
|
history
diff --git
a/samples/dnn/mobilenet_ssd_python.py
b/samples/dnn/mobilenet_ssd_python.py
index
cc11aa4
..
039c244
100644
(file)
--- a/
samples/dnn/mobilenet_ssd_python.py
+++ b/
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,
f
alse)
+ blob = cv.dnn.blobFromImage(frame, inScaleFactor, (inWidth, inHeight), meanVal,
F
alse)
net.setInput(blob)
detections = net.forward()