Comments (7)
The reason is because github screwed up the asset, you can see this when you try to open the ml file in notepad. To fix this you have to download the raw ml file from it's location in the repo and I'm not sure if it also ruined the opencv framework but you can download that too here: https://opencv.org/releases/
There was one issue with this line:
p1 = (p1 / outputSize) * ((double)imageWidth);
so I just replaced it with:
p1 = Point3d(p1.x / outputSize * (double)imageWidth, p1.y / outputSize * (double)imageWidth, p1.z / outputSize * (double)imageWidth);
from carposedemo.
same.
from carposedemo.
I was able to freshly clone the repo from github, build, and run. This is the setup I used:
- cloned from: [email protected]:laanlabs/CarPoseDemo.git
- built with Xcode 11.3.1
- onto an iPhone 6S running iOS 13.3
I suspect if might be an issue related to LFS. Could you confirm which version of git lfs you have installed?
from carposedemo.
Edit: @leestuartx's workaround for downloading the raw CarPoseModel.mlmodel got me past the issue! 😄
Build still fails with the same error as above when I currently have:
- git-lfs 2.10.0
- CarPoseModel.mlmodel sitting at a fat
132 bytes
- Xcode 11.3.1
- iPhone 11 (simulator, just to test things out)
- Mac OS X 10.15.2
from carposedemo.
@sorianog which git client are you using?
Also: the app was built to only work on a device (since it relies on a live camera feed).
from carposedemo.
@willperkins Vanilla git through terminal. Also, I do plan on pushing to an actual device once I can get a successful build. If I can get it to install on the simulator that's progress. I expect it to crash after launch due to the requirements of the camera (nature of AR apps on sims).
from carposedemo.
running git lfs init
solved the problem
from carposedemo.
Related Issues (2)
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 carposedemo.