Fast Interpolation / Resample of Numpy Array - Python

前端 未结 2 1848
失恋的感觉
失恋的感觉 2021-02-14 07:30

Currently, I have written some Python code that is inserted into a pipeline.

The incoming data comes in in a numpy array of shape (1,512,19,25). I use the scipy.nd

2条回答
  •  日久生厌
    2021-02-14 07:57

    Check the benchmarks in https://python-pillow.org/pillow-perf/

    TL;DR: for most scenarios the fastest way in Python is using pillow-simd.

提交回复
热议问题