Giter Site home page Giter Site logo

Can't build project about carposedemo HOT 7 CLOSED

laanlabs avatar laanlabs commented on May 28, 2024
Can't build project

from carposedemo.

Comments (7)

leestuartx avatar leestuartx commented on May 28, 2024 1

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.

gofortiss avatar gofortiss commented on May 28, 2024

same.

from carposedemo.

willperkins avatar willperkins commented on May 28, 2024

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.

sorianog avatar sorianog commented on May 28, 2024

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.

willperkins avatar willperkins commented on May 28, 2024

@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.

sorianog avatar sorianog commented on May 28, 2024

@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.

willperkins avatar willperkins commented on May 28, 2024

running git lfs init solved the problem

from carposedemo.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.