OpenCV  3.4.2
Open Source Computer Vision
Image Moments

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