OrcaCollective / OpenOversight

Police oversight and accountability through public data 👮
https://spd.watch
GNU General Public License v3.0
11 stars 11 forks source link

Redact non-officer faces in images #194

Open sea-kelp opened 2 years ago

sea-kelp commented 2 years ago

https://github.com/lucyparsons/OpenOversight/issues/39

sea-kelp commented 2 years ago

To break down this task, this would probably involve:

  1. Add a redacted_img_id field to the faces table and Face.redacted_image relationship to the Face model
  2. Update everywhere that uses face.original_image to use face.redacted_image when available
  3. Add a page similar to the face cropping page for logged in users to redact faces
  4. Regenerate thumbnail if saving a redacted image with a thumbnail