How to use blobFromImagesWithParams

You are right i made a mistake
I use dnn::blobFromImagesWithParams instead of dnn::blobFromImageWithParams

may be some check type must be done in blobFromImagesWithParams

I try a PR with

if (images_.kind() != _InputArray::STD_VECTOR_MAT && images_.kind() != _InputArray::STD_ARRAY_MAT &&
    images_.kind() != _InputArray::STD_VECTOR_VECTOR) {
    String error_message = "The data is expected as InputArray::STD_VECTOR_MAT (a std::vector<Mat>) or _InputArray::STD_VECTOR_VECTOR (a std::vector< std::vector<...> >).";
    CV_Error(Error::StsBadArg, error_message);
}
3 Likes