Code Monkey home page Code Monkey logo

Comments (6)

gaoyongwyl avatar gaoyongwyl commented on June 23, 2024

don't use --check. it'll run very slowly.
and you need an usb camera to run the program.

At 2013-07-25 12:29:14,"Gavin Hackeling" [email protected] wrote:

Hi all,
I've built and installed OpenCV 2.3.1, and I modified my FaceTracker Makefile per #3 as I am on Linux Mint 14. FaceTracker builds without issue, but nothing happens when I execute ./face_tracker:

gavin@gavin-X1C ~/dev/FaceTracker/bin $ ./face_tracker --m ../model/face2.tracker -c ../model/face.con -t ../model/face.tri -s 1 -d -1
gavin@gavin-X1C ~/dev/FaceTracker/bin $ ./face_tracker --help
track_face:- Written by Jason Saragih 2010
Performs automatic face tracking

usage: ./face_tracker [options]

Arguments:
-m -> Tracker model (default: ../model/face2.tracker)
-c -> Connectivity (default: ../model/face.con)
-t -> Triangulation (default: ../model/face.tri)
-s -> Image scaling (default: 1)
-d -> Frames/detections (default: -1)
--check -> Check for failure
gavin@gavin-X1C ~/dev/FaceTracker/bin $ ./face_tracker --check
gavin@gavin-X1C ~/dev/FaceTracker/bin $

Any ideas would be appreciated.

¡ª
Reply to this email directly or view it on GitHub.

from facetracker.

gavinmh avatar gavinmh commented on June 23, 2024

Thanks. I have a Microsoft Lifecam VX2000 plugged in that works with cheese, though lsusb lists it as Microsoft Corp. rather than by a more specific name. Still, nothing happens when I execute facetracker.

from facetracker.

gavinmh avatar gavinmh commented on June 23, 2024

I switched to a Logitech C310, which is correctly identified in lsusb, and works with cheese, but still nothing happens when I execute ./face_tracker.

from facetracker.

gaoyongwyl avatar gaoyongwyl commented on June 23, 2024

run in debug mode and trace the code line by line is best choice to find what's wrong.
usualy the reason is model files cannot be found. you can hard coded the path of model files and try again.

pay attention to these lines (the default path is relative to current work dir!!!):
FACETRACKER::Tracker model(ftFile);
cv::Mat tri=FACETRACKER::IO::LoadTri(triFile);
cv::Mat con=FACETRACKER::IO::LoadCon(conFile); //connection

At 2013-07-27 06:39:25,"Gavin Hackeling" [email protected] wrote:

I switched to a Logitech C310, which is correctly identified in lsusb, and works with cheese, but still nothing happens when I execute ./face_tracker.

¡ª
Reply to this email directly or view it on GitHub.

from facetracker.

kylemcdonald avatar kylemcdonald commented on June 23, 2024

hey @gaoyongwyl i just wanted to say thank you very much for helping out on this issue! it's hugely appreciated!

from facetracker.

gavinmh avatar gavinmh commented on June 23, 2024

Got it now, thank you.

from facetracker.

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.