Coder Social home page Coder Social logo

meqdaddev / detectors-world Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 20.37 MB

Detectors World... See the World Through Code. Build Computer Vision applications in easy and handy way.

License: MIT License

Python 100.00%
computer-vision deep-learning face-detection face-mesh-detection face-recognition hand-detection mediapipe mediapipe-facemesh mediapipe-hands mediapipe-pose

detectors-world's Introduction

Detectors World

PyPI Downloads MIT License

Detectors World Logo

Detectors World is a Python package created for building Computer Vision applications in easy and handy way.

Developed by @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:

opencv-python
mediapipe

Installation

Install detectors world package with pip

pip install detectors_world

Run Detectors ๐Ÿš€๐Ÿš€

Hand Detector โœ‹

Hand detector examples with OpenCV:

Example 1:

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:

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:

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:

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:

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:

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

linkedin

twitter

detectors-world's People

Contributors

meqdaddev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

purposecodes

detectors-world's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.