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 details)

Uploaded Python 3

File details

Details for the file muke-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: muke-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for muke-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08472c76a503788b4f5bd3b1d0850571202a9da90894d8a50151dbfbd7501008
MD5 0060f58d52f61861763b7ff2784bc93d
BLAKE2b-256 3c614f0076c2f64cd0572d8b3b321c79571b855e2218db1df95e60c1fe7d8bec

See more details on using hashes here.

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