Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the Data Flow Graph in mediapipe be separated and become a third-party library? #4184

Closed
libaineu2004 opened this issue Mar 19, 2023 · 5 comments
Assignees
Labels
platform:c++ Issues specific to C++ framework in mediapipe task::all All tasks of MediaPipe type:feature Enhancement in the New Functionality or Request for a New Solution

Comments

@libaineu2004
Copy link

MediaPipe Solution (you are using)

Data Flow Graph

Programming language

C++

Are you willing to contribute it

No

Describe the feature and the current behaviour/state

Can the Data Flow Graph in mediapipe be separated and become a third-party library? Use C++ language.
Like this open source project:
https://github.com/taskflow/taskflow

Purely a library, just a function of the flowchart.

There are too many features in mediapipe, and I just need flow-chart functionality.

Will this change the current API? How?

No response

Who will benefit with this feature?

No response

Please specify the use cases for this feature

null

Any Other info

No response

@libaineu2004 libaineu2004 added the type:feature Enhancement in the New Functionality or Request for a New Solution label Mar 19, 2023
@ayushgdev ayushgdev added task::all All tasks of MediaPipe platform:c++ Issues specific to C++ framework in mediapipe labels Mar 20, 2023
@ayushgdev
Copy link
Contributor

Hello @libaineu2004
This is an interesting ask. While we are delighted to know MediaPipe's graph based implementation is useful for users in this realm as well, MediaPipe is intended to be a customisable ML solution API and not graph based task decomposition for any general use case. We use the graph structure since it best suits the ML solutions need, however, we do not plan to segregate this from the solutions.

@ayushgdev ayushgdev added the stat:awaiting response Waiting for user response label Mar 20, 2023
@libaineu2004
Copy link
Author

Hello @libaineu2004 This is an interesting ask. While we are delighted to know MediaPipe's graph based implementation is useful for users in this realm as well, MediaPipe is intended to be a customisable ML solution API and not graph based task decomposition for any general use case. We use the graph structure since it best suits the ML solutions need, however, we do not plan to segregate this from the solutions.

I'm sorry to hear that. Because this project is too difficult to compile and pass. I submitted the issue, #4171. I really only want to use the flowchart function.

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Waiting for user response label Mar 20, 2023
@ayushgdev
Copy link
Contributor

ayushgdev commented Mar 20, 2023

@libaineu2004 We understand it might be difficult to compile the project. Hence we are working on new MediaPipe Tasks API which can be much more easier to use and resilient to user-defined configurations.
You can check the MediaPipe Tasks API here. However, we will not be able to segregate the graph utilities as a separate library for Data Flow.

@ayushgdev ayushgdev added the stat:awaiting response Waiting for user response label Mar 20, 2023
@libaineu2004
Copy link
Author

libaineu2004 commented Mar 22, 2023

MediaPipe

Yes, it's hard to compile. If you can directly provide vs2019 version of MediaPipe .dll/.lib/*,h is also a good choice.
#2509

Like opencv, it can provide compiled binaries
https://sourceforge.net/projects/opencvlibrary/files/4.6.0/

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Waiting for user response label Mar 22, 2023
@ayushgdev ayushgdev assigned chuoling and unassigned ayushgdev Mar 24, 2023
@ayushgdev ayushgdev added the stat:awaiting googler Waiting for Google Engineer's Response label Mar 24, 2023
@schmidt-sebastian
Copy link
Collaborator

schmidt-sebastian commented Mar 15, 2024

We currently do not have plans to support this but can take external contributions.

@kuaashish kuaashish removed the stat:awaiting googler Waiting for Google Engineer's Response label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:c++ Issues specific to C++ framework in mediapipe task::all All tasks of MediaPipe type:feature Enhancement in the New Functionality or Request for a New Solution
Projects
None yet
Development

No branches or pull requests

6 participants