
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Generate profile photos for all faces in a given image
Input
Output
Greyed
pip install opencv-python roundface
python -m venv venv
venv/bin/activate
or venv\Scripts\activate
pip install -r requirement.txt
roundface - s <path to image file or folder>
python roundface.py - s <path to image file or folder>
-g or --grey Integer. 1 or 0. Specifies whether resulting photos should be greyed out.
- sz or --size Integer. Desired output size in pixels
- r or --radius Integer (Float). e.g 1.2 for 20% more than the default radius.
Faces that can't fit a particular radius will be skipped
roundface -s z://home/photos
roundface -s z://home/photos/myself.jpg
roundface -s vacation/photos - sz 400 -g 1
roundface -s vacation/photos - sz 400 -r 1.0
python roundface.py -s z://home/photos
python roundface.py -s z://home/photos/myself.jpg
python roundface.py -s vacation/photos - sz 400 -g 1
python roundface.py -s vacation/photos - sz 400 -r 1.0
A folder named roundface will in created in the same location as the image source. It will contain the output photos.
FAQs
Detect Faces In Images and Generate Profile Photos
We found that roundface demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.