提交 6e8f60ce 编写于 作者: F feilong

add io and gui+fix1

上级 19459fba
...@@ -23,7 +23,7 @@ if __name__ == '__main__': ...@@ -23,7 +23,7 @@ if __name__ == '__main__':
(bug_img, bug_img_gray_by_BGR_space), (bug_img, bug_img_gray_by_BGR_space),
axis=1 axis=1
) )
cv2.imwrite("bug_band.jpg", bug_img_gray) cv2.imwrite("bug_band.jpg", bug_img_concat)
cv2.imshow('甲壳虫乐队', bug_img_concat) cv2.imshow('甲壳虫乐队', bug_img_concat)
...@@ -48,7 +48,7 @@ if __name__ == '__main__': ...@@ -48,7 +48,7 @@ if __name__ == '__main__':
(bug_img, bug_img_gray_by_BGR_space), (bug_img, bug_img_gray_by_BGR_space),
axis=1 axis=1
) )
cv2.write("bug_band.jpg", bug_img_gray) cv2.write("bug_band.jpg", bug_img_concat)
cv2.imshow('甲壳虫乐队', bug_img_concat) cv2.imshow('甲壳虫乐队', bug_img_concat)
...@@ -71,7 +71,7 @@ if __name__ == '__main__': ...@@ -71,7 +71,7 @@ if __name__ == '__main__':
(bug_img, bug_img_gray_by_BGR_space), (bug_img, bug_img_gray_by_BGR_space),
axis=1 axis=1
) )
cv2.imwrite(bug_img_gray, "bug_band.jpg") cv2.imwrite(bug_img_concat, "bug_band.jpg")
cv2.imshow('甲壳虫乐队', bug_img_concat) cv2.imshow('甲壳虫乐队', bug_img_concat)
......
...@@ -10,7 +10,7 @@ if __name__ == '__main__': ...@@ -10,7 +10,7 @@ if __name__ == '__main__':
(bug_img, bug_img_gray_by_BGR_space), (bug_img, bug_img_gray_by_BGR_space),
axis=1 axis=1
) )
cv2.imwrite("bug_band.jpg", bug_img_gray) cv2.imwrite("bug_band.jpg", bug_img_concat)
cv2.imshow('甲壳虫乐队', bug_img_concat) cv2.imshow('甲壳虫乐队', bug_img_concat)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册