该博客转自www.pyimagesearch.com,进行了相关修改补充. Over the past few months I've gotten quite the number of requests landing in my inbox to build a bubble sheet/Scantron-like[简而言之答题卡] test reader using computer vision and image processing techniques. And while I'
在这篇文章里,我们一起学习了在OpenCV中如何定义感兴趣区域ROI,如何使用addWeighted函数进行图像混合操作,以及将ROI和addWeighted函数结合起来使用,对指定区域进行图像混合操作. 一.设定感兴趣区域--ROI(region of interest) 在图像处理领域,我们常常要设置感兴趣区域(ROI,region of interest),来专注或者简化我们的工作过程,也就是从图像中选择的一个图像区域,这个区域是我们图像分析关注的重点.我们圈定这个区域,以便进行进一步处理