1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

dnn(samples): fix python syntax (false -> False)

This commit is contained in:
Alexander Alekhin
2017-10-08 19:17:40 +03:00
parent 8a05c195f7
commit 9661d60f74
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ if __name__ == '__main__':
cols = frame.shape[1]
rows = frame.shape[0]
net.setInput(dnn.blobFromImage(frame, 1.0, (inWidth, inHeight), (104.0, 177.0, 123.0), false))
net.setInput(dnn.blobFromImage(frame, 1.0, (inWidth, inHeight), (104.0, 177.0, 123.0), False))
detections = net.forward()
perf_stats = net.getPerfProfile()