提交 edb3337e 编写于 作者: S SchultzC

Remove divide by 1000

because t = (time.time() - t) will return seconds,  dividing by 1000 to obtain seconds will be incorrect.
上级 fa96507f
......@@ -69,7 +69,7 @@ def main(argv):
dst0 = sharpen(src)
t = (time.time() - t) / 1000
t = (time.time() - t)
print("Hand written function time passed in seconds: %s" % t)
cv.imshow("Output", dst0)
......@@ -86,7 +86,7 @@ def main(argv):
# ddepth = -1, means destination image has depth same as input image
## [filter2D]
t = (time.time() - t) / 1000
t = (time.time() - t)
print("Built-in filter2D time passed in seconds: %s" % t)
cv.imshow("Output", dst1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册