|
%!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
images | %!s(int64=6) %!d(string=hai) anos | |
CMakeLists.txt | %!s(int64=6) %!d(string=hai) anos | |
HuMoments.cpp | %!s(int64=6) %!d(string=hai) anos | |
HuMoments.py | %!s(int64=6) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
shapeMatcher.cpp | %!s(int64=6) %!d(string=hai) anos | |
shapeMatcher.py | %!s(int64=6) %!d(string=hai) anos |
This repository contains the code for Shape Matching using Hu Moments (C++/Python) blog post.
This directory also contains code for using Hu Moments to match shapes.
If you don't have OpenCV installed globally, then Specify the OpenCV_DIR in CMakeLists.txt file. Then,
cmake .
make
./HuMoments images/*
./shapeMatcher
python HuMoments.py images/*
python shapeMatcher.py
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.