The library I am using is pixel match.
const options = {}; const defaultOptions = { threshold: 0.1, // matching threshold (0 to 1); smaller is mo