Aeonss / BubbleBlaster

Bubble Blaster removes text from speech bubbles in mangas/manhwas, made for Scanlations groups.
MIT License
90 stars 11 forks source link

Error when starting app #11

Closed CroSSer23 closed 1 year ago

CroSSer23 commented 1 year ago

Something wrong can you help me? Neither CUDA nor MPS are available - defaulting to CPU. Note: This module is much faster with a GPU. Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\NIK\AppData\Local\Programs\Python\Python311\Lib\tkinter__init.py", line 1948, in call__ return self.func(args) ^^^^^^^^^^^^^^^^ File "C:\Users\NIK\AppData\Local\Programs\Python\Python311\Lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 553, in _clicked self._command() File "C:\Users\NIK\Downloads\BubbleBlaster\bubbleblaster.py", line 155, in blast result = reader.readtext(image) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NIK\AppData\Local\Programs\Python\Python311\Lib\site-packages\easyocr\easyocr.py", line 464, in readtext result = self.recognize(img_cv_grey, horizontal_list, free_list,\ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NIK\AppData\Local\Programs\Python\Python311\Lib\site-packages\easyocr\easyocr.py", line 383, in recognize image_list, max_width = get_image_list(h_list, f_list, img_cv_grey, model_height = imgH) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NIK\AppData\Local\Programs\Python\Python311\Lib\site-packages\easyocr\utils.py", line 613, in get_image_list crop_img,ratio = compute_ratio_and_resize(crop_img,width,height,model_height) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\NIK\AppData\Local\Programs\Python\Python311\Lib\site-packages\easyocr\utils.py", line 576, in compute_ratio_and_resize img = cv2.resize(img,(int(model_heightratio),model_height),interpolation=Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

Aeonss commented 1 year ago

Try the latest release