Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noise based on Face Recognition #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ThoughtfulDev
Copy link

@ThoughtfulDev ThoughtfulDev commented Mar 30, 2018

This function automatically noises a person in an Image based on one (or more) Images of that Person.
I have added new CLI Arguments such as:

  -f, --facerecog       Does face recognition
  -k KNOWN_PATH, --known KNOWN_PATH
                        Path to known images

They should be fairly simple.
Example call would be
python person_blocker.py -i block.jpg -f -k ./known where 'known' is a folder with jpgs of the person you want to block.

This pull request adds the following dependencies

  • opencv-python
  • face_recognition (which itself has dlib as a dependency)

dlib can be installed on Windows but its a pain in the a**

@minimaxir
Copy link
Owner

This adds a lot of complexity to the script (and opencv-python is not an easy dependency to add either).

I'll have to think about it.

@ThoughtfulDev
Copy link
Author

ThoughtfulDev commented Mar 30, 2018

OpenCV has only been used on the resize part (which could easily be skipped). So CV isn't really necessary.

Edit: I removed the OpenCV dependency.

I just wanted to make it as close to Blackmirror as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants