"magic_pdf/vscode:/vscode.git/clone" did not exist on "02d805ea9bf8197df6dd4c5fd6f2d5385874d366"
  • myhloli's avatar
    refactor(magic_pdf): replace PIL with NumPy for image processing · 1b34f7e4
    myhloli authored
    - Remove PIL usage across multiple files
    - Convert image processing functions to use NumPy arrays
    - Update crop_img function to work with NumPy arrays
    - Modify image loading and resizing to use NumPy and OpenCV
    - Clean up unused imports and comments related to PIL
    1b34f7e4
pdf_image_tools.py 2.21 KB