Direct Implementation of computer vision with just a line of code
Project description
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()
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cvindrones-0.0.2-py3-none-any.whl.
File metadata
- Download URL: cvindrones-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02496955a45b41d91201b1026687b123ae531de43d30c610195b854517e11290
|
|
| MD5 |
d1613aad26a96fb8afcdec0d3a6a72f0
|
|
| BLAKE2b-256 |
17de5b5cf56dd8a7756baeafdd5150ba0069d7edf7222ddfe50cb813a326bbb5
|