When we are using python opencv to compare the similarity of two images, we may get this error: AttributeError: module ‘cv2’ has no attribute ‘xfeatures2d’.
We can use python moviepy to convert images to a video file. However, the converted effect is not good. Fortunately, we also can use python opencv to convert images to a video file. In this tutorial, we will introduce how to do.
When we are using opencv to match multiple objects from an image, we usually do not know how many objects in image. In order to detect correct object numbers, we can use a threshold when detecting. In this tutorial, we will introduce you how to do.
We have introduced how to detect object using python opencv. However, it only can detect one object each time from an image. In this tutorial, we will introduce how to detect multiple objects from an image.
In this tutorial, we will introduce how to replace a part of big image using an small image or numpy array, which is very useful when you plan to recognize objects from images.
In python opencv, we can use cv2.matchTemplate() to match images. Here are six template matching algorithms we can use. In this tutorial, we will discuss these algorithms.