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

Cannot Implement Holistic in Android #5764

Open
Kaan-Karaoglan opened this issue Dec 2, 2024 · 1 comment
Open

Cannot Implement Holistic in Android #5764

Kaan-Karaoglan opened this issue Dec 2, 2024 · 1 comment
Assignees
Labels
legacy:holistic Issues related to Holistic os:windows MediaPipe issues on Windows platform:android Issues with Android as Platform type:support General questions

Comments

@Kaan-Karaoglan
Copy link

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

Yes

OS Platform and Distribution

Windows 11 and API 30

MediaPipe Tasks SDK version

No response

Task name (e.g. Image classification, Gesture recognition etc.)

Holistic

Programming Language and version (e.g. C++, Python, Java)

Java

Describe the actual behavior

I cannot reach the landmarks

Describe the expected behaviour

I want to reach landmarks that produced by holistic_tracking_gpu.aar

Standalone code/steps you may have used to try to get what you need

https://github.com/Kaan-Karaoglan/Turkish_Sign_Language_Mobile_Application

Other info / Complete Logs

processor.addPacketCallback("output_video", packet -> {
//            LandmarkList landmarks = null;
//            try {
//                landmarks = PacketGetter.getProto(packet, LandmarkList.class);
//            } catch (InvalidProtocolBufferException e) {
//                throw new RuntimeException(e);
//            }
//            synchronized (landmarkHistory) {
//                if (landmarkHistory.size() >= LANDMARK_HISTORY_SIZE) {
//                    landmarkHistory.remove(0);
//                }
//                landmarkHistory.add(landmarks);
//            }
//            processLandmarks(landmarkHistory);


I cannot reach landmarks through this script. It sends an error about GPU.buffer.
@kuaashish kuaashish assigned kuaashish and unassigned kalyan2789g Dec 3, 2024
@kuaashish kuaashish added os:windows MediaPipe issues on Windows platform:android Issues with Android as Platform task:holistic landmarker Issues related to MediaPipe Holistic Landmarker legacy:holistic Issues related to Holistic type:support General questions and removed task:holistic landmarker Issues related to MediaPipe Holistic Landmarker labels Dec 3, 2024
@salihselimsekerci
Copy link

MediaPipe "GPU.buffer" hatası için çözüm:

OpenGL ES Sürümünü Kontrol Edin: Cihazınızın OpenGL ES 3.1 veya üstünü desteklediğinden emin olun.

holistic_tracking_gpu.aar Doğru Eklendi Mi? implementation files('libs/holistic_tracking_gpu.aar') ile Gradle yapılandırmasını kontrol edin.

Girdi/Çıktı Formatını Doğrulayın: Modelin beklediği çözünürlük ve renk formatını doğru sağlayın.

Logcat İle Hata Takibi Yapın: Hatanın detaylarını görmek için adb logcat -s Mediapipe komutunu çalıştırın.

GPU Yerine CPU Kullanın (Test): GPU kaynaklı sorunu daraltmak için işlemeyi CPU'ya yönlendirin.

Bu adımları uygulayarak sorunu çözebilirsiniz. Yine sorun devam ederse detaylı bilgi verin, destek olayım! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy:holistic Issues related to Holistic os:windows MediaPipe issues on Windows platform:android Issues with Android as Platform type:support General questions
Projects
None yet
Development

No branches or pull requests

4 participants