擅长:python、mysql、java
<p>你可以试试这个:</p>
<p><code>skimage.transform.resize</code></p>
<p><a href="https://scikit-image.org/docs/stable/auto_examples/transform/plot_rescale.html" rel="nofollow noreferrer">https://scikit-image.org/docs/stable/auto_examples/transform/plot_rescale.html</a></p>