• Rémi Ratajczak's avatar
    dnn : Added an imagesFromBlob method to the dnn module (#10607) · b6752355
    Rémi Ratajczak authored
    * Added the imagesFromBlob method to the dnn module.
    
    * Rewritten imagesFromBlob based on first dkurt comments
    
    * Updated code with getPlane()
    
    * Modify comment of imagesFromBlob() in dnn module
    
    * modified comments, removed useless assertions & added OutputArrayOfArray
    
    * replaced tabs with whitespaces & put vectorOfChannels instantiation outside the loop
    
    * Changed pre-commit.sample to pre-commit in .git/hooks/
    
    * Added a test for imagesFromBlob in test_misc.cpp (dnn)
    
    * Changed nbOfImages, robustified test with cv::randu, modified assertion
    b6752355
test_misc.cpp 1.68 KB