Skip to content

Commit fb79c6a

Browse files
authored
Merge pull request #27 from moormaster/gcp-output-file
open resizable window and set its initial size to something reasonable
2 parents 2bd2122 + 0ca1bb7 commit fb79c6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

qr_code_extractor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ def get_qr_data(file, debug_show_image=False):
1111

1212
if debug_show_image:
1313
cv2.circle(input_image, position_marker_coordinates, 10, (0, 255, 0), -1)
14+
cv2.namedWindow('highlighted image', cv2.WINDOW_KEEPRATIO)
15+
cv2.resizeWindow('highlighted image', 1280, 960)
1416
cv2.imshow("highlighted image", input_image)
1517
cv2.waitKey(0)
1618

0 commit comments

Comments
 (0)