Towards a subset reimplmention of Mediapipe with OpenVINO tool.
Reason this release was yanked:
Bug version
Project description
MediapipeOpenvino
This is a subset reimplemention of Mediapipe with OpenVINO tool.
Usage Example
Face Detection
import cv2
import numpy as np
from MediapipeOpenvino.face_detection import FaceDetection
frame = cv2.imread("xx") ## Currently, we only support HWC format.
fd = FaceDetection()
re = fd(frame)
for batch in re: ## This version only support one image. This is a dummy loop.
for dec in batch:
img = cv2.rectangle(frame, (int(dec.xmin*w),int(dec.ymin*h)), (int(dec.xmax*w),int(dec.ymax*h)), (255, 0, 0), 1)
cv2.imwrite("test.jpg",frame)
Copyright
All the copyright in this code lies on the Mediapipe. We just follow the original implementation and use Python to achieve the same result.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for MediapipeOpenvino-0.0.1-1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 383a73c7ca4e028ea9c4a37a147478476d2dcd76929258ae2b9b22ef6a07f7f3 |
|
MD5 | 58cc88229650d52c24f70b2be72fb8d2 |
|
BLAKE2b-256 | b2522314d1b359e243570ecfaa4a657d66553dfa3d6ab3672f7bbc66598974cb |
Close
Hashes for MediapipeOpenvino-0.0.1-1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ed1d6843de883fb85ddb4c5a398060ded59d83defd2fbbe154c2b23e7b0b6e |
|
MD5 | 5e564b16bd9f5351e69b587ffed1e6ba |
|
BLAKE2b-256 | 2f6bdacd945fb9dd0ee77453491ee53195c41957da3a013c3e8b80088897cdfd |