Code Monkey home page Code Monkey logo

handlenz's Introduction

HandLenz

A MediaPipe Application that performs real-time hand landmark detection, and uses the resulting landmarks to generate MIDI messages, by mapping landmark space to pitch space using a provided scale.

HandLenz Application Usage

  • See LibMP - MediaPipe as a Shared Library for more information on LibMP
  • This application does the following in realtime:
    1. Streams video frames from an attached camera/webcam (OpenCV Device #0)
    2. Runs MediaPipe Hand Landmark on each frame
    3. Uses LibMP to get the XYZ coordinates of detected landmarks
    4. Draws a circle at each landmark's location on the input frame
    5. Displays the result using OpenCV/HighGUI
    6. Produces sound
  • Compilation is managed using CMake - see CMakeLists.txt and libprotobuf.cmake
    • Change ${MEDIAPIPE_DIR} in CMakeLists.txt to match your installation of LibMP
  • This application uses a custom fork of the original LibMP project.
  • Tested on Windows (MSVC 17.9.8)

Prerequisites

  1. Clone and build LibMP

Building

  1. Compile using CMake
  2. cd into output directory containing main binary
  3. Run main binary

handlenz's People

Contributors

nikhilr612 avatar

Watchers

 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.