ThreatExchange icon indicating copy to clipboard operation
ThreatExchange copied to clipboard

[hma] Implement Photo <=> Photo comparison on the match debug screen

Open Dcallies opened this issue 4 months ago • 0 comments

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.

  1. Minimum Viable Product:
    1. You can upload two photos
    2. HMA will generate signatures for all configured signal types that are applicable
    3. It will list distances for all the signal types it could generate signals for
    4. It will display which of those signal types are within their default match distance
  2. Compare against banked content
    1. When uploading 1 photo
    2. HMA will generate signatures for all configured signal types that are applicable
    3. It will display a limited number of matches grouped by bank (e.g. 9) as well as the method matched and the distance
    4. A user can compare different distances for different matches
  3. Stretch - include metadata
    1. For banked content, if that content is also from an exchange, display the exchange metadata (exchange type, net opinion, potentially the raw json)

Image

Dcallies avatar Oct 01 '24 14:10 Dcallies