Giter Site home page Giter Site logo

visual-control's People

Contributors

toefel18 avatar

Watchers

 avatar

visual-control's Issues

Memory Leak

When training the eigenface recognizer multiple times resources will not be 
freed.
1. train the eigenface recognizer
2. add training images
3. train the same eigenface recognizer again, by calling train on it

It is expected to work, but previously allocated resources are not freed. This 
issue might be fixed by migrating to the C++ interface for PCA, or rewriting 
the free memory method.

Original issue reported on code.google.com by toefel18 on 3 Feb 2011 at 11:51

After closing the program, 1 thread remains running. (most likely the main thread)

What steps will reproduce the problem?
1. Run the program in debug mode
2. Close the program, and the debugger will stay active

The program runs 7 threads: 1 main thread, 2 boost::threads and 4 opencv 
threads. When the program stops look at the ID's of the threads and you will 
see that only the main thread hasn't exited.


Please use labels and text to provide additional information.


Original issue reported on code.google.com by toefel18 on 7 Dec 2010 at 8:18

Link errors come when you rebuild the project

What steps will reproduce the problem?
1. download and extract the visual control zip file
2. add/remove the required c++ files in the solution (matching to the physical 
file structure)
3. Setup all include and lib paths
4. Just BUILD, then it works
5. Now just REBUILD

What is the expected output? What do you see instead?
It should be possible to run without any errors
But now it gives me lot of link errors

1>------ Rebuild All started: Project: visual-control, Configuration: Debug 
Win32 ------
1>Deleting intermediate and output files for project 'visual-control', 
configuration 'Debug|Win32'
1>Moc'ing webcamwidget.h...
1>Moc'ing visualcontrol.h...
1>Rcc'ing visualcontrol.qrc...
1>RCC: Warning: No resources in 
'd:\visual-control\visual-control\visualcontrol.qrc'.
1>Compiling...
1>facedetector.cpp
1>detailedfacedetector.cpp
1>eigenfacerecognizer.cpp
1>trainerimage.cpp
1>framecapture.cpp
1>detector.cpp
1>moc_webcamwidget.cpp
1>moc_visualcontrol.cpp
1>qrc_visualcontrol.cpp
1>webcamwidget.cpp
1>visualcontrol.cpp
1>main.cpp
1>logger.cpp
1>Generating Code...
1>Linking...
1>main.obj : error LNK2019: unresolved external symbol "public: virtual 
__thiscall gui::VisualControl::~VisualControl(void)" 
(??1VisualControl@gui@@UAE@XZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall 
gui::VisualControl::VisualControl(class QWidget *,class QFlags<enum 
Qt::WindowType>)" 
(??0VisualControl@gui@@QAE@PAVQWidget@@V?$QFlags@W4WindowType@Qt@@@@@Z) 
referenced in function _main
1>visualcontrol.obj : error LNK2001: unresolved external symbol "public: 
virtual struct QMetaObject const * __thiscall 
VisualControl::metaObject(void)const " 
(?metaObject@VisualControl@@UBEPBUQMetaObject@@XZ)
1>visualcontrol.obj : error LNK2001: unresolved external symbol "public: 
virtual void * __thiscall VisualControl::qt_metacast(char const *)" 
(?qt_metacast@VisualControl@@UAEPAXPBD@Z)
1>visualcontrol.obj : error LNK2001: unresolved external symbol "public: 
virtual int __thiscall VisualControl::qt_metacall(enum 
QMetaObject::Call,int,void * *)" 
(?qt_metacall@VisualControl@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
1>webcamwidget.obj : error LNK2001: unresolved external symbol "public: virtual 
struct QMetaObject const * __thiscall WebcamWidget::metaObject(void)const " 
(?metaObject@WebcamWidget@@UBEPBUQMetaObject@@XZ)
1>webcamwidget.obj : error LNK2001: unresolved external symbol "public: virtual 
void * __thiscall WebcamWidget::qt_metacast(char const *)" 
(?qt_metacast@WebcamWidget@@UAEPAXPBD@Z)
1>webcamwidget.obj : error LNK2001: unresolved external symbol "public: virtual 
int __thiscall WebcamWidget::qt_metacall(enum QMetaObject::Call,int,void * *)" 
(?qt_metacall@WebcamWidget@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
1>moc_visualcontrol.obj : error LNK2019: unresolved external symbol "public: 
void __thiscall gui::VisualControl::recognizeFaces(void)" 
(?recognizeFaces@VisualControl@gui@@QAEXXZ) referenced in function "private: 
static void __cdecl gui::VisualControl::qt_static_metacall(class QObject *,enum 
QMetaObject::Call,int,void * *)" 
(?qt_static_metacall@VisualControl@gui@@CAXPAVQObject@@W4Call@QMetaObject@@HPAPA
X@Z)
1>moc_visualcontrol.obj : error LNK2019: unresolved external symbol "public: 
void __thiscall gui::VisualControl::trainRecognizer(void)" 
(?trainRecognizer@VisualControl@gui@@QAEXXZ) referenced in function "private: 
static void __cdecl gui::VisualControl::qt_static_metacall(class QObject *,enum 
QMetaObject::Call,int,void * *)" 
(?qt_static_metacall@VisualControl@gui@@CAXPAVQObject@@W4Call@QMetaObject@@HPAPA
X@Z)
1>moc_visualcontrol.obj : error LNK2019: unresolved external symbol "public: 
void __thiscall gui::VisualControl::captureTrainingImage(void)" 
(?captureTrainingImage@VisualControl@gui@@QAEXXZ) referenced in function 
"private: static void __cdecl gui::VisualControl::qt_static_metacall(class 
QObject *,enum QMetaObject::Call,int,void * *)" 
(?qt_static_metacall@VisualControl@gui@@CAXPAVQObject@@W4Call@QMetaObject@@HPAPA
X@Z)
1>D:\visual-control\visual-control\Debug\visual-control.exe : fatal error 
LNK1120: 11 unresolved externals
1>Build log was saved at 
"file://d:\visual-control\visual-control\Debug\BuildLog.htm"
1>visual-control - 12 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



What version of the product are you using? On what operating system?
Latest
Windows 7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Jun 2012 at 5:27

"The recognizer has indicated that it did not train correctly"

What steps will reproduce the problem?
1. download and extract the visual control zip file
2. capture faces and store them as training images
3. press "Train Recognizer" and recieve "The recognizer has indicated that it 
did not train correctly" error pop-up message



Original issue reported on code.google.com by [email protected] on 6 Jan 2014 at 5:08

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.