cvindrones-0.0.2
توضیحات
Direct Implementation of computer vision with just a line of code
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cvindrones-0.0.2 |
| نام | cvindrones |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lakshay Kumar |
| ایمیل نویسنده | contact@lakshaykumar.tech |
| آدرس صفحه اصلی | https://www.lakshaykumar.tech/ |
| آدرس اینترنتی | https://pypi.org/project/cvindrones/ |
| مجوز | - |
More about cvindrones
==============================
It is a package having pre-built codes of face recognition, hands tracking module and body pose tracking. Implemented with a single line of code.
https://www.lakshaykumar.tech/
What Is This?
-------------
Implement the power of Computer Vision in your program with just few simple lines of code. Hand detection, Body Pose and face Recognition modules are included in this package
faceProcessor(image, draw=False)
> This function returns a 1D list of 3 items. Image (with rectangular box, if drawArea=True), area of face and [x,y,w,h]
bodyProcessor(image, draw=False)
> This function returns a list of 3 items i.e. Image (with rectangular box, if drawArea=True), list of body points and area of body.
handProcessor(image, draw=False)
> This function returns a list having image (with hand connections, if drawArea=True) and points in handlandmarks
Usage
-------
> faceProcessor(image, draw=True)
```
from cvindrones import faceProcessor
import cv2
cap = cv2.VideoCapture(0)
while True:
success, image = cap.read()
funValues = faceProcessor(image,draw=True)
image = funValues[0]
area = funValues[1]
x,y,w,h = funValues[2]
cv2.imshow('Faces', image)
cv2.waitKey(1)
cap.release()
```
> bodyProcessor(image, draw=True)
```
from cvindrones import bodyProcessor
import cv2
cap = cv2.VideoCapture(0)
while True:
success, image = cap.read()
funValues = bodyProcessor(image,draw=True)
image = funValues[0]
poseList = funValues[1]
area = funValues[2]
cv2.imshow('Body Posture Detection', image)
cv2.waitKey(1)
cap.release()
```
> handProcessor(image,draw=True)
```
from cvindrones import handProcessor
import cv2
cap = cv2.VideoCapture(0)
while True:
success, image = cap.read()
funValues = handProcessor(image,draw=True)
image = funValues[0]
handLms = funValues[1]
cv2.imshow('Hand Gesture Controller', image)
cv2.waitKey(1)
cap.release()
```
نیازمندی
| مقدار | نام |
|---|---|
| - | mediapipe |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.3 | Python |
نحوه نصب
نصب پکیج whl cvindrones-0.0.2:
pip install cvindrones-0.0.2.whl
نصب پکیج tar.gz cvindrones-0.0.2:
pip install cvindrones-0.0.2.tar.gz