All Projects β†’ cansik β†’ mediapipe-osc

cansik / mediapipe-osc

Licence: MIT license
MediaPipe examples which stream their detections over OSC.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to mediapipe-osc

Poseosc
πŸ“ΉπŸ€Έβ€β™‚οΈπŸ€Ύβ€β™€οΈπŸ€Ί PoseNet + OSC: send realtime human pose estimation data to your apps
Stars: ✭ 40 (+53.85%)
Mutual labels:  osc, pose-estimation
UnityHandTrackingWithMediapipe
Realtime hand tracking and finger tracking in Unity using Mediapipe
Stars: ✭ 129 (+396.15%)
Mutual labels:  hand-tracking, mediapipe
ue4-mediapipe-plugin
UE4 MediaPipe plugin
Stars: ✭ 159 (+511.54%)
Mutual labels:  hand-tracking, mediapipe
depthai hand tracker
Running Google Mediapipe Hand Tracking models on Luxonis DepthAI hardware (OAK-D-lite, OAK-D, OAK-1,...)
Stars: ✭ 284 (+992.31%)
Mutual labels:  hand-tracking, mediapipe
Awesome-Vision-Transformer-Collection
Variants of Vision Transformer and its downstream tasks
Stars: ✭ 124 (+376.92%)
Mutual labels:  pose-estimation
linux-show-player
Linux Show Player - Cue player designed for stage productions
Stars: ✭ 147 (+465.38%)
Mutual labels:  osc
posture recognition
Posture recognition based on common camera
Stars: ✭ 91 (+250%)
Mutual labels:  pose-estimation
poseviz
3D Human Pose Visualizer for Python
Stars: ✭ 68 (+161.54%)
Mutual labels:  pose-estimation
slamkit
SLAM Kit
Stars: ✭ 28 (+7.69%)
Mutual labels:  pose-estimation
aiosc
Lightweight Open Sound Control implementation for Python using asyncio
Stars: ✭ 26 (+0%)
Mutual labels:  osc
micropython-osc
A minimal OSC client and server library for MicroPython.
Stars: ✭ 37 (+42.31%)
Mutual labels:  osc
MSPN
Multi-Stage Pose Network
Stars: ✭ 40 (+53.85%)
Mutual labels:  pose-estimation
Streamlit-Applications
Deep Learning and Computer Vision Applications using Streamlit
Stars: ✭ 55 (+111.54%)
Mutual labels:  mediapipe
Sport-With-AI
The human body is detected with the help of the Mediapipe library. Then, using the mathematical methods applied, it is determined how much the exercise count is done.
Stars: ✭ 85 (+226.92%)
Mutual labels:  mediapipe
PCLoc
Pose Correction for Highly Accurate Visual Localization in Large-scale Indoor Spaces (ICCV 2021)
Stars: ✭ 37 (+42.31%)
Mutual labels:  pose-estimation
EyeCommander
An open source computer vision interface that tracks eye movements for individuals with severely-limited mobility.
Stars: ✭ 41 (+57.69%)
Mutual labels:  mediapipe
GA SLAM
πŸš€ SLAM for autonomous planetary rovers with global localization
Stars: ✭ 40 (+53.85%)
Mutual labels:  pose-estimation
Keypoint Communities
[ICCV '21] In this repository you find the code to our paper "Keypoint Communities".
Stars: ✭ 255 (+880.77%)
Mutual labels:  pose-estimation
AirPose
This repository contains the code of AirPose, our multi-view fusion network for Human Pose and Shape Estimation method
Stars: ✭ 39 (+50%)
Mutual labels:  pose-estimation
terran
A human perception library
Stars: ✭ 98 (+276.92%)
Mutual labels:  pose-estimation

MediaPipe OSC

MediaPipe examples which stream their detections over OSC to be used in other applications.

Install & Run

Currently this is only tested on Windows and MacOS. It's recommended to use Python3 (>3.7) and a virtual environment.

python install -r requirements.txt

To run an example use the basic python command to start up the script.

# start pose detection with webcam 0
python pose.py --input 0

# start pose detection with video
python pose.py --input yoga.mp4

Other parameters are documented in the following list or algorithm specific.

  • input - The video input path or video camera id (default 0)
  • min-detection-confidence - Minimum confidence value ([0.0, 1.0]) for the detection to be considered successful. (default 0.5)
  • min-tracking-confidence - Minimum confidence value ([0.0, 1.0]) to be considered tracked successfully. (default 0.5)
  • ip - OSC ip address to send to (default 127.0.0.1)
  • port - OSC port to send to (default 7500)

Full-Body Pose Landmark Model (BlazePose Tracker)

The landmark model currently included in MediaPipe Pose predicts the location of 33 full-body landmarks (see figure below), each with (x, y, z, visibility). Note that the z value should be discarded as the model is currently not fully trained to predict depth, but this is something we have on the roadmap.

Pose Description

Reference: mediapipe/solutions/pose

Additional Parameters

--model-complexity MODEL_COMPLEXITY
                      Set model complexity (0=Light, 1=Full, 2=Heavy).
--no-smooth-landmarks
                      Disable landmark smoothing.
--static-image-mode   Enables static image mode.

Format

  • count - Indicates how many poses are detected (currently only 0 or 1)
  • list of landmarks (33 per pose) (if pose has been detected)
    • x - X-Position of the landmark
    • y - Y-Position of the landmark
    • z - Z-Position of the landmark
    • visibility - Visibility of the landmark
/mediapipe/pose [count, x, y, z, visibility, x, y, z, visibility ...]

Hand Detection

The hand detection model is able to detect and track 21 3D landmarks.

Format

  • count - Indicates how many hands are detected
  • list of landmarks (21 per hand) (if hands has been detected)
    • x - X-Position of the landmark
    • y - Y-Position of the landmark
    • z - Z-Position of the landmark
    • visibility - Visibility of the landmark
/mediapipe/hands [count, x, y, z, visibility, x, y, z, visibility ...]

Face Detection

The face detection model is able to detect multiple faces and 5 keypoints. At the moment only the bounding box is sent over OSC.

Format

All values are normalized to the image width and height.

  • count - Indicates how many faces are detected
  • list of one bounding box per face (if faces has been detected)
    • xmin - X-Position of the top-left bounding box anchor
    • ymin - Y-Position of the top-left bounding box anchor
    • width - Width of the bounding box
    • height - Height of the bounding box
    • score - Confidence score of the bounding box
/mediapipe/faces [count, xmin, ymin, width, height, score, xmin, ymin, width, height, score ...]

Face Mesh

tbd

Examples

Currently, there are very basic receiver examples for processing. Check out the examples folder.

About

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].