图像中的物体检测

Object Detection In Image

我有一张像这样的名片图片

例如,我有多张图片表明这家公司在里面

或者这个

我需要检测那两个表中的名片并获取对象的位置 (x-y) 以及宽度高度我研究了 openCV 但它太复杂了我不知道如何设置输入来识别那个对象我在其他图片中选择的

它被称为模板匹配。这是 python 代码

http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_template_matching/py_template_matching.html

这是结果: