update patchgen

This commit is contained in:
TPP-G6
2026-04-21 20:50:22 +08:00
parent fdc4ffd25f
commit 157b8e42ec
4 changed files with 665 additions and 2 deletions
+1 -2
View File
@@ -115,8 +115,7 @@ def generate_color_pattern(h, w, d, r):
def main():
# Parameters for the pattern.
# For example, using 100x100 pixels image with patches of 3x3 pixels.
# height = 2750
# width = 1950
# 11111111
height = 1200
width = 1000
patch_size = 12