Aeonss / BubbleBlaster

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

AttributeError: 'NoneType' object has no attribute 'shape' #8

Closed NinjaScoutZ closed 1 year ago

NinjaScoutZ commented 1 year ago

Downloading detection model, please wait. This may take several minutes depending upon your network connection. Progress: |██████████████████████████████████████████████████| 100.0% CompleteDownloading recognition model, please wait. This may take several minutes depending upon your network connection. Progress: |██████████████████████████████████████████████████| 100.0% CompleteException in Tkinter callback Traceback (most recent call last): File "C:\Users\dansa\AppData\Local\Programs\Python\Python310\lib\tkinter__init.py", line 1921, in call__ return self.func(*args) File "C:\Users\dansa\AppData\Local\Programs\Python\Python310\lib\site-packages\easyocr\easyocr.py", line 456, in readtext result = self.recognize(img_cv_grey, horizontal_list, free_list,\ File "C:\Users\dansa\AppData\Local\Programs\Python\Python310\lib\site-packages\easyocr\easyocr.py", line 379, in recognize image_list, max_width = get_image_list(h_list, f_list, img_cv_grey, model_height = imgH) File "C:\Users\dansa\AppData\Local\Programs\Python\Python310\lib\site-packages\easyocr\utils.py", line 540, in get_image_list maximum_y,maximum_x = img.shape AttributeError: 'NoneType' object has no attribute 'shape'

Aeonss commented 1 year ago

Hmm I thought I had fixed this. What is your image file name? Remove any non utf-8 characters.

NinjaScoutZ commented 1 year ago

its just like a number 01.png 02.png like that

Aeonss commented 1 year ago

Send me the image and I'll take a look at it

NinjaScoutZ commented 1 year ago

02(1)

Aeonss commented 1 year ago

Works for me, do you have the latest version of BubbleBlaster?

NinjaScoutZ commented 1 year ago

yep its latest version

bato3 commented 1 year ago

Any non ascii char in PATH? Or long PATH?

Aeonss commented 1 year ago

Any non ascii char in PATH? Or long PATH?

Directory path

Aeonss commented 1 year ago

Try the latest release, let me know if you still have this issue