Update auto_pack_img.py
This commit is contained in:
parent
698e4d86ec
commit
5459536c43
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
import random
|
import random
|
||||||
|
|
||||||
import cv2
|
import cv2
|
||||||
@ -123,7 +124,7 @@ images = load_images_from_folder(folder)
|
|||||||
stitched_image = stitch_images_bin_packing(images)
|
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'
|
folder = 'en'
|
||||||
@ -132,4 +133,4 @@ images = load_images_from_folder(folder)
|
|||||||
stitched_image = stitch_images_bin_packing(images)
|
stitched_image = stitch_images_bin_packing(images)
|
||||||
|
|
||||||
|
|
||||||
cv2.imwrite('auto_img_en.png', stitched_image)
|
cv2.imwrite('images/auto_img_en.png', stitched_image)
|
||||||
|
Loading…
Reference in New Issue
Block a user