Skip to content

SensorAnalyticsAus/hu-invars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hu Invariant Moments

Implementations of Hu's invariants with respect to translation, scale, and rotation using skimage and opencv APIs.

Usage

git clone https://github.com/SensorAnalyticsAus/hu-invars.git
cd cd hu-invars/

With skimage

python hu.py img/shapes-01.jpg

Output:

[ 3.0877   6.74289 14.92162 14.59358 29.37642 18.02443 29.83101]

With opencv

python hu-cv2.py img/shapes-01.jpg

Output

[  3.0877    6.74289  14.92162  14.59358  29.37642  18.02443 -29.83101]

Refs

About

Python implementations of Hu's moment invariants for images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages