ThreatExchange
ThreatExchange copied to clipboard
[hma] Implement Photo <=> Photo comparison on the match debug screen
We have a partial Photo match debugging screen, living at https://github.com/facebook/ThreatExchange/blob/main/hasher-matcher-actioner/src/OpenMediaMatch/templates/pages/match_dbg.html.j2 and /ui/match.
Let's fill out the rest of the functionality.
- Minimum Viable Product:
- You can upload two photos
- HMA will generate signatures for all configured signal types that are applicable
- It will list distances for all the signal types it could generate signals for
- It will display which of those signal types are within their default match distance
- Compare against banked content
- When uploading 1 photo
- HMA will generate signatures for all configured signal types that are applicable
- It will display a limited number of matches grouped by bank (e.g. 9) as well as the method matched and the distance
- A user can compare different distances for different matches
- Stretch - include metadata
- For banked content, if that content is also from an exchange, display the exchange metadata (exchange type, net opinion, potentially the raw json)