mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
typo
This commit is contained in:
parent
0ffbb90942
commit
5c9f3b46c1
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ async def gen_trans_image(msg, path):
|
||||||
|
|
||||||
# put mask into alpha channel
|
# put mask into alpha channel
|
||||||
result = img.copy()
|
result = img.copy()
|
||||||
result = cv2.cvtColor(result, cv2.COLOR_BGR2BGRA))
|
result = cv2.cvtColor(result, cv2.COLOR_BGR2BGRA)
|
||||||
result[:, :, 3] = mask
|
result[:, :, 3] = mask
|
||||||
|
|
||||||
# save resulting masked image
|
# save resulting masked image
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue