Basic Pose estimation Module
Project description
Pose Estimation
import cv2
import time
from PoseDetector.PoseModule import PoseDetector #posedetector module
cap = cv2.VideoCapture(0)
pTime = 0
detector = PoseDetector()
while True:
success, img = cap.read()
img = detector.findPose(img)
lmList = detector.getPosition(img)
print(lmList)
cTime = time.time()
fps = 1 / (cTime - pTime)
pTime = cTime
cv2.putText(img, str(int(fps)), (50, 50), cv2.FONT_HERSHEY_SIMPLEX, 1, (255, 0, 0), 3)
cv2.imshow("Image", img)
cv2.waitKey(1)
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
PoseEstimator-0.0.1.tar.gz
(2.3 kB
view details)
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 PoseEstimator-0.0.1.tar.gz.
File metadata
- Download URL: PoseEstimator-0.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ce88e136eaaca798f02ced1f905893dbcd93dd5af6490244bc8e0ec6e8ee601
|
|
| MD5 |
4d8234d4e0348867b7f14a8bcb376da8
|
|
| BLAKE2b-256 |
fbf3879dbd7eb91a4a4f750e933882163b0118838507fc919433c3bd0549e8f4
|
File details
Details for the file PoseEstimator-0.0.1-py3-none-any.whl.
File metadata
- Download URL: PoseEstimator-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f7ce87072e7a2ab7f71c8f31816a195e2213c4b90e8f3e6bfb3ab438cfaffae
|
|
| MD5 |
743984f82230effdd0687269c1ee4678
|
|
| BLAKE2b-256 |
e09268866f3c5830ea1ccd4be6304f20c862d9797b06a884d795216f140483ab
|