opencv / opencv

Open Source Computer Vision Library
https://opencv.org
Apache License 2.0
78.14k stars 55.72k forks source link

python: adapt test to NumPy 2.x #25541

Closed mshabunin closed 4 months ago

mshabunin commented 4 months ago

float_ will be removed in NumPy 2.0 (https://github.com/numpy/numpy/blob/main/doc/source/release/2.0.0-notes.rst#numpy-20-python-api-removals)