• 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
batch_analyze.py 6.89 KB