Comments (12)
Made it!
Appreciate your help!
Thanks a lot!
from swiftopenpose.
And for the other issue about BoneDetecter, I create the Podfile and excute "pod install" at the root directory of BoneDecter.
pod 'Upsurge', '0.10.2'
pod 'IteratorTools', '1.1.0'
pod 'OpenCV', '3.3.1'
and then execute"curl -o BoneDetecter/Resources/MobileOpenPose.mlmodel https://s3-ap-northeast-1.amazonaws.com/swiftopenpose/MobileOpenPose.mlmodel
Finally, It shows compile error: CoreML Model Compile Error: unable to read document:MobileOpenPose.mlmodel
Could you please give me some ideas? Thank you very much.
from swiftopenpose.
Thank you for trying.
Hi! After I compiled SwiftOpenPose.xcworkspace succeed on Xcode for my iPhone 6s, while I opening the app, it seems like stuck on the image(swiftopenpose_result.png) that on the /SwiftOpenPose/images. Do you know what happened?
There is only the function to predict joints from images.
Please try and change the loading image.
Could you please give me some ideas? Thank you very much.
from swiftopenpose.
Yes. I had tried command "pod install" to import the Upsurge, iteratorTools, and openCV2.framework. But do not know why there are still exist red names for the dependencies library(shown as figure). And I can run it on my device at the first time succeed after compile it.
However, at the second time, it doesn't work. It seems like stuck on the step that processing(0%) with black background after I choose a video from local Albums. Otherwise, the same issue existing when I Profile this project with instrument 6.
The goal of my research is to analyze the performance of the main functions with different CPU usage. If you could give me some suggestions, that would be much helpful ! Thanks a lot.
from swiftopenpose.
Delete the red library. These are included in the pod.
from swiftopenpose.
Ok. Thanks for your reply. I already delete the red library and restart the Xcode. But the previous issue seems still exist. The fisrt figure is Profile "Core Animation" result, there is an error"mach_msg_trap". The second figure is the error that when I running it on my device.
2018-06-11 23:10:00.003372-0400 BoneDetecter[2271:1056186] Status bar could not find cached time string image. Rendering in-process.
2018-06-11 23:10:02.448986-0400 BoneDetecter[2271:1056286] [discovery] errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 "query cancelled" UserInfo={NSLocalizedDescription=query cancelled}
from swiftopenpose.
I updated to Xcode 9.4 and confirmed its operation.
It moves without problems.
I can not find OpenCV in the image, but have you specified OpenCV in Pod?
from swiftopenpose.
yes, I think so. I created Podfile for BoneDetecter as following:
platform :ios, '11.0'
target 'BoneDetecter' do
use_frameworks!
# Pods for BoneDetecter
pod 'Upsurge', '~> 0.10.2'
pod 'IteratorTools', '~> 1.1.0'
pod 'OpenCV', '~> 3.4.1'
end
In case any other unexpected error, I rebuild the BoneDetecter project from scratch.
step 1: git clone. Create Podfile(shown above) on root dir, and "pod install"
step 2: copy "MobileOpenPose.mlmodel" from /SwiftOpenPose/Resources to /BoneDetecter
step 3: open the BoneDetecter.xcworkspace through Xcode, delete the red library, since they are included in the Pod. And then build it succeed and Profile it.
The previous issue is still exist. Profile "Core Animation" result, there is an error"mach_msg_trap". It seems like stuck on the step that processing(0%) with black background after I choose a video from local Albums.
I am stuck this point for a couple of days, please help!
Thanks!
from swiftopenpose.
Hi.
Some cooperation is necessary to identify the problem.
- Please tell me the device you are using.
- Will the problem occur even if I change to another movie?
- Please tell me the extension of the video you evaluated.
- The library used for BoneDetector has not been updated for a while.
Does the same problem occur in "Stickman Animator" of iTuensStore?
https://itunes.apple.com/jp/app/stickman-animator/id1337589939?mt=8
from swiftopenpose.
Sure.
- I use iPhone 6s, iOS 11.4 version.
- Yes, I had tried different video, whether take fresh video or pick local video, this issue occur always.
- The extension of the sample video is .MOV. It is a 10 seconds video with 720p at 30 fps.
- No, the Stickman Animator works fine. The problem just occurred when I Profile the example project "BoneDetecter". For the SwiftOpenPose project, it also works perfect. That makes me confused.
Thanks!
from swiftopenpose.
I am late.
Phenomena could be reproduced with iPhone 6s.
I fixed it, so please try it.
Thank you!
from swiftopenpose.
from swiftopenpose.
Related Issues (15)
- How to generate the mobilenet.mlmodel file? HOT 2
- Question : FPS rate HOT 10
- A code question about the Matrix operation in Common.swift HOT 2
- The scale of coordinates in SwiftOpenPose
- BoneDetecter did compile and run, but the generated output same as the input HOT 1
- What Parts of the Body Correspond to the Model Output HOT 2
- Is there any way to get a toe keypoint?
- What is the bin file in 'Resources' directory? HOT 2
- How to download the original caffe keras model which MobileOpenPose.mlmodel converted from? HOT 1
- How can i run this source code with XCode?
- How can i run this project with XCode? HOT 4
- How to integrate camera with this project HOT 1
- BoneDetecter did not work. Compile error. HOT 2
- how to support the hand model HOT 1
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 swiftopenpose.