mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
typo2
This commit is contained in:
parent
5c9f3b46c1
commit
7efa2f83ba
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ async def gen_trans_image(msg, path):
|
|||
img = cv2.imread(dl)
|
||||
|
||||
# convert to graky
|
||||
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY))
|
||||
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
|
||||
|
||||
# threshold input image as mask
|
||||
mask = cv2.threshold(gray, 250, 255, cv2.THRESH_BINARY)[1]
|
||||
|
|
|
|||
Loading…
Reference in a new issue