[Python] Easyocr Python Image Size too big

Discussão em 'Python' iniciado por Stack, Março 28, 2025.

  1. Stack

    Stack Membro Participativo

    I have a simple problem using easyocr library in python. When I deploy my python OCR api to kubernetes It fails because of the image size of the script on Nexus Repository Manager. When I check the libraries installed by EasyOcr I found lots of libraries related to nvidia etc. I'm using easyocr with cpu so I don't need any library related to GPU. Can I delete them somehow to reduce image size? It downloads the libraries from the requirements.txt I provided.I can't change the max image size in nexus.

    Continue reading...

Compartilhe esta Página