Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"cv2.img_hash_PHash()" #63

Closed
doublex opened this issue Jan 2, 2018 · 1 comment
Closed

"cv2.img_hash_PHash()" #63

doublex opened this issue Jan 2, 2018 · 1 comment

Comments

@doublex
Copy link

doublex commented Jan 2, 2018

I have problem to calculate the opencv-contrib "phash()"

import cv2
image = cv2.imread( '/tmp/test.jpg' )
hashcode = cv2.img_hash_PHash( image )
print hashcode

Result -> phash-object:

<img_hash_PHash 0x7fbc4761d330>

Are there any docs?
Thanks a lot!

@doublex doublex closed this as completed Jan 2, 2018
@skvark
Copy link
Member

skvark commented Jan 2, 2018

You can get the docs with help(cv2.img_hash_PHash) or via https://docs.opencv.org/3.4.0/df/d4e/classcv_1_1img__hash_1_1PHash.html. OpenCV usage questions belong to OpenCV Q&A forum: http://answers.opencv.org/questions/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants