Giter Club home page Giter Club logo

Comments (3)

abdur75648 avatar abdur75648 commented on August 16, 2024 2

Hey @ismeyueyue ,

I encountered the same issue when running OpenFace without a GUI. The application requires a display for its operations.

One effective solution is to use X11 forwarding. This approach works well, especially in scenarios involving Docker containers that need a DISPLAY. If you're on a Mac, you can follow this guide for setting up X11 forwarding.

Additionally, you might consider using FaceLandmarkVidMulti instead of FaceLandmarkVid. The former doesn't require a display and should work fine for your needs.

Hope this helps!

from openface.

brmarkus avatar brmarkus commented on August 16, 2024 1

The mentioned sample has a GUI, using OpenCV to display images/frames.
Have you tried using the sample `FeatureExtraction´ instead?
You could disable all the visualizations via command line arguments:

-vis-track visualise the tracked face
-vis-hog visualise the HOG features
-vis-align visualise similarity aligned faces
-vis-aus visualise Action Units

(all from "https://github.com/TadasBaltrusaitis/OpenFace/wiki/Command-line-arguments")

But I haven't tried it just now...

from openface.

ismeyueyue avatar ismeyueyue commented on August 16, 2024

thanks for you replay!
The FeatureExtraction commond is work for me, which has save the detect .csv result.

The arguments like -vis-track is just turn on the visualise the tracked face, and no relevant way to turn off these visualizations...

The mentioned sample has a GUI, using OpenCV to display images/frames. Have you tried using the sample `FeatureExtraction´ instead? You could disable all the visualizations via command line arguments:

-vis-track visualise the tracked face
-vis-hog visualise the HOG features
-vis-align visualise similarity aligned faces
-vis-aus visualise Action Units

(all from "https://github.com/TadasBaltrusaitis/OpenFace/wiki/Command-line-arguments")

But I haven't tried it just now...

from openface.

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.