
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.
Chehro is a face detection library for python with a mediapipe backend. It is faster and more accurate comparing to the old HAARCASCADE Classifier way of face detection in python/OpenCV.
First of all, you have to clone this repository to your local machine:
git clone https://github.com/prp-e/chehro
Then, you move to the source directory and run:
pip3 install -e .
NOTE: In some systems(specially Linux based ones) pip3 might be just pip, since most of moderl Linux distributions just left Python2 behind.
In case you want this package to be installed using pip then just run this command:
pip3 install chehro
NOTE: In some systems(specially Linux based ones) pip3 might be just pip, since most of moderl Linux distributions just left Python2 behind.
First, create a new python environment or project. Then you easily can do this:
import cv2
from chehro import Chehro
image = cv2.imread('faces.jpg')
detector = Chehro(image)
result, bboxes = detector.detect()
# In case you might need no bounding box drawn around faces, just run it like this
result, bboxes = detector.detect(draw=False)
NOTE : detect()
method returns a tuple made of an image (or the result) and a list of bounding boxed. All bounding boxes are normalized and you don't need to normalize it manually.
FAQs
A face detection system with mediapipe backend.
We found that chehro 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.