dpilger26 / NumCpp

C++ implementation of the Python Numpy library
https://dpilger26.github.io/NumCpp
MIT License
3.51k stars 548 forks source link

How to convert a 4-dimensional array in CV::Mat into a data format available in NumCpp? #200

Closed ZJDATY closed 5 months ago

ZJDATY commented 1 year ago

In deep learning, 4-dimensional arrays are often used. For example: cv::Mat[1,2,512,512]

dpilger26 commented 5 months ago

This has been asked and answered many times... NumCpp is limited to 1D and 2D, please see the documentation.