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

what's the function of the hidden files in MediaPipeTasksCommon/frameworks #5870

Open
gzhhong opened this issue Feb 28, 2025 · 2 comments
Open
Assignees
Labels
platform:ios MediaPipe IOS issues task::all All tasks of MediaPipe type:support General questions

Comments

@gzhhong
Copy link

gzhhong commented Feb 28, 2025

Hello,

After building the mediapipe framework for ios application by build_ios_framework.sh, there are some hidden files and subfolders in MediaPipeTasksCommon and MediaPipeTasksVision, i.e. in MediaPipeTasksVision or in MediaPipeTasksCommon, the folder structure include:

-rw-r--r--@ 1 zhihong staff 163 2 20 18:57 ._LICENSE
-rwxr-xr-x@ 1 zhihong staff 163 2 20 18:57 ._frameworks
-rw-r--r--@ 1 zhihong staff 12331 2 20 18:57 LICENSE
drwxr-xr-x@ 4 zhihong staff 128 2 20 18:57 frameworks

what's the purpose of the hidden files. When I copy the frameworks MediaPipeTasksVision and MediaPipeTasksCommon to Pods folder of iOS application project. If the hidden files not included, the performance of the frameworks seems not so good.

Regards,

James

@gzhhong gzhhong added the type:others issues not falling in bug, perfromance, support, build and install or feature label Feb 28, 2025
@kuaashish kuaashish added type:support General questions platform:ios MediaPipe IOS issues task::all All tasks of MediaPipe and removed type:others issues not falling in bug, perfromance, support, build and install or feature labels Feb 28, 2025
@kuaashish
Copy link
Collaborator

Hi @gzhhong,

Could you please specify the hidden files you are referring to? Understanding their purpose will aid our investigation. We will update you after discussing this with our team.

Thank you!!

@kuaashish kuaashish added the stat:awaiting response Waiting for user response label Feb 28, 2025
@gzhhong
Copy link
Author

gzhhong commented Feb 28, 2025

Hello Kuaashish, after building the ios framework by build_ios_frame.sh, there will be folders like MediaPipeTasksCommon in the target path. Then if you go to the MediaPipeTasksCommon folder and execute 'ls -al', you will find the hidden files like

-rw-r--r--@ 1 zhihong staff 163 2 20 18:57 ._LICENSE
-rwxr-xr-x@ 1 zhihong staff 163 2 20 18:57 ._frameworks

and in the MediaPipeTasksCommon/frameworks folder there are hidden files too, i.e. ls -al MediaPipeTasksCommon/frameworks get the result below:

-rwxr-xr-x@ 1 zhihong staff 163 2 25 18:46 ._MediaPipeTasksCommon.xcframework
-rwxr-xr-x@ 1 zhihong staff 163 2 25 18:46 ._graph_libraries
drwxr-xr-x@ 8 zhihong staff 256 2 25 18:46 MediaPipeTasksCommon.xcframework
drwxr-xr-x@ 6 zhihong staff 192 2 25 18:46 graph_libraries

If the developer copy the folder MediaPipeTasksCommon to the Pods folder of iOS application (i.e. hand landmarker), the hidden files will be missed. But the iOS application can still work, but the MediaPipe library seems not work in good performance, the jitter on landmarks is more than the application with library including the hidden files.

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Waiting for user response label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:ios MediaPipe IOS issues task::all All tasks of MediaPipe type:support General questions
Projects
None yet
Development

No branches or pull requests

2 participants