add ci cfg
This commit is contained in:
parent
d5ba8de98a
commit
b28a6db75c
2
.github/workflows/pack_img.yaml
vendored
2
.github/workflows/pack_img.yaml
vendored
@ -42,7 +42,7 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add auto_img.png # 添加你想要提交的文件
|
||||
git add auto_img_zh_cn.png # 添加你想要提交的文件
|
||||
git commit -m "Update file with new data"
|
||||
git push origin main # 推送更改回 main 分支
|
||||
env:
|
||||
|
@ -104,10 +104,10 @@ def load_images_from_folder(folder):
|
||||
|
||||
|
||||
|
||||
folder = 'pullrequests'
|
||||
folder = 'zh_cn'
|
||||
images = load_images_from_folder(folder)
|
||||
|
||||
stitched_image = stitch_images_bin_packing(images)
|
||||
|
||||
|
||||
cv2.imwrite('auto_img.png', stitched_image)
|
||||
cv2.imwrite('auto_img_zh_cn.png', stitched_image)
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 140 KiB |
Binary file not shown.
Before Width: | Height: | Size: 147 KiB |
Binary file not shown.
Before Width: | Height: | Size: 489 KiB |
Binary file not shown.
Before Width: | Height: | Size: 79 KiB |
Loading…
Reference in New Issue
Block a user