Skip to content

Commit

Permalink
fix: unnecessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
TenteEEEE committed Jul 27, 2024
1 parent 8ef0b9d commit 79690e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/models/caronauff.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from src.models.class_patcher import patcher
from src.utils.imgproc import *

import matplotlib.pyplot as plt

class patcher(patcher):
def __init__(self, body='./body/body_caronauff.png', **options):
Expand Down
6 changes: 3 additions & 3 deletions src/models/carti.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import numpy as np
import skimage.io as io
import skimage.transform as skt
import numpy as np
from PIL import Image
from skimage.color import hsv2rgb, rgb2hsv

from src.models.class_patcher import patcher
from src.utils.imgproc import *
from skimage.color import rgb2hsv, hsv2rgb


class patcher(patcher):
Expand Down Expand Up @@ -89,7 +90,6 @@ def convert(self, image):

# Affine transform matrix
pantie = np.pad(pantie, [(0, 0), (0, 165), (0, 0)], mode='constant')
io.imshow(pantie)
arrx = np.zeros(100)
arry = np.zeros(100)
arry[10:] += np.linspace(0, -170, 90)
Expand Down

0 comments on commit 79690e5

Please sign in to comment.