Skip to content

This Python code uses MediaPipe for simultaneous object detection (shoes, chairs, cups), face, and pose detection. It captures video from the default camera via OpenCV, processing each frame to draw landmarks for detected objects.

Notifications You must be signed in to change notification settings

ruchisharma06/3dObjectDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

3d Object Detection Using MediaPipe

This Python code utilizes the MediaPipe library to perform simultaneous object detection for shoes, chairs, and cups, face detection, and pose detection using the Objectron, FaceMesh, and Pose models from MediaPipe. The code captures video from the default camera using OpenCV and processes each frame to detect and draw landmarks for different objects.

Screen Shot 2024-05-18 at 3 03 01 PM

Main Loop

The code runs a loop to continuously capture frames from the camera and process each frame.

Face Detection: Uses FaceMesh to detect and draw facial landmarks. Pose Detection: Uses Pose model to detect and draw body pose landmarks. Objectron Detection: Processes each Objectron instance (shoe, chair, cup) and draws detected objects with landmarks, rotation, and translation information.

Note

This code provides a real-time demonstration of object detection for shoes, chairs, and cups, along with facial and body pose landmarks, making it a versatile and informative application.

About

This Python code uses MediaPipe for simultaneous object detection (shoes, chairs, cups), face, and pose detection. It captures video from the default camera via OpenCV, processing each frame to draw landmarks for detected objects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages