fixed roy-test image location
This commit is contained in:
parent
dbc0f91848
commit
12fc99a8e8
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ def pure_pil_alpha_to_color_v2(image, color=(0, 0, 0)):
|
|||
background.paste(image, mask=image.split()[3]) # 3 is the alpha channel
|
||||
return background
|
||||
|
||||
image = Image.open("../prootface.bmp")
|
||||
image = Image.open("faces/prootface3.bmp")
|
||||
image.thumbnail((128, 62), Image.ANTIALIAS)
|
||||
RGBImage = pure_pil_alpha_to_color_v2(image)
|
||||
|
||||
|
@ -83,4 +83,4 @@ client.loop_start()
|
|||
|
||||
|
||||
while True:
|
||||
time.sleep(0.005)
|
||||
time.sleep(0.005)
|
||||
|
|
Loading…
Add table
Reference in a new issue