Update README.md

Fix typo
This commit is contained in:
volltin
2020-11-07 15:20:13 +08:00
committed by GitHub
parent 0f4d5c01a7
commit 8b76958a2c
+2 -2
View File
@@ -56,7 +56,7 @@ A = np.array([count_pix(img_generate(c)) for c in alphabet])
# pix sum vector, shape: (255, )
b = count_pix(img)
# Solve A^T.x = b using least-squares mathod
# Solve A^T.x = b using least-squares method
xf, *_ = np.linalg.lstsq(A.T, b, rcond=None)
# number matrix, shape: (62, )
@@ -69,4 +69,4 @@ x = xf.round().astype(np.int).tolist()
## 完整程序
见 [payload.py](payload.py)。
见 [payload.py](payload.py)。