Luiz Felipe de Barros Jordão Costa

Results 7 comments of Luiz Felipe de Barros Jordão Costa

I experienced something similar and when I debugged the code I found out that it had to do with the dimensions and the margin, for example in the example you...

my implementation is based on this tutorial https://www.geeksforgeeks.org/implement-your-own-word2vecskip-gram-model-in-python/ I just removed the detector part and the visualizations and needed to downgrade opencv for it to work due to a bug

Here is the stack trace ![image](https://user-images.githubusercontent.com/29292837/144095348-68c9f9d7-4439-4c59-ab2a-a17c72958c8e.png)

I looked into the files and noticed keras_ocr filters the stack trace then I commented the line that filters the stack trace to see the full stack trace and noticed...

I'm using size 640x640 as the example of this repo with the margin 50 and having the same issue, if I try a smaller margin I also get the same...

now debugging it I found out that this error happens when scale*w = 0 or scale*h = 0, because this leads cv2.warpPerspective to generate an image with the same size...

I installed image magick yet the viewer doesn't open any file, but now no error message is displayed