Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upgocv.BlobFromImage is not work well. #658
Comments
|
I think that the underlying API of OpenCV changed or else the model itself did, as I ran into a similar problem with scaling the input blob to a DNN recently. I will look into it further. |
|
Hi, I found this code in opencv/dnn/dnn.cpp
I think this is the reason for the error. so, I try to change CV_8U to CV_32F, this code is worked fine.
|
|
Seeing this issue as well. Even converting doesn't work for me. gives |
Description
I am trying to test dnn-detection Code
. I am receiving an error message
gocv.io/x/gocv._Cfunc_Net_BlobFromImage(0x470f010, 0x3f80101010101010,...):I think the scalefactor parameter of the BlobFromImage seems to be wrong.
Only in 1.0 does not the error occur.
Steps to Reproduce
Your Environment
env.shorenv.cmdscript before trying togo runorgo build?