Skip to content

Commit

Permalink
Deployed 21c91ec with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 4, 2024
0 parents commit 93adfe1
Show file tree
Hide file tree
Showing 74 changed files with 23,324 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
801 changes: 801 additions & 0 deletions 404.html

Large diffs are not rendered by default.

Binary file added assert/2864050b72b9d46a9b6be7971b8295c5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assert/7f6ffb4490859e874cc691a4a0c60b4f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assert/961aa0a197dbebe785734f77ec6c92f2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assert/asuka.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assert/asuka.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions assert/cvt_touming.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import cv2
from PIL import Image
import numpy as np

# 读取图像
image = cv2.imread('zhao.png')

# 将图像从BGR转换到灰度
gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)

# 应用阈值操作,
# 将灰度图像转换为二值图像
_, thresh_image = cv2.threshold(gray_image, 70, 255, cv2.THRESH_BINARY)

# 创建alpha通道,黑色部分为0(透明),白色部分为255(不透明)
alpha_channel = 255 - thresh_image

# 创建全白色的图像、
# 用于合并到alpha通道中
white_image = 255 * np.ones_like(gray_image)

# 将BGR图像和alpha通道合并成BGRA格式
bgra_image = cv2.merge((white_image, alpha_channel))

# 使用Pillow库保存图像,因为OpenCV不支持保存PNG透明图像
pil_image = Image.fromarray(bgra_image)
pil_image = pil_image.convert("RGBA") # 确保图像是RGBA格式
pil_image.save('zhao.png', 'PNG')

Binary file added assert/f37d4e2ad8e0a6478fb7d403e7f9adf5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assert/f834349ae83f07e4a88231a9e303bd93.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assert/zhao.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assert/zhao.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions assets/javascripts/bundle.83f73b43.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions assets/javascripts/bundle.83f73b43.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/javascripts/lunr/min/lunr.ar.min.js

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions assets/javascripts/lunr/min/lunr.da.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions assets/javascripts/lunr/min/lunr.de.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions assets/javascripts/lunr/min/lunr.du.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 93adfe1

Please sign in to comment.