Giter Site home page Giter Site logo

[WIP] July 2024 Update about mediapipe.net HOT 3 OPEN

GeorgeS2019 avatar GeorgeS2019 commented on August 10, 2024
[WIP] July 2024 Update

from mediapipe.net.

Comments (3)

swety2003 avatar swety2003 commented on August 10, 2024 1

These files can be found at https://github.com/google-ai-edge/mediapipe/tree/master/mediapipe/graphs/face_mesh

from mediapipe.net.

swety2003 avatar swety2003 commented on August 10, 2024

For one of my projects, I need to use the FaceMesh part of MediaPipe. Strangely, I only found the FaceMesh functionality and its examples in version 0.8.9 of this repository, but the latest version has removed thesse files. Therefore, I tried to migrate the relevant files to the latest version, and eventually, it worked well.

Below is an example of using FaceMesh with OpenCVSharp4 on Windows. Please make sure to get the .pbtxt file.

var calculator = new FaceMeshCpuCalculator();
calculator.Run();
calculator.OnResult += Calculator_OnResult;

var Capture = new VideoCapture(0);
Mat frame = new Mat();
Capture.Read(frame);
ImageFrame imgframe = new ImageFrame(ImageFormat.Types.Format.Srgb,
    frame.Width, frame.Height, step, frame.Data, a => { });
calculator.Send(imgframe);



private void Calculator_OnResult(object? sender, List<NormalizedLandmarkList> e)
{
    // get results
}

from mediapipe.net.

GeorgeS2019 avatar GeorgeS2019 commented on August 10, 2024

@swety2003
the main challenge are the out of date .pbtxt file.

I have problem finding those used by the 0.8.9 version.

If you have a working version, even for 0.8.9 repos, it would be great if you could share

from mediapipe.net.

Related Issues (20)

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.