Update auto_pack_img.py
This commit is contained in:
+3
-2
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
import random
|
||||
|
||||
import cv2
|
||||
@@ -123,7 +124,7 @@ images = load_images_from_folder(folder)
|
||||
stitched_image = stitch_images_bin_packing(images)
|
||||
|
||||
|
||||
cv2.imwrite('auto_img_zh_cn.png', stitched_image)
|
||||
cv2.imwrite('images/auto_img_zh_cn.png', stitched_image)
|
||||
|
||||
|
||||
folder = 'en'
|
||||
@@ -132,4 +133,4 @@ images = load_images_from_folder(folder)
|
||||
stitched_image = stitch_images_bin_packing(images)
|
||||
|
||||
|
||||
cv2.imwrite('auto_img_en.png', stitched_image)
|
||||
cv2.imwrite('images/auto_img_en.png', stitched_image)
|
||||
|
||||
Reference in New Issue
Block a user