pyphashml icon indicating copy to clipboard operation
pyphashml copied to clipboard

Is Nvidia GPU supported to calculate phash ?

Open ithanwu opened this issue 3 years ago • 1 comments

I want to construct an app that processes videos ,and my cpu resource is not that enough ,so I hope to find a way to calculate perception hash on Nvidia GPU ,so that I can speed up my app with limited cpu resource. Anyone can help me?

ithanwu avatar Jul 25 '22 06:07 ithanwu

ithanwu,

It uses Tensorflow v1.15. As I understand it, it should recognize the card installed on your system. When you run the program to calculate the phash, you should be able to tell from the log messages if it is using the gpu is being used.

If not, then I'm sure there's something I have to do programmatically. But it should be fairly trivial.

dgs

starkdg avatar Jul 25 '22 13:07 starkdg