https://github.com/meqdaddev/detectors-world
Detectors World... See the World Through Code. Build Computer Vision applications in easy and handy way.
https://github.com/meqdaddev/detectors-world
computer-vision deep-learning face-detection face-mesh-detection face-recognition hand-detection mediapipe mediapipe-facemesh mediapipe-hands mediapipe-pose opencv pose-estimation python
Last synced: 4 months ago
JSON representation
Detectors World... See the World Through Code. Build Computer Vision applications in easy and handy way.
- Host: GitHub
- URL: https://github.com/meqdaddev/detectors-world
- Owner: MeqdadDev
- License: mit
- Created: 2023-02-10T19:46:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T20:48:37.000Z (about 2 years ago)
- Last Synced: 2024-04-28T10:42:31.191Z (about 2 years ago)
- Topics: computer-vision, deep-learning, face-detection, face-mesh-detection, face-recognition, hand-detection, mediapipe, mediapipe-facemesh, mediapipe-hands, mediapipe-pose, opencv, pose-estimation, python
- Language: Python
- Homepage:
- Size: 19.9 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Detectors World
[](https://pypi.org/project/detectors-world/)
[](https://pepy.tech/project/detectors-world)
[](https://choosealicense.com/licenses/mit/)

Detectors World is a Python package created for building Computer Vision applications in easy and handy way.
Developed by [@MeqdadDev](https://www.github.com/MeqdadDev)
## Available Computer Vision Detectors
The available detectors in Detectors World package are:
- Hand Detection
- Face Detection
- Pose Detection
- Face Mesh Detection
More detectors will be added in the next releases. Check out contribution guides below.
## Documentation
The complete documentation will be added soon....
## Dependencies
Detectors World dependencies are:
```bash
opencv-python
mediapipe
```
## Installation
Install detectors world package with pip
```bash
pip install detectors_world
```
## Run Detectors 🚀🚀
## Hand Detector ✋
Hand detector examples with OpenCV:
#### Example 1:
```python
from detectors_world import DetectorCreator
import cv2 as cv
cap = cv.VideoCapture(0)
creator = DetectorCreator()
hand = creator.getDetector("hand")
while True:
status, img = cap.read()
hand.detect(img, drawOnHand=True)
cv.imshow("Hand Detection", img)
cv.waitKey(1)
```
#### Example 2:
```python
from detectors_world import DetectorCreator
import cv2 as cv
cap = cv.VideoCapture(0)
creator = DetectorCreator()
hand = creator.getDetector("hand")
while True:
status, img = cap.read()
hand.detect(img, drawOnHand=True)
landmarks = hand.locate(img, drawOnHand=True, handsNumber=1)
cv.imshow("Hand Detection", img)
cv.waitKey(1)
```
### Pose Detector 💪
Pose detector examples with OpenCV:
#### Example 1:
```python
from detectors_world import DetectorCreator
import cv2 as cv
cap = cv.VideoCapture(0)
creator = DetectorCreator()
pose = creator.getDetector("pose")
while True:
status, img = cap.read()
pose.detect(img, drawOnPose=True)
cv.imshow("Pose Detection", img)
cv.waitKey(1)
```
### Face Detector 😃
Face detector examples with OpenCV:
#### Example 1:
```python
from detectors_world import DetectorCreator
import cv2 as cv
cap = cv.VideoCapture(0)
creator = DetectorCreator()
face = creator.getDetector("face")
while True:
status, img = cap.read()
face.detect(img, drawOnFace=True)
cv.imshow("Face Detection", img)
cv.waitKey(1)
```
#### Example 2:
```python
from detectors_world import DetectorCreator
import cv2 as cv
cap = cv.VideoCapture(0)
creator = DetectorCreator()
face = creator.getDetector("face")
while True:
status, img = cap.read()
face.detect(img, drawOnFace=False)
landmarks = face.locate(img, drawOnFace=True)
cv.imshow("Face Detection", img)
cv.waitKey(1)
```
### Face Mesh Detector 🤖
Face mesh detector examples with OpenCV:
#### Example 1:
```python
from detectors_world import DetectorCreator
import cv2 as cv
cap = cv.VideoCapture(0)
creator = DetectorCreator()
facemesh = creator.getDetector("face_mesh")
while True:
status, img = cap.read()
facemesh.detect(img, drawOnFace=True)
cv.imshow("Facemesh Detection", img)
cv.waitKey(1)
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
For new projects/examples, please make sure you've tested your code in real environment. And to avoid duplications, please take a sneak peek on the uploaded projects before making your PR.
## 🔗 Find me on
[](https://www.linkedin.com/in/meqdad-darwish/)
[](https://twitter.com/MeqdadDev)