summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceTrackNoIR.cpp
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-03-10 20:40:13 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-03-10 20:40:13 +0000
commit09b4c95b8036b9466ca89acbe0b1f3d810499863 (patch)
treee6b99fe5420181331e70c14277a6af93f084f1c5 /FaceTrackNoIR/FaceTrackNoIR.cpp
parent7dc20f380c80b1b0597e619e66d23921f0309aa0 (diff)
faceAPI inside DLL works; no video-display yet...
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@53 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FaceTrackNoIR.cpp')
-rw-r--r--FaceTrackNoIR/FaceTrackNoIR.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.cpp b/FaceTrackNoIR/FaceTrackNoIR.cpp
index d8184fff..2acf8ec0 100644
--- a/FaceTrackNoIR/FaceTrackNoIR.cpp
+++ b/FaceTrackNoIR/FaceTrackNoIR.cpp
@@ -491,12 +491,12 @@ void FaceTrackNoIR::startTracker( ) {
tracker = new Tracker ( ui.iconcomboBox->currentIndex(), ui.iconcomboTrackerSource->currentIndex() );
// Show the video widget
- ui.video_frame->show();
- _display = new VideoDisplayWidget( tracker->getEngine(), ui.video_frame, 0 );
- l = new QVBoxLayout(ui.video_frame);
- l->setMargin(0);
- l->setSpacing(0);
- l->addWidget(_display);
+ //ui.video_frame->show();
+ //_display = new VideoDisplayWidget( tracker->getEngine(), ui.video_frame, 0 );
+ //l = new QVBoxLayout(ui.video_frame);
+ //l->setMargin(0);
+ //l->setSpacing(0);
+ //l->addWidget(_display);
//
// Setup the Tracker and send the settings.
@@ -743,7 +743,7 @@ QLibrary *trackerLib;
{
switch (ui.iconcomboTrackerSource->currentIndex()) {
case FT_SM_FACEAPI: // Face API
- _engine_controls = new EngineControls( tracker->getEngine(), true, false, this, Qt::Dialog );
+// _engine_controls = new EngineControls( tracker->getEngine(), true, false, this, Qt::Dialog );
break;
case FT_FTNOIR: // FTNoir server
qDebug() << "FaceTrackNoIR::showEngineControls case FT_FTNOIR.";