UNPKG

pdq-wasm

Version:

WebAssembly bindings for Meta's PDQ perceptual image hashing algorithm

12 lines 690 B
/** * PDQ WebAssembly - Perceptual image hashing for browser and Node.js * * Based on Meta's PDQ algorithm from the ThreatExchange project * https://github.com/facebook/ThreatExchange/tree/main/pdq */ export { PDQ } from './pdq'; export type { PDQHash, PDQHashResult, ImageData, PDQOptions, PDQWorkerOptions, SimilarityMatch, } from './types'; export { createHashChecker, hammingDistance, generateHashFromDataUrl, generateHashFromBlob, detectDuplicatesByHash, } from './browser'; export type { HashLookupResult, HashChecker, PDQImageData, FileWithHash, DetectionProgress, ProgressCallback, } from './browser'; export { PDQ as default } from './pdq'; //# sourceMappingURL=index.d.ts.map