Giter Club home page Giter Club logo

Comments (4)

jossevessies avatar jossevessies commented on June 26, 2024

It comes down to me having a few questions:

  1. is the build that we receive after downloading the plugin editable? Or do we need an 'unbuilded' version of it? (I am not familiari with 'builds', I know its a basic c++ thing. I'm just being honest haha.

  2. Could you point me in the right direction? In which part of the plugins are you appealing to the mediapipe array of positions?

cheers!

from mediapipe4u-plugin.

endink avatar endink commented on June 26, 2024

Hi @jossevessies

Sorry, its a precompiled plugin, you can‘t modify any code, its like a C# library (windows dll, linux so). The difference is that C# puts the function and class information in the dll (IL symbo), and C++ puts it in the header file .

But you can develop your logic base on this plugin ( include the C++ header file in your project ).

Due to the large size of these precompiled files, they are not suitable for the git development pipline.

If you want to handle the mediapipe raw data, please see UMediaPipeHolisticComponent.h file.

It has some "Trigger" function, Trigger means a C++ native event ( like event/delegate in C# ), you can consume mediapipe data by subscribing to these events.

You can also subscribe these events to hook the lifecycle of the mediapipe graph, but this requires you to be very familiar with google mediapipe.

It's also important to note that MediaPipe4U uses multithreading, and the native event callbacks is not in game thread, so if you need to interact with the UE, you may need to post your callback to the game thread.

//UMediaPipeHolisticComponent.h

FLandmarksOutEvent& PoseLandmarksEventTrigger() { return PoseLandmarksEvent; }
FLandmarksOutEvent& LeftHandLandmarksEventTrigger() { return LeftHandLandmarksEvent; };
FLandmarksOutEvent& RightHandLandmarksEventTrigger() { return RightHandLandmarksEvent; }
FLandmarksOutEvent& FaceLandmarksEventTrigger() { return FaceLandmarksEvent; }
FLandmarksOutEvent& PoseWorldLandmarksEventTrigger() { return PoseWorldLandmarksEvent; }
FaceGeometryOutEvent& FaceGeometryEventTrigger() { return FaceGeometryEvent; }
FClassificationsOutEvent& FaceBlendShapesEventTrigger() { return FaceBlendShapesEvent; }
FVideoTextureCreatedEvent& VideoTextureCreatedEventTrigger() { return VideoTextureCreatedEvent; }

FOnMediaPipeHolisticStateChanged& OnMediaPipeHolisticStoppedTrigger() { return OnStoppedEvent; }
FBeforeMediaPipeHolisticStart& BeforeMediaPipeHolisticStartTrigger() { return BeforeStartEvent;  }
FOnMediaPipeHolisticStateChanged& OnMediaPipeHolisticStartFailedTrigger() { return OnStartFailedEvent;  }
FOnMediaPipeHolisticStateChanged& OnMediaPipeHolisticStartedTrigger() { return OnStartedEvent; }

from mediapipe4u-plugin.

github-actions avatar github-actions commented on June 26, 2024

This issue is stale because it has been open for 15 days with no activity.

from mediapipe4u-plugin.

github-actions avatar github-actions commented on June 26, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

from mediapipe4u-plugin.

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.