lanyocr icon indicating copy to clipboard operation
lanyocr copied to clipboard

Fix deprecated np.int0 usage.

Open hafeezhmha opened this issue 1 year ago • 0 comments

This pull request addresses the usage of the deprecated np.int0 function in the codebase. The np.int0 type has been marked for deprecation in recent versions of NumPy, which may lead to compatibility issues in future updates. This change replaces np.int0 with np.int64, ensuring that the code adheres to current best practices and maintains compatibility with newer versions of NumPy.

This fix improves code reliability and prevents potential errors that could arise from using deprecated functions. Please review the changes and consider merging them into the main branch.

hafeezhmha avatar Oct 25 '24 04:10 hafeezhmha