-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Open
Description
I have used the Matlab script opencv_contrib/modules/ximgproc/tutorials/scripts/modelConvert.m to convert a model. Loading the model when creating a pointer to a StructuredEdgeDetection
works, but detectEdges()
returns blurry, foggy, image-unrelated edge maps.
Is the script outdated? Is there a maximum size for models? The converted .yml file looks very similiar to the provided opencv_extra/testdata/cv/ximgproc/model.yml.gz except for a lot more edgeBoundaries
and edgeBins
.
The issue seems not to be related to #716. I have tried converting from BGR2RGB.
System information
- OpenCV 3.1
- Windows 64 Bit
- Visual Studio 2015
- Matlab R2017a
Steps to reproduce
- Run modelConvert.m on https://github.com/pdollar/edges/blob/master/models/forest/modelBsds.mat.
- Detect Edges in OpenCV with the converted model.
yasinyildirim and anas-899