As I know, mask image should be pixel value is 0 or 255, mask image type is uint8 in python, uint8 equal CV_8UC1.
when set maskEnable false, paddedEnable false:
Found features perfectly!
when set maskEnable false, paddedEnable true:
It is also good.
when set maskEnable true, paddedEnable false:
It can not found features???? :(
when set maskEnable false, paddedEnable false:
It is also not found :(
In my code, mask was set the full image (all pixel is 255). Normally detector should match the whole image and extract feature, but it didn't. Maybe my understanding of the mask input is wrong?
Issue submission checklist
[x] I checked the problem with documentation, FAQ, open issues,
forum.opencv.org, Stack Overflow, etc and have not found any solution
[x] I updated to the latest OpenCV version and the issue is still there
[x] There is reproducer code and related data files: videos, images, onnx, etc
System information (version)
Detailed description
OpenCV Contrib linemod code When I use opencv-python linemod to run a detector demo, I meet some template and mask trouble!!
Steps to reproduce
As I know, mask image should be pixel value is 0 or 255, mask image type is uint8 in python, uint8 equal CV_8UC1.
In my code, mask was set the full image (all pixel is 255). Normally detector should match the whole image and extract feature, but it didn't. Maybe my understanding of the mask input is wrong?
Issue submission checklist