OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
Image Moments

Prev Tutorial: Creating Bounding rotated boxes and ellipses for contours

Next Tutorial: Point Polygon Test

Goal

In this tutorial you will learn how to:

Theory

Code

Explanation

Result

Here it is:

Moments_Source_Image.jpg
Moments_Result1.jpg
Moments_Result2.jpg