Comments (11)
I was able to get past the Python error, but ended up stuck at headers and compiler flags mixup between Android toolchain and MSVC. I think it is currently not possible to cross compile Android library on Windows, please set up WSL or Linux VM instead.
My Windows spec:
- Windows 10 22H2
- Python 3.11.7
- Bazel 6.1.1
from gdmp.
Thank you for the information details. I can confirm that camera helper is currently broken on iOS, since there are previous reports about it outside the repository.
I think it is better to open another issue for this iOS camera problem, and it'll be appreciated if you would like to help, as I have no real iOS devices to test camera functionality, and iOS simulator doesn't provide any sort of that for development.
from gdmp.
Can you also specify the versions of the tools used as of the building of the plugin? So i can check with mine. Thank you.
- System
- Python
- Bazel/ Bazelisk
- VS Build tool
- OpenCV
and any other tools i might have missed. Thank you.
from gdmp.
Thank for the info! I am able to build it for Android and Linux using a ubuntu VM. One problem I found is that the GDMP I built for Android is a lot laggier than the one included in the GDMP-demo (built with build.py android --arch arm64-v8a
, tested on a Pixel 6). Do you have any clue to why that'd happen?
Also do you build GDMP for Windows on Linux? I've also encountered several errors when trying that.
from gdmp.
a lot laggier than the one included in the GDMP-demo (built with
build.py android --arch arm64-v8a
build.py
builds debug version by default, you can specify --type release
in the build command.
do you build GDMP for Windows on Linux?
Cross-compile Windows library on Linux is currently not supported, I personally use Windows VM for that.
from gdmp.
Sorry for opening the issue again. I am now able to build for android, linux and windows, and currently trying to build for ios with the ios-fix
branch. When I tried to use the compiled library for ios in the godot project (GDMP demo) and export it, it throws an error:
error: Building for iOS, but the linked and embedded framework 'GDMP.ios.debug.framework' was built for iOS + iOS Simulator. (in target 'GDMP Demo' from project 'GDMP Demo')
Do i change the setting in godot to make it ios + simulator, or change in the build setting to make it ios only? Thank you again!
from gdmp.
error: Building for iOS, but the linked and embedded framework 'GDMP.ios.debug.framework' was built for iOS + iOS Simulator. (in target 'GDMP Demo' from project 'GDMP Demo')
Are you building the Xcode project for simulator, or exporting to real iOS devices? Some details about the environment would help as well, such as Xcode version, built library architecture inside GDMP.ios.debug.framework
(by running lipo -info the_library
)
from gdmp.
I am planning to export it to iOS.
- XCode version: 15.2
- built library architecture inside GDMP.ios.debug.framework: x86_64, arm64
Should i just build it for either x86_64 or arm64? If it's for iPad, is it arm64? I now build with just --arch arm64
and am able to export project to XCode. Onto testing the library on an iOS device
from gdmp.
Following up of this journey of having GDMP on iOS device. Not sure if this is a Godot issue or the library issue, but the mediapipe tasks are not starting.
i've built the --type release --arch arm64
library and imported it to the GDMP-demo project. Added the messages for privacy permissions (Camera, photo and mic access). The app is able to be installed and opened, and i can navigate to the Hand Landmarker task, but upon clicking the Open camera button, nothing happens.
I went and check the process. I suspect it might be an issue about requesting permission with the camera helper, which did not show up, hence no _permission_result()
callback and the program cannot proceed.
FYI, I am using iPad Air 5th generation for testing
from gdmp.
Where can I find the previous reports about it outside the repository? I want to take a look at them and understand more about what might have caused the issue.
from gdmp.
Where can I find the previous reports about it outside the repository? I want to take a look at them and understand more about what might have caused the issue.
Sorry for taking that long to reply.
The reports take place in messaging app that discussion is not public on internet, but I can provide some details regarding iOS camera problem:
- The reports started around 2023/10, some might have changed or fixed.
- The reports use Godot 3.x (GDNative) version of GDMP library, not sure if the behaviours are the same for 4.x.
- Camera helper usage has been refactored without testing on iOS during the first working version (v0.2) and current
master
branch, mainly from producing camera frame packets to wrapping camera frames withmediapipe::Image
class, and some code deduplication. - The problem ultimately tracked to camera helper producing null
MediaPipeImage
.
To sum up, I suspect the root cause would be camera helper from iOS implementation not handling camera frames properly during refactor, but I have no actual device to verify that. If you feel the reports are not accurate anymore, we should track the problems from the ground up by checking if MediaPipeCameraHelper
actually calls into iOS implementation first.
from gdmp.
Related Issues (17)
- Windows support HOT 17
- Building to web and Mac? HOT 2
- Support the new Face blendshapes graph HOT 6
- Update to the latest Godot-cpp to keep up with the latest GDExtension? HOT 1
- Errors in setup.py HOT 3
- GDExtension C# bindings made possible by Godot 4.2 Beta 1 HOT 3
- error on build script: " Repository '@hedron_compile_commands_pip' is not defined" HOT 3
- Camera Helper not working on iOS HOT 3
- Segmentation fault when loading the library if certain module of the editor is system-provided
- Adding MediaPipeHolisticLandmarker to MediaPipe v0.10.13 HOT 14
- Problems with getting the examples running HOT 3
- v0.5 Roadmap
- Problem with building on Linux HOT 3
- Build GDMP AAR HOT 2
- Deleting a graph will mess with Godot rendering HOT 1
- Tutorial request HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdmp.