Added image phash support for future card recognition feature