Giter Site home page Giter Site logo

build instructions for macOS about opentrack HOT 5 OPEN

matatata avatar matatata commented on June 15, 2024
build instructions for macOS

from opentrack.

Comments (5)

matatata avatar matatata commented on June 15, 2024

I'll first try messing around with the linux build instructions (https://github.com/opentrack/opentrack/wiki/Building-on-Linux). I did not know about ccmake and I'm currently trying to get the modules that rely on opencv to build

from opentrack.

matatata avatar matatata commented on June 15, 2024

OK that helped. The linux instructions helped a lot. Setting the OpenCV-Dir is crucial. Now I have a PointTracker! This is how it worked for me:

Install macports https://www.macports.org/

export PATH=$PATH:/opt/local/bin:/opt/local/libexec/qt5/bin
export OTR_OSX_ARCH=arm64 # build arm64 . For intel set to x86_64 or remove
sudo port selfupdate
sudo port install qt5 cmake ImageMagick create-dmg opencv4
git clone --recurse-submodules https://github.com/opentrack/opentrack.git
cd opentrack

export OpenCV_DIR=/opt/local/libexec/opencv4/cmake
cmake -S . -B build --toolchain cmake/apple.cmake
cd build
make install

from opentrack.

matatata avatar matatata commented on June 15, 2024

I finally managed to make a build that even includes the neuralnet-tracker. See https://matatata.github.io/MacOpentrack.html

It is great to be able to track using a regular webcam on macOS too!

from opentrack.

batur avatar batur commented on June 15, 2024

Hey, are there any updates about installation, especially without the Macports?

from opentrack.

matatata avatar matatata commented on June 15, 2024

Hey, are there any updates about installation, especially without the Macports?

If you just want to use opentrack on macOS without compiling it yourself you could simply download the unsigned binaries I did build: https://github.com/matatata/opentrack/releases

I needed macports only for building the app from source code. homebrew did not work for me.

Note that the macOS builds I did don't come with the same amount of plugins/features as the windows version.

from opentrack.

Related Issues (20)

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.