Skip to content

Web application for redacting and publishing police body worn video as efficiently as possible

Notifications You must be signed in to change notification settings

seattle-police/redactvideo

Repository files navigation

RedactVideo is a free open source web app developed by the Seattle Police Department. It allows police departments to automatically publish large quantities of dash and body camera videos while obscuring the identities of citizens.

Installation

On Amazon Web Services

  1. Create an account
  2. Go to https://portal.aws.amazon.com/gp/aws/developer/registration/index.html
  3. Enter your email address, select "I am new user", and click "Signin using our secure server"
  4. Fill out the form and click "Create account"
  5. Fill out the contact form and click "Create Account and Continue"
  6. Fill out the payment information and click "Continue"
  7. Follow the on screen identify verification instructions and then click "Continue to select your Support Plan"
  8. On next screen select basic support plan and click "Continue"
  9. On "Welcome to Amazon Web Services" click "Sign into the Console"
  10. Signin. Warning you could get the message "Thanks for signing up with Amazon Web Services. Your services may take up to 24 hours to fully activate. If you’re unable to access AWS services after that time, here are a few things you can do to expedite the process:"
  11. Setup a role
  12. Click on your name in the top right, click "Security Credentials", and then click "Get Started With IAM Users"
  13. Click "Roles"
  14. Click "Create New Role"
  15. Enter "fullAccess"
  16. Click "Select" next to "Amazon EC2", then click the checkbox next to "Administrator Access", and then click "Next Step"
  17. Clikc "Create Role"
  18. Create an EC2 Instance
  19. Click on the orange box and the top left
  20. Click on "EC2"
  21. Click "AMIs"
  22. Click "Owned by me" and then click "Public images"
  23. Click the search box, then click "Name" under "Tag Keys", and then enter "RedactVideo", and hit enter
  24. When the search has completed select the checkbox for "RedactVideo redact_video_main_10_10_15 ami-a84fa89b 141623682332/redact_video_main_10_10_15 141623682332 Public"
  25. Click "Launch"
  26. Select the top item "t2.micro" (free tier)
  27. Click "Configure Instance Details"
  28. Click "None" to the right of "IAM role" and then click "fullAccess"
  29. Click "Next: Add Storage"
  30. Click "Next: Tag Instance"
  31. Enter "RedactVideo primary"
  32. Click "Next: Continue Security Group"
  33. Click "Add Rule", then change 0 to 80, and then click "Custom IP" and change it to "Anywhere"
  34. Click "Review and Launch"
  35. Click "Launch"
  36. Click "Choose an existing key pair" and then click "Proceed without a key pair"
  37. Click the checkbox next to "I acknowledge" and then click "Launch Instances"
  38. Click "View Instances" and wait about two to five minutes for it to boot up
  39. Click on the row and copy paste the public DNS url, it should look like "ec2-54-148-137-114.us-west-2.compute.amazonaws.com"
  40. Open a broswer tab and paste in the public DNS url. The url shouldn't work but keep the tab open so you can come back to it easily.
  41. Get Google API key for connecting to Youtube
  42. Go to https://console.developers.google.com in new browser tab
  43. Click on "Credentials" and click "Add credentials"
  44. Click "OAuth 2.0 client ID" and select "Web application"
  45. In name field put "RedactVideo"
  46. In next box put http://[[Amazon EC2 public dns url]]
  47. In the next box put http://[[Amazon EC2 public dns url]]/youtube_oauth_callback/
  48. Click "Create"
  49. Copy the Client ID
  50. Go to the RedactVideo web app tab you created earlier and refresh
  51. Click "Single user install"
  52. Paste the Google Client ID
  53. Then copy and paste the client secret
  54. Click "Next"

Capabilities

Over-redaction

  • Remove audio and blur all frames
  • Remove audio and turn all frames to just outlines of what's in them (AHA effect)
  • Remove audio and detect when camera stops moving, make that frame a reference, and redact what's not in the reference frame (doesn't work with body cam footage but does work with in-car video)

Precise redaction

  • Redact audio as listen
  • Draw rectangle and do one of following
    • Redact for all frames (e.g. officer serial number for officer involved shooting)
    • Redact for some frames
    • Track forwards and backwards
    • Track forwards
    • Track backwards
  • Run detectors
    • Group them

About

Web application for redacting and publishing police body worn video as efficiently as possible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages