Skip to main content

A simple approach to detect 3d keypoints by using 2d estimation methods and multiview rendering.

Project description

Multiview 3D Keypoint Detection (Muke)

A simple approach to detect 3d keypoints by using 2d estimation methods and multiview rendering.

Installation

To install the package use the following pip command:

pip install muke

Running

Configuration

Example configuration:

{
  "description": "MP Face",
  "detector": "media-pipe-face",
  "resolution": 1024,
  "generator": "wrap3",
  "views": [
    {
      "name": "frontal",
      "rotation": 0,
      "keypoints": [
        4,
        76,
        306
      ]
    }
  ]
}

Example on how to create a range (skip is optional):

{
  "start": 10,
  "end": 15,
  "skip": [13, 14]
}

Demo

python -m muke assets/person.ply --display --resolution 1024
python -m muke temp/AlexedWrapped.obj --display --resolution 1024 --detector media-pipe-face
python -m muke temp/AlexedWrapped.obj --display --config config/media-pipe-face.json

Help

usage: muke [-h] [--detector {media-pipe-pose,media-pipe-face}]
               [--resolution RESOLUTION] [--generator {wrap3}] [--display]
               [--debug]
               input

Detects keypoint locations in a 3d model.

positional arguments:
  input                 Input mesh to process.

optional arguments:
  -h, --help            show this help message and exit
  --detector {media-pipe-pose,media-pipe-face}
                        Detection method for 2d keypoint detection (default:
                        media-pipe-pose).
  --resolution RESOLUTION
                        Render resolution for each view pass (default: 512).
  --generator {wrap3}   Generator methods for output generation (default:
                        wrap3).
  --display             Shows result rendering with keypoints (default: False)
  --debug               Shows debug frames and information (default: False)

About

MIT License - Copyright (c) 2022 Florian Bruggisser

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

muke-0.2.1-py3-none-any.whl (13.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page