Fix errors

pull/21/head
Kohaku-Blueleaf 2023-01-24 03:22:15 +08:00
parent 2b33160408
commit efc17999c8
2 changed files with 4 additions and 1 deletions

View File

@ -37,5 +37,6 @@ def run(
src,
k: int = 3,
) -> tuple[Image.Image, list[list[str|float]]]:
def calc()
def calc():
pass
return Image.fromarray(result)

View File

@ -9,6 +9,8 @@ import cv2
from PIL import Image
import numpy as np
from hakuimg.dither import dithering
INFLATE_FILTER = [
None,