Template Matching Using OpenCV in Python

前端 未结 2 1138
感情败类
感情败类 2021-01-21 05:59

I am a newbie in Image Processing and learning about Template Matching by getting some help from OpenCV documentation, but I didn\'t understand some lines of the code.
Here

2条回答
  •  失恋的感觉
    2021-01-21 06:12

    Threshold = 0.8 works according to lightness on the image you are working on. If lights are proper on your image then threshold > 0.8 will work but mostly in camera images brightness varies so lightness > 0.65 can work. To match more points you have to reduce your threshold value.

提交回复
热议问题