Code Monkey home page Code Monkey logo

mediapipe-extended's Introduction

Mediapipe-Extended Mediapipe Build

Mediapipe for Python with extended solution support. The aim of this repository is to add solutions to mediapipe that are not included in the original mediapipe Python package. This repository just provides the build script and examples for mediapipe-extended. The build script uses the face-geometry-python branch to build the python wheel package.

Installation

Until a PyPi package is released, use pip to install the wheel directly.

pip install -r requirements.txt
pip install https://github.com/cansik/mediapipe-extended/releases/download/v0.9.1/mediapipe_extended-0.9.1-cp39-cp39-macosx_12_0_arm64.whl

Prebuilt wheels for the following python versions and operating systems are available.

  • Python (3.8, 3.9, 3.10, 3.11)
  • Windows amd64, Linux x86-x64, MacOS x64 (Intel), MacOS arm64 (M1/M2)

Face Geometry

The Face Geometry solution allows the head transformation matrix to be recovered from the landmark detection. This enables face effects or undistorted landmark analysis.

Augmented Reality

Project filters onto the face by using the geometry information.

Face Geometry Example

python examples/FaceGeometryExample.py

Measure Distance

Measure distances between landmarks without the perspective distortion.

Face Geometry Example

python examples/NeutralFaceLandmarkExample.py

Build

To create a wheel package, set up your computer as described in Mediapipe: Getting Started and run the following command (Powershell Core is required). Please use a more recent version of powershell (e.g. PowerShell 7.3.2) and install the following dependency managers for your system:

pwsh tools/build.ps1

About

Apache-2.0 license - Copyright (c) 2023 Florian Bruggisser

mediapipe-extended's People

Contributors

cansik avatar

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.